简体   繁体   中英

Sending Logs to AWS ElasticSearch

I am trying to send logs from the below services to CloudWatch Log group and then further stream it to ElasticSearch service. I am stuck in the log format that needs to be provided.

For sending Config logs, I chose JSON Log format and have given the filter pattern as "{ ("source" => "aws.config") }" but I am getting the attached error.

Could somebody help with the log patterns please.

Services that I am targeting to stream to ES are: S3, EFS, KMS, CloudTrail, CloudWatch, VPC,VPN, ROUTE53, KINESIS, CONFIG, COGNITO, SNS, ELASTICSEARCH, STS

Thanks in advance.

在此处输入图像描述

The subscription filter pattern for where the source is is aws.config is { $.source = "aws.config" } .

You can find out more about filter patterns from the AWS Documentation .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM