1./ With logstash jdbc plugin, I got postgresql db pipeline to Elasticsearch, but I noticed the index size in elasticsearch doubled every time I restart logstash, and kibana showed doubled data counts as well, why? and how to deal with this issue?
2./ As I had none time based data from postgresql, the logstash process pushes the data only once, and "stopping pipline" automatically after about 10 minutes and jps showed the process of logstash dead, what's wrong it could be? and how to keep logstash from keeping dying? PS: I noticed from the log which showed 4.xxxxs "select * from test".