There is any way to fetch only update data from mysql to elasticsearch. I am using sql_last_value...but it will fetch only new row which comes in mysql....
Any way if I did change any previous index row in mysql...logstash fetch it and while indexing update its' version from 1 to 2.
If there's a "last modified" column in the table you can use that to determine which rows need to be updated in ES, but apart from fetching all rows all the time there's nothing much you can do.
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.