Logstash Eleasticsearch Input Plugin for streaming data

Hi everyone,

I would like to know if we can use logstash-elasticsearch-input plugin for streaming data , ex: if I have data available in my database and I run ElasticSearch input plugin , it will index the data into an output, but if after some time more data comes of ElasticSearch database , Is ElasticSearch input plugin is able to index that data without restarting the logstash ?

Thank you for your attention and your help.

is the parameter 'periodic_flush' dedicated for that purpose ?