Indexing and Parsing XML Files with ElasticSearch

I need to index multiple XML files in multiple directories in ElasticSearch and parse them in JSON format, possibly adding some tags. Is it possible to do this with ElastichSearch and Logstash, and if so how can I do it?
Thank!

+3


source to share


1 answer


It is possible. Point logstash to your XML files and use tags to tag different files differently to determine how they will be handled by Logstash along the way. Inside Logstash, you can set up filters to add tags and other fields, and in the logstash output part, you can specify which files will be added to that index inside elasticsearch



+2


source







All Articles