PacktPublishing / Hands-On-Microservices-with-Spring-Boot-and-Spring-Cloud

Hands-On Microservices with Spring Boot and Spring Cloud, published by Packt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fluentd daemonset send same log from each cluster node

Miles-Ahead-Digital opened this issue · comments

Hi,
I run the example with the fluentd daemonset and the EFK Stack.
My cluster has 4 nodes. I get the the same log entry in the Elastic Index 4 times - obviously sends each fluentd pod on each node the same log file to elastic.

The _id Entry in the index is different most of the time, but sometimes the _id is identical between to entries.

How can I achieve that I get a Log Entry only once in the Elastic Index?

Best regards
Stefan