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.
Get Updates on the Splunk Community!

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...

From GPU to Application: Monitoring Cisco AI Infrastructure with Splunk Observability ...

AI workloads are different. They demand specialized infrastructure—powerful GPUs, enterprise-grade networking, ...

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...