When I execute this python script on commandline, as it does some processing - so there is a delay before the output is printed onto the console.
However, whatever is the output doesnt make it to the pipeline.
Also, before the processin, whateever I output to the console, that gets captured in the pipeline.
Is there like a timeout thingie that pipeline waits for before disconnecting from script output?
Ok so here is a little something I tried.
I introduced a delay in my script. So now it is something like ...
print 'hello1'
sleep (10)
print 'hello2'
What I noticed in logstash - the pipeline waited until 10 seconds and then received both hello1 and hello2 events.
so it doesnt look like delay is an issue here.
Let me look up my script.
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.