# 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:** 20\
**Page:** 1

<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, 3:33pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/1 "2018-04-02T15:33:18Z")

</div>

lorsque j'ai exucute logstash j'ai une erreur pourquoi ?  
sachant que ce la première fois ça fonctionnait bien !!

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/f/6f373287e9c7562c8eb308123f1735f09d57a7b7.png)

---

<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, 3:38pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/2 "2018-04-02T15:38:09Z")

</div>

That log clearly says that you don't have any config files specified. What you are seeing is an expected behavior.

---

<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, 3:48pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/3 "2018-04-02T15:48:22Z")

</div>

tout d'abord l'index Non créé pourqoi !

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1a8e3dd835ce6ae0f304c8e04f786a5cef098a06.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/6/56f5606212891255c2c59fefb46ddd21194fa154.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/6/f64dab6cf1bb7e626988f8ff6953382b30774fe8.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/0/90fa20294a7a57c501e4656a00907aa41280425d.png)

---

<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, 3:53pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/4 "2018-04-02T15:53:52Z")

</div>

> [@Ibti\_Ssem](#):
>
> tout d'abord l'index Non créé pourqoi !

Try this -\> logstash\*  
Ok.  
Remove Elasticsearch output  
Push some logs  
Show me what you see on console. Console output will show you the index name. We can use that index name.

I am sorry, I know only english and couple other native languages. 🙂

---

<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, 4:00pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/5 "2018-04-02T16:00:50Z")

</div>

why Remove Elastivsearch output ?  
(i created logstash\* with anathor config is another index)

---

<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, 4:03pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/6 "2018-04-02T16:03:30Z")

</div>

> [@Suman\_Reddy1](#):
>
> I am sorry, I know only english and couple other native languages. 🙂

I missed it. Are you able to read any logs ?

---

<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, 4:07pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/7 "2018-04-02T16:07:27Z")

</div>

yes , but the data does not stocked in elasticsearch i don't new the problem is in logstash or elasticsearch ?

---

<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, 4:23pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/8 "2018-04-02T16:23:57Z")

</div>

Can I see the contents of c:\log\error\_logg ?  
If logstash is able to read your log files, you should see logs rolling on your Logstash powershell window.

---

<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, 4:27pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/9 "2018-04-02T16:27:14Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/7/57eee05121f2c07aa8bac03f894f1285300cf0fa.png)

---

<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, 4:31pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/10 "2018-04-02T16:31:57Z")

</div>

path should be  
path=\>"c:\log\error\_logg.txt"

---

<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, 4:37pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/11 "2018-04-02T16:37:45Z")

</div>

yes i try it

---

<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, 4:41pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/12 "2018-04-02T16:41:04Z")

</div>

c:\\log\\error\_logg.txt

---

<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, 4:44pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/13 "2018-04-02T16:44:31Z")

</div>

i reseved an exception

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/2/425915faed1053770234f4e4238f5d2e984b871a.png)

---

<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, 4:44pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/14 "2018-04-02T16:44:59Z")

</div>

CR9] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).  
[2018-04-02T18:38:40,590][WARN][o.e.h.n.Netty4HttpServerTransport] [jw5JCR9] caught exception while handling client http traffic, closing connection [id: 0xb676fe03, L:/127.0.0.1:9200 - R:/127.0.0.1:53233]  
java.io.IOException: Une connexion existante a d├╗ ├¬tre ferm├®e par lÔÇÖh├┤te distant  
at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[?:?]  
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) ~[?:?]  
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:?]  
at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:?]  
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:?]  
at io.netty.buffer.PooledHeapByteBuf.setBytes(PooledHeapByteBuf.java:261) ~[netty-buffer-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1106) ~[netty-buffer-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:343) ~[netty-transport-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123) [netty-transport-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645) [netty-transport-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:545) [netty-transport-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499) [netty-transport-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459) [netty-transport-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-common-4.1.16.Final.jar:4.1.16.Final]  
at java.lang.Thread.run(Thread.java:748) [?:1.8.0\_161]

---

<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, 4:46pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/15 "2018-04-02T16:46:19Z")

</div>

Are you able to see any logs on logstash window.  
Can you try logging into Kibana now ?

---

<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, 4:46pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/16 "2018-04-02T16:46:45Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/1/7/176b60fe84f48578002010b5e3bd5df0f821edc9.png)

---

<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, 4:46pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/17 "2018-04-02T16:46:53Z")

</div>

Your Logstash console should show something like below  
{  
"message" =\> "hi\r",  
"host" =\> "ManuS",  
"@version" =\> "1",  
"@timestamp" =\> 2018-04-02T16:32:11.031Z  
}

---

<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, 4:54pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/18 "2018-04-02T16:54:13Z")

</div>

why the index does not created ?

---

<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:04pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/19 "2018-04-02T17:04:49Z")

</div>

I think your logstash is not pushing any events to Elasticesearch, thats the reason you are not seeing that index, you should atleast put some events

add this to your input  
input { generator { message =\> 'hi' count =\> 10 } }

Then restart logstash.

Then attach logstash logs here

---

<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, 5:18pm UTC](https://discuss.elastic.co/t/logstash-erreur-dexecution/126444/20 "2018-04-02T17:18:55Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/b/e/beb929868d0a2b2cff0974780a85ca08aeabe11a.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/b/6bf4dcaa3649c79581407017f705e84be49ce75b.png)

index does not created

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