I had a question in regards to the nginx integration of elastic agent.
We are using a custom format for nginx logs that has some additional metrics, so the grok in default ingest policy that comes with nginx integration doesn't work.
I have built a custom ingest pipeline with custom grok that works, but I'm unable to figure out how to apply it.
If you check the image, there is the default logs-nginx.access-1.17.0 and custom ingest pipeline i.e. logs-nginx.access@custom that I made.
Since the default ingest pipeline cannot be removed and editing it is discouraged, my log parsing fails since it first goes through the default ingest pipeline which doesn't have the required grok.
Does anyone know how to handle this scenario? Can I make it go directly to my custom ingest pipeline instead of the default one?
Preserve original event as highlighted in your screenshot
Pro : I can update nginx integration without any worries.
Con : Compute would be double for each entry, as my log would go through 2 ingest pipelines.
Edit managed default ingest pipeline of Nginx integration
Pro : Compute would happen only once.
Con : After each update, I would need to modify the grok to match my custom log format.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.