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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...