Splunk Enterprise

Splunk - How to generate an “identity column” id 1,2,3...

gunnist
Explorer

We're logging info/error logs in splunk/db. We're using .net and nlog.

In db, we're getting it in the right order when sorting because of identity column.

In Splunk, it's coming out of order if many log entries have the same date.

Is there a chance to tell splunk to create a "identity column" for everything that is piped into it? We're piping the logs into Splunk using HTTP Event Collector.

Thank you!

Gunnar

Labels (1)
0 Karma

s2_splunk
Splunk Employee
Splunk Employee

No, not really. A Splunk indexing tier usually consists of many indexers, all receiving data from various sources independently. There is no coordinating service that can produce such an event sequence number. You would have to include such a unique order key in your source data and use that to sort when searching, if timestamp granularity is not enough to maintain time series order.

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...