I am using Logstash to process some files using the File input plugin. The data consists of some some Key Value pairs and I am exporting that into the ElasticSearch. All works fine so far.
Now my requirement is that I need to enrich this data based on 3 different external systems which can be queried using REST APIs.
Can it be done in ElasticSearch by making 3 different REST calls and by merging the response with the original document or is there a way to achieve this using Logstash, before pumping the data into ElasticSearch ?
Speed is not an issue as a delay of a few minutes is acceptable for this.
Any suggestions on how this can be achieved ?
Thanks in advance.