Getting Data In

Is "RecordNumber" a unique identifier?

michaeler
Communicator

I'm dealing with a lot of duplicate event logs at the exact same millisecond. From what I can tell, everytime this happens, the events in my search results have all of the same data. There are some events that follow with slightly different fields including a ascending "Record Number" count.

Should the record number be different for every log? 

I'm looking for a better way to identify duplicate data and stop logging it. In the past 16 hours, I've logged 550 events with different record numbers but 390,000 different events. Some record numbers repeating up to 600 times.

If you have a solution for this I'd appreciate it, but also just looking for a Unique ID to confirm this is an issue.

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

"Record Number" is not a built-in Splunk field so it's not a unique identifier by default.  Someone familiar with your data source would be the one to answer your questions.

Take a look at how the data is brought into Splunk.  Is there an input running on all indexers or search heads?  If so, that might explain some of the duplication.  Scripts used to ingest data must run in a single place or you risk duplicate events.

---
If this reply helps you, Karma would be appreciated.
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 ...

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...