Splunk Search

eventnumber field?

halperkins
New Member

Hello
Is there any way to get a field that would just be the number of the event?
like this?
http://tinypic.com/r/2cbuxl/6
thanks

Tags (1)
0 Karma

dart
Splunk Employee
Splunk Employee

The only way I know is to do this:
index=_internal | eval acc=1 | accum acc as event_number | table _time _raw event_number

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...