Logstash jdbc query issue

I got it to work, but after every query, your results get dupped. Its not worth it.