I have following use case:
I want to create one index for each kubernetes namespace (and its own lifecycle policy) and I want to use the ILM. As far as I understand I have two approaches:
- I have one pipeline config file, lets say
kubernetes-logs.confin which I have an output consisting of if else statements and the respective index settings for the namespace logs such as rollover_alias, ilm_pattern.
- I have different pipeline config files, one per namespace. And I use pipeline-to-pipeline communication to redirect the traffic to different pipelines inside the
Do you have any hints which approach is better in terms of ressource consumption?