[root@ip-172-31-9-206 logstash]# cat /etc/td-agent/td-agent.conf
<match deeplink.kinesis.* >
  @type kinesis_streams
  region cn-north-1
  stream_name deeplink

  aws_key_id        AKIAWCMALMLYV5BJADJS
  aws_sec_key       Ucc1rWb2nK1JSZbxQyVu0v6zUDPpECrLDO00OzZN

</match>


<source>
  @type tail
   format json
   path /var/log/nginx/access.log
   tag deeplink.kinesis.access

</source>
文档更新时间: 2019-07-09 10:56   作者:月影鹏鹏