I'm using ELK in order to ingest, store and visualize data, no fancy things..
Everything is working fine but each time I have new data to ingest I have to execute manually the command /opt/logstash/bin/logstash -f mypipeline.conf
I was wondering how to automate this last step in order to ingest the data in elastisearch each time new data arrive in the inut folder defined in my pipeline conf file?
What type of input plugin are you using for logstash?
If I'm reading this correctly, you are probably using the file input plugin:
It should be able to handle new incoming data automatically, so no need to restart logstash, just leave it running on its own and check for new data IIRC.
As an aside - you might have better luck getting an answer when asking in the logstash forum.
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.