Logstash erreur d'exécution

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

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

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. :slight_smile:

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

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

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

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.

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

yes i try it

c:\\log\\error_logg.txt

i reseved an exception

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]

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

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

why the index does not created ?

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


index does not created