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?

 

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...