I successfuly succeeded runing my first "test" in Logstash (or maybe I didn't .. this is my question).
I tried to read an XML file from a directory, and output the result to a different file (the code is at the end).
My questions are:
(1) Where I need to see the results? (Does when I'm running Logstash, I need to see the output file? or I need to do another thing in order to run it?)
(2) Can I run it in debug mode, so I can see if I really succeeded or not.
I installed ES, Kibana and Logstash on a Windows 2016 server.
I installed all Input, Output filters as long as the codec filters.
I have on my machine also X-Pack
I ment to ask, what is the triger that fires the action?
Is it the presense of file(s) in the 'IN' directory or is it something else.
Yes. The filename pattern in your file input will be scanned every 15 seconds or so and any new files will get picked up. However, your current configuration will not read files from the beginning so it's probably not very useful. Have a look at the start_position option.
Can you kindly refer me to Logstash log configuration?
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.