CW Log Shipping to Self Hosted Elasticsearch on EKS

0

Hi.

We want to ship events matching an EventBridge rule in cloudwatch logs to our own self-hosted Elasticsearch. Using a Lambda to ship the logs would be a secondary option.

Is there any native way to ship these events?

Regards, Smruti

1 回答
0

EventBridge is used for events that indicate a change in your resources, for example - Describe*, Put*, Get* actions etc. And, for your use case 'Subscription filter' is an appropriate solution which is native to CloudWatch Logs. Using Subscription filter, which monitors for a particular pattern you mention - for any newly ingested events, you can set a destination (like a target in EventBridge) where these filtered out events are sent.

Please keep in mind that these filters don't work retroactively, and are meant for only the log events ingested once after the filter is created.

Read about subscription filters.

profile pictureAWS
支持工程师
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则