# Logstash erreur d'exécution

**URL:** <https://discuss.elastic.co/t/logstash-erreur-dexecution/126444>\
**Category:** Logstash\
**Created:** [April 2, 2018, 3:33pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444 "2018-04-02T15:33:17Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![Suman\_Reddy1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suman_reddy1/32/27303_2.png) [@Suman\_Reddy1](https://discuss.elastic.co/u/Suman_Reddy1)\
**Post date:** [April 2, 2018, 5:22pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/21 "2018-04-02T17:22:46Z")

</div>

> [@Suman\_Reddy1](#):
>
> generator { message =\> 'hi' count =\> 10 }

It seems like you added multiple input configs, instead  
input{  
generator { message =\> 'hi' count =\> 10 }  
file{....}  
}

it should be like above but not like  
input{  
input {generator { message =\> 'hi' count =\> 10 }}  
file{....}  
}

---

<div class="post-metadata">

**Author:** ![Suman\_Reddy1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suman_reddy1/32/27303_2.png) [@Suman\_Reddy1](https://discuss.elastic.co/u/Suman_Reddy1)\
**Post date:** [April 2, 2018, 5:24pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/22 "2018-04-02T17:24:09Z")

</div>

or try this config

input { generator { message =\> 'hi' count =\> 10 } }

filter {

}

output {  
stdout {codec=\>rubydebug }  
elasticsearch{  
index =\> "apache"  
}  
}

---

<div class="post-metadata">

**Author:** ![Ibti\_Ssem](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibti_ssem/32/29423_2.png) [@Ibti\_Ssem](https://discuss.elastic.co/u/Ibti_Ssem)\
**Post date:** [April 2, 2018, 8:27pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/23 "2018-04-02T20:27:18Z")

</div>

the index it has been create

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/8/58881e9f9c206167e94095869f6a4032271724fb.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a8b9da910753cb259d0863b8a63a73f41e8b7909.png)  
but what about the file (path) and what is the problem ?

---

<div class="post-metadata">

**Author:** ![Suman\_Reddy1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suman_reddy1/32/27303_2.png) [@Suman\_Reddy1](https://discuss.elastic.co/u/Suman_Reddy1)\
**Post date:** [April 3, 2018, 4:01am UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/24 "2018-04-03T04:01:50Z")

</div>

Because your logstash is unable to read that file.

Check file path, permissions  
After starting logstash, try adding some lines to your log file.

---

<div class="post-metadata">

**Author:** ![Ibti\_Ssem](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibti_ssem/32/29423_2.png) [@Ibti\_Ssem](https://discuss.elastic.co/u/Ibti_Ssem)\
**Post date:** [April 3, 2018, 10:52am UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/25 "2018-04-03T10:52:29Z")

</div>

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

the same problem

---

<div class="post-metadata">

**Author:** ![Suman\_Reddy1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suman_reddy1/32/27303_2.png) [@Suman\_Reddy1](https://discuss.elastic.co/u/Suman_Reddy1)\
**Post date:** [April 3, 2018, 12:26pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/26 "2018-04-03T12:26:39Z")

</div>

Your elasticsearch node is down, bring it up

---

<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, 2018, 12:26pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/27 "2018-05-01T12:26:46Z")

</div>

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

[Previous page](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444.md?page=1)
