Hello, I'm installing logstash on the Ubuntu server, but when I get to this point, the terminal simply stops and I don't know what to do, could anyone help me?
the command I'm using: sudo bin/logstash -f /etc/logstash/conf.d/logstash.conf
Hello, I'm installing logstash on the Ubuntu server, but when I get to this point, the terminal simply stops and I don't know what to do, could anyone help me?
the command I'm using: sudo bin/logstash -f /etc/logstash/conf.d/logstash.conf
That looks like it has successfully started. It's not going to log anything if it is successfully processing events unless your configuration tells it to.
Welcome to the community!
I would say this is OK since the pipeline has been started. It seems you are reading a file, which also using the sincedb file. When a file had been read, it's been recorded to sincedb, the path is in 4th line, and LS will wait for a new line.
You have two options:
a) record a new line in your log
b) use sincedb_path => "/dev/null"
in input{ file {...
which keeps sincedb in the memory. On every LS restart, the log will be read again.
© 2020. All Rights Reserved - Elasticsearch
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.