Comments on How to Install Elastic Stack (Elasticsearch, Logstash and Kibana) on CentOS 8

In this tutorial, I will show you how to install and configure Elastic Stack on a CentOS 8 server for monitoring server logs. Then I'll show you how to install 'Elastic beats' on a CentOS 8 and an Ubuntu 18.04 LTS client operating system.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: claudio

Awesome work Muhammad, So usefull!

Thanks a lot! best wishes for you!!

 

By: Attiq

 Hi Thanks for awome tutorial. I have followed exactly the same SOP. But when i tried to run the filebeat, logstash at server produces following error. How can i resolve this error.

 

2020-06-30T22:40:11,639][WARN ][io.netty.channel.DefaultChannelPipeline][main][7b66451632d8f8b80b754cf2d340fb1349c72ff06b9120cc9db6d9fc4c8cf917] An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.

io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 69

        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:472) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

        at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:405) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

        at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:372) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

        at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:355) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

        at io.netty.channel.AbstractChannelHandlerContext.access$300(AbstractChannelHandlerContext.java:38) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

        at io.netty.channel.AbstractChannelHandlerContext$4.run(AbstractChannelHandlerContext.java:236) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897) [netty-all-4.1.30.Final.jar:4.1.30.Final]

        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-all-4.1.30.Final.jar:4.1.30.Final]

        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]

Caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 69

        at org.logstash.beats.Protocol.version(Protocol.java:22) ~[logstash-input-beats-6.0.9.jar:?]

        at org.logstash.beats.BeatsParser.decode(BeatsParser.java:62) ~[logstash-input-beats-6.0.9.jar:?]

        at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441) ~[netty-all-4.1.30.Final.jar:4.1.30.Final]

        ... 10 more

 

By: dleung

Nginx don't work. I have don't the exaclly the same configuration.

Kibana can access from browser at http://127.0.0.1:5601

But When I try http://elk.hakase-labs.io/ error 404.

404 in hakase.io

By: gianluca

Could you post a working configuration with selinux enforcing.

Thanx