# Error creating runner from config: Can only start an input when all related states are finished

**URL:** <https://discuss.elastic.co/t/error-creating-runner-from-config-can-only-start-an-input-when-all-related-states-are-finished/226422>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 3, 2020, 3:08pm UTC](https://discuss.elastic.co/t/error-creating-runner-from-config-can-only-start-an-input-when-all-related-states-are-finished/226422 "2020-04-03T15:08:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![viveknagar](https://avatars.discourse-cdn.com/v4/letter/v/cdc98d/32.png) [@viveknagar](https://discuss.elastic.co/u/viveknagar)\
**Post date:** [April 3, 2020, 3:08pm UTC](https://discuss.elastic.co/t/error-creating-runner-from-config-can-only-start-an-input-when-all-related-states-are-finished/226422/1 "2020-04-03T15:08:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 1, 2020, 3:08pm UTC](https://discuss.elastic.co/t/error-creating-runner-from-config-can-only-start-an-input-when-all-related-states-are-finished/226422/2 "2020-05-01T15:08:11Z")

</div>

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