Getting Data In

How to find a solution to not have duplicated logs?

aatik5u
Path Finder

Hello there,

The deal is that I have 2 forwarders that have exactly the same logs (I'm using 2 forwarders not to have a SPOF) and I want to find a solution to not have duplicated logs. I thought of using a load balancer but I just want to know first if there is some config on Splunk that allows to do that please.

Best regards,

 Abir

Labels (1)
0 Karma

aatik5u
Path Finder

Thank you very much for your answer 🙂

to answer your question, I have several linux machines that forward their logs to 2 different universal forwarders using syslog, that's why I have the same logs twice. this choice is kind of questionable I agree :/, but there is no specific reason for choosing to forward logs to one universal forwarder than using a universal forwarder on every linux machine

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @aatik5u,

as @PickleRick said, there isn't any configuration for avoid duplications.

If you're speaking of network or HEC logs and you cannot use a Load Balancer, you could configure your DNS to distribute logs to both the Forwarders and manage fails.

Here you can find how to do it https://docs.microsoft.com/en-us/windows-server/networking/dns/deploy/app-lb

Ciao.

Giuseppe

aatik5u
Path Finder

Thank you very much 🙂

0 Karma

PickleRick
SplunkTrust
SplunkTrust

No. Splunk on its own does not do any form of deduplication. It's up to you to provide the input data in the form you need.

I must say however that I don't quite understand what do you mean by "2 forwarders with the same logs". Some network share and two separate clients mounting it? Why don't you then ingest the logs simply from the source machine?

 

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...