Metricbeat autodiscover configuration to create a new index when a new namespace is created

I want to crate a new elasticsearch index whenenver a new kubernetes namespace is created. How do I specify this in metricbeat configuration ? For every new namespace created, I need to add some config and also create a new elasticsearch index. I have read the auto-discover configuration, but not able to figure out how to do this. Appreciate your help.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.