I have learned how to do some data conversion with logstash. Eventually, I would like to piggyback tasks on to an existing logstash service, but for now I would like to run logstash on a configuration and exit when complete.
At the moment, I just use ^c to exit logstash when I am done.
OH hey, are there any signals I can send a logstash service to do things like reload configurations, reset file pointers, etc?
I have learned how to do some data conversion with logstash. Eventually, I would like to piggyback tasks on to an existing logstash service, but for now I would like to run logstash on a configuration and exit when complete.
Logstash's file input is geared towards continuous monitoring of input files of unknown length so it doesn't know when it's done.
OH hey, are there any signals I can send a logstash service to do things like reload configurations, reset file pointers, etc?
You can configure it to automatically reload its configuration when it changes but I don't think SIGHUP etc work.
Not sure exactly what you mean by resetting file pointers but the answer is no.
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.