Getting Data In

Syslog is Creating Duplicates, Prevent Splunk from ingesting duplicates

krutika_ag
Path Finder

Hi All,

 

I recently found out that my Syslog Server is creating duplicates for all log files.

I checked the packets ´pcap´ from one host and it contains unique logs but syslog has duplicates.

How do I prevent syslog from creating duplicate logs?

Is there a way to prevent Splunk from ingesting duplicate logs?


#syslog #linux #duplicates 

Labels (1)
0 Karma

JohnEGones
Communicator

@krutika_ag 

Maybe I don't entirely understand your scenario. Is there only one syslog server, or multiple ones? The syslog server, if it is properly configured does not just create duplicate entries. Check your syslog configuration both on the server and the sending nodes.

As far as ensuring that the ingestion is unique, add a CRC salt and/or ensure there is a stanza in your inputs.conf that is ignoring older files. There is a relevant discussion here:

How to avoid reindexing files after setting crcSal... - Splunk Community

inputs.conf - Splunk Documentation

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...