How to get a record from ElasticSearch in the logstash filter?

How to get a record by _id (or other fields) from ElasticSearch in a logstash filter stage?

I know the Elasticsearch provides the Get API like: curl -XHEAD -i 'http://localhost:9200/twitter/tweet/1' to get a record from ElasticSearch(ES) , but I don't know how to get the same record from logstash filter.

Can anyone help? Thanks in advance.

Have you looked at the elasticsearch filter?

it works ,thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.