I have two questions about ingest pipelines on Fleet.
I want to enrich a field in an existent integration (IIS)
I know its not recommended to directly edit ingest pipelines on the integrations but the advanced settings only allows me to interact with the data before the pipeline is applied, I would have to generate the field from the message twice, I prefer to just edit the index pipeline to add my processors. Is there a way to use the advanced settings after the pipeline? that way I can use the extracted field.
How can I apply this change in the pipeline to my current Fleet logs without having to manually applying a reindex operation?
There's kind of a tricky way to do what I think you might want to do.
If what you want to add to the ingest pipeline can be run at the end in other words it's additive to the existing pipeline you can actually define the template with a setting called final_pipeline and that pipeline will always be called on your index after the module pipeline but before before the document is indexed
Apologies ... at this time it looks like the only option is to actually edit the IIS Pipeline, I do not see a direct way to override the pipeline in the new IIS Agent settings... Hmmm
If you have already ingested logs there is no easy way to just add those fields back to existing documents without a reindex.
Thanks again @stephenb I'm figuring out how to do this. Should I run a "update_by_query" with match_all: {} against the datastream using the new pipeline?
Or it is a better option to wipe and ingest everything again? Related to that my question is how can I do that because I tried deleting the integration and then the related datastream but after some seconds the datastream appears again. I tried this with the nginx integration.
This one specifically [metrics-nginx.stubstatus-default] I removed the integration, uninstalled the assets, I delete it and appears again.
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.