Getting the same values multiple times while integrating Mysql with Logstash

You should expect duplicate data when you do this. When clean_run is set to true the saved tracking value is not used, plus your query does not reference the tracking value at all. This will fetch the entire table every time.