How can I run a logstash config ingesting a csv or xml or file so that it is not continually running? The logstash config file can keep running until it is manually shut down, however, how can I have it run once so that another logstash config file can run?
No. Not unless you use the "read" functionality of the file input with the "log_and_delete" option or the "delete" option and then have another script running that starts logstash if it find a new file in the folder and then stops logstash when there are no more files (after logstash deletes it).
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.