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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...