my service writes to stdin every some seconds.
If I stop service, thus stdin is closed, but filebeat process still works.
I hope when stopping my service, filebeat stops its process also.
How can I do that? many thanks.
filebeat's once flag don't work. because I have many EOFs when my service running.
I have tried once flag.
but EOF is different from stdin has been closed.
If my service will output many EOFs, then old filebeat process will be stopped, new process starts over and over when
my service is still on.
what I hope is as follows:
when my service is stopped, stdin is closed, filebeat will be closed then.
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.