# Failed to execute action {:id=\>:main, :action\_type=\>LogStash::ConvergeResult::FailedAction,

**URL:** <https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/248284>\
**Category:** Logstash\
**Created:** [September 11, 2020, 8:13am UTC](https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/248284 "2020-09-11T08:13:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AkatsukiPain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akatsukipain/32/78358_2.png) [@AkatsukiPain](https://discuss.elastic.co/u/AkatsukiPain)\
**Post date:** [September 11, 2020, 8:13am UTC](https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/248284/1 "2020-09-11T08:13:24Z")

</div>

I run logstash with these config, and there is error when running (Fresh install with kibana or elasticsearch):

## ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/a/da93cd80057197e23d76f7bfe902fdbbb7e9444e.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/a/ea4b7275d35fcc5ba0402e28ff84e059abc27c39.png)

Could u guys help me check this issue? I have tried to find out the problem in some topics but not work for me.

Thanks,

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 11, 2020, 1:20pm UTC](https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/248284/2 "2020-09-11T13:20:09Z")

</div>

If you enable --log.level debug do you see anything of interest?

---

<div class="post-metadata">

**Author:** ![AkatsukiPain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akatsukipain/32/78358_2.png) [@AkatsukiPain](https://discuss.elastic.co/u/AkatsukiPain)\
**Post date:** [September 14, 2020, 2:23am UTC](https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/248284/3 "2020-09-14T02:23:56Z")

</div>

I found the issue. because of the format of an array in the **hosts config** , there must be an **[]**

 ![Screenshot 2020-09-14 092141](https://us1.discourse-cdn.com/elastic/original/3X/3/4/34029c7470607f77544d1d7718980855e06ec728.png)

---

<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:** [October 12, 2020, 2:24am UTC](https://discuss.elastic.co/t/failed-to-execute-action-id-main-action-type-logstash-failedaction/248284/4 "2020-10-12T02:24:06Z")

</div>

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