Hello All,
I am getting error "Error creating runner from config: Can only start an input when all related states are finished" ,while using autodiscover in fIlebeat 7.4.2 .
Below is my configuration file "filebeat.yml"
filebeat.autodiscover:
providers:
- type: kubernetes
host: ${K8S_NODE}
hints.enabled: false
hints.default_config:
type: container
finished: true
paths:
- /var/lib/docker/containers/${data.kubernetes.container.id}/${data.kubernetes.container.id}-json.log
exclude_files:
- filebeat-.*\.log
- logstash-.*\.log
- kibana-.*\.log
- es-cluster-.*\.log
output.logstash:
hosts: ["${LS_HOST}"]
xpack.monitoring:
enabled: true
elasticsearch:
hosts: ["${ES_HOST}"]
I have tried a lot of option to resolve it , but didn't get success . Thank you in advance.