End of the day I need to get a search result like A1, A2, A3,B1,B2,B3. This would have been easily done using normal DBs. But with ES it seems to be impossible. Hence I have been advised to create a single index with the 3 CSVs
Can this be done using logstash? if so how? If not what are my options?
How is that going to solve your problem of getting a output schema like you want A1,A2,A3,B1,B2,B3?
One alternate way to try this is to follow the below steps:
Step 1: Index 3 CSVs each into an index of its own using Logstash. Lets call them index 1 (A1,A2,A3) , index 2 (A1,B1) and index 3 (B1, B2, B3).
Step 2: Reingest the docs in index 1 in a new Logstash pipeline by using the Elasticsearch input plugin and in the filter section of that pipeline use two consecutive Elasticsearch filter plugins to find the matching docs in index 2 and index 3 and pull the fields you want using the fields parameter.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.