I realized my Logstash 's log having some errors, referring to some Permission denied errors to these files in /var/lob/logstash/ ..... but when I do ls command, I cant really see the files within it, even with root account?
Can you please paste some error log and check the file with below command:
Hi, so far no error when I run the command.
is your problem fixed or still your metricbeat service is showing not running?
Hi @Tek_Chand, I am able to start the service without much error. But when I went to check the service status, it shows me the errors above in my previous comment. "Failed to start Matricbeat is a lightweight shipper for metrics...."
Can you please check the error log in
/var/log/syslog if you are using ubuntu machine else check in another file according to your OS.
Logs can be useful to fix the issue.
In the log, I do see this error. So is it that I need to enable the settings under elasticsearch.yml configuration file?
Exiting: Template loading requested but the Elasticsearch output is not configured/enabled