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 Antwort
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
SUPPORT-TECHNIKER
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen