resmoio / kubernetes-event-exporter

Export Kubernetes events to multiple destinations with routing and filtering
Apache License 2.0
753 stars 149 forks source link

How to set retention period in kubernetes period exporter #157

Open Lokeshmaxi opened 7 months ago

Lokeshmaxi commented 7 months ago

How to set retention period in kubernetes event exporter , i need to store event logs for 7days , is there any way to configure retention period ?

dmichel1 commented 6 months ago

Check out the readme.

You can setup log "sinks" to send the kube events to external logging systems like elasticsearch or to stdout.

LHozzan commented 4 months ago

Hi there.

KubeEventExporter is only collector, not manager for collected data in DB backend.

If you share you setup, we can help more.

We using OpenSearch, so, we storing the data in the indices like kube-events-2024.04.22. We have set ISM policy to take care about the retention of the indices.

I have plan to expand Niki's helm chart with the component in the future.