Hi,
I am generating csv files using logstash output csv plugin.I wanted to know if I can write SQL query as input to output csv plugin to generate csv files?I want to query the ES index and fetch the results and store in csv files using logstash.Is it possible?
You can may be use the jdbc input plugin with an elasticsearch jdbc driver (which requires a commercial license).
Or use the elasticsearch input plugin in which case you can't use sql but the query dsl.
Hi...Thanks for the response.I am currently using query DSL.But I want to query on top of the index using SQL like query.I will look for getting JDBC client driver but how do I supply the SQL query?Can you please share an example of how my conf file should look like?
Hi David,
Yes I will.Thanks again for the response.Can you please let me know an example for what conf file chmages that I need to make to execute the SQL query on top of the ES index
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.