Indexing flat XML files in elasticsearch

I am working on a specific project where external data provided by external providers needs to be indexed in our ElasticSearch Engine.

The data is provided as flat XML files.

The idea here is that the script reads something from each file, parses it, and runs as many HTTP POSTs as possible for each one.

Is there an easier way to do this? something like loading an XML file that gets indexed automatically without any script?

+3


source to share


1 answer


You can use logstash with xml filter for this. Does a little setup work the first time, but this is the easiest way to do it.



+4


source







All Articles