Logstash just starts and shuts down due to configpathloader error. Please explain what the issue is.
Below is the config file-
filebeat.inputs:
- type: log
paths:- /var/log/system.log
- /var/log/wifi.log
- type: log
paths:- "/var/log/apache2/*"
fields:
apache: true
fields_under_root: true
- "/var/log/apache2/*"
output.elasticsearch:
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"