aws-kinesis-agent配置

[root@ip-172-31-9-206 logstash]# cat /etc/aws-kinesis/agent.json 
{
  "cloudwatch.emitMetrics": true, 
  "kinesis.endpoint": "kinesis.cn-north-1.amazonaws.com.cn",
  "awsAccessKeyId": "AKIAWCMALMLYV5BJADJS",
  "awsSecretAccessKey": "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" ,
  "flows": [
    {
      "filePattern": "/var/log/nginx/access.log",
      "kinesisStream": "deeplink",
      "partitionKeyOption": "RANDOM"
    }
  ]
}
文档更新时间: 2019-07-09 10:56   作者:月影鹏鹏