Hello,
I have a filebeat that uses a module with a ingest pipeline, since I still need to make some transformations I'm trying to use another ingest pipeline with the setting index.final_pipeline
in the index settings.
I've created the pipeline, changed the index setting, but I still do not see the field I'm adding.
I'm using the following ingest pipeline:
PUT _ingest/pipeline/pipeline-name
{
"description": "create user.name",
"processors": [
{
"rename": {
"field": "data.win.eventdata.targetUserName",
"target_field": "user.name"
}
}
]
}
This works without any problem when I simulate.
In the index settings I have:
"index.final_pipeline" : "pipeline-name",
Since this is a dynamic setting, it should work as soon as it was applied, but for some reason it is not working.
What am I missing? Is it possible to use the pipeline from a module and a final_pipeline? From the documentation I'm assuming that this is supported as the final_pipeline would run after everything.
Normally I would use logstash, but in this case I have a couple of beats sending directly to elasticsearch.
edit: I'm on version 7.12.