Logstash skipping files while reading config

Logstash just starts and shuts down due to configpathloader error. Please explain what the issue is.

Below is the config file-


  • type: log
    • /var/log/system.log
    • /var/log/wifi.log
  • type: log
    • "/var/log/apache2/*"
      apache: true
      fields_under_root: true

hosts: ["https://localhost:9200"]
index: "filebeat-%{[agent.version]}-%{+yyyy.MM.dd}"
ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
ssl.certificate: "/etc/pki/client/cert.pem"
ssl.key: "/etc/pki/client/cert.key"

Please do not post pictures of text, just post the text.

Can you post the text of your configuration?

Sorry about that! Didnt realize pictures weren't allowed.

Also I am not sure where to input path of a log file so filebeat uses it and sends it to elasticsearch.

If you are using filebeat with an elasticsearch output then you should ask a question in the filebeat forum. The forums are more specific than you might expect.

Thanks, just posted the error and config file under Beats/Filebeats forum!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.