Hi,
I set up the following pipeline in ES 5.0.
PUT _ingest/pipeline/ngb
{
"description" : "NGB PIPELINE",
"processors" : [
{"set" : {"field": "_index","value": "ngb"}},
{"grok": {"field": "message",
"patterns": [""]
}}
]
}
In filebeat I have the following config:
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["ipAddr:9200"]
pipeline: ngb
Events are being forwarded to ES but the key="value" pair's of the event are not ingested according to the index ngb data mapping.
This is not the case when logstash is used. Events are parsed and ingest according to the index ngb data mapping.
For reference this is the logstash.conf:
output {
elasticsearch {
hosts => [ "10.146.84.65:9200" ]
index => ["ngb"]
# "fielddata" : { "format" : "disabled" }
}
The question is:
In the ingest pipeline processor do I have to explicitly define the pattern?
Thanks,
Lp