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

**URL:** <https://discuss.elastic.co/t/error-creating-runner-from-config-failed-to-create-input-can-only-start-an-input-when-all-related-states-are-finished/346749>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 9, 2023, 1:50am UTC](https://discuss.elastic.co/t/error-creating-runner-from-config-failed-to-create-input-can-only-start-an-input-when-all-related-states-are-finished/346749 "2023-11-09T01:50:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [November 9, 2023, 1:50am UTC](https://discuss.elastic.co/t/error-creating-runner-from-config-failed-to-create-input-can-only-start-an-input-when-all-related-states-are-finished/346749/1 "2023-11-09T01:50:50Z")

</div>

Hello World 😉

I'm tying to follow:

> **[Run Filebeat on Kubernetes | Filebeat Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/running-on-kubernetes.html)**

yet, I'm running into this error:

`{"log.level":"error","@timestamp":"2023-11-09T01:40:40.122Z","log.logger":"autodiscover.cfgfile","log.origin":{"file.name":"cfgfile/list.go","file.line":138},"message":"Error creating runner from config: failed to create input: Can only start an input when all related states are finished: {Id: native::2490710-65025, Finished: false, Fileinfo: &{dd-kb-c5cbbbc84-dkv2g_default_kibana-e4fda8e8074334216660a13f152a7cb05eb7f196f4bfcb0c4bfb751c503a70e6.log 149735 416 {31814004 63835090564 0xaaaaea1d77e0} {65025 2490710 33184 1 0 0 0 0 149735 4096 0 304 {1699459946 773759007} {1699493764 31814004} {1699493764 31814004} [0 0]}}, Source: /var/log/containers/dd-kb-c5cbbbc84-dkv2g_default_kibana-e4fda8e8074334216660a13f152a7cb05eb7f196f4bfcb0c4bfb751c503a70e6.log, Offset: 149735, Timestamp: 2023-11-09 01:37:21.021457304 +0000 UTC m=+25.235367305, TTL: -1ns, Type: container, Meta: map[], FileStateOS: 2490710-65025}","service.name":"filebeat","ecs.version":"1.6.0"}`

Please advise)  
Thank you!

---

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [November 9, 2023, 4:28am UTC](https://discuss.elastic.co/t/error-creating-runner-from-config-failed-to-create-input-can-only-start-an-input-when-all-related-states-are-finished/346749/2 "2023-11-09T04:28:52Z")

</div>

never mind)

after following

> ```
> # To enable hints based autodiscover, remove `filebeat.inputs` configuration and uncomment this:
> 
> ```

this issue is no more) another issue emerge, but that's outside of this thread

Thanks!

---

<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:** [December 7, 2023, 6:29am UTC](https://discuss.elastic.co/t/error-creating-runner-from-config-failed-to-create-input-can-only-start-an-input-when-all-related-states-are-finished/346749/3 "2023-12-07T06:29:05Z")

</div>

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