Hi All,
I am trying to index data into different indices in kubernetes integration, based on the container logs,
output.elasticsearch:
indices:
- index: "test-analytics-%{+yyyy.MM}"
when.contains:
kubernetes.container.name: "keyahead-api"
- index: "test-llm-api-logs-%{[kubernetes.container.name]}-%{+yyyy.MM}"
when.equals:
kubernetes.container.name: "llminsights-api"
by adding the above settings in the custom configuration in Kubernetes integration similar to the filebeat settings on elastic-agent policy but its not creating a different indices as expected. So please help me to solve this how I can index into different indices on elastic agent configuration.
With Regards,
Abhishek M