I just started with logstash. I am tune with the config fie.
I wonder if I must run following everytime with any change? It takes a long time to start.
Any grammar checker or a quick way to test what the config file going to do?
Yes logstash start is so slow I use reload automatic parameter see below
this will start logstash and you can update any parameter it will reload it automatically
in case there is an err it keeps printing the err message on default output (terminal) as soon as you fix it
my best practice working with logstash is to run it this way w automatic reload having output to screen
and I randomly put line by line to the tail of this file and check the desired output
I was curious of are others best practices to dev with logstash?
Hello,
1.Make sure elasticsearch is up and running.
2.Open logstash folder in cmd,
cd logstash
3.Take sample config file and copy sample data shown in below example into sample.conf and copy the sample.conf file in logstash folder
Ex;-
input{stdin{}}output{stdout{}}
4.Now execute as shown below
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.