Elasticsearch

ElasticSearch

This filter writes on ElasticSearch all the message it receives as input and return as output the document ID.
You can also specify what message’s field it should use as input.

Parameters

ParameterTypeDefaultDescription
targetSTRING“main”the field of the Message that should be used for filter’s output (it could be main or an extra field)
... | elasticsearch(target="input_field") | ...

Output

The main field will contain the docID returned by ElasticSearch.

Examples