Splunk Search

How to event break with by request ID?

baljkastr
Engager

On my attached picture these many events should become one event by ID instead of so many, how can I break those events by ID.

ID is on first line "DRCProvision-[1663729240506]" like this

 

Labels (1)
Tags (1)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

You can combine those in the search with

| rex field=_raw "DRCProvision-\[(?<ID>\d+)\]"
| stats list(_raw) by ID

but if you want to combine those at ingest time, that's a more complex task and I'm not sure how you could achieve that.

The rex statement will extract the ID from the event and the stats command will put all events to a single new event.

 

Get Updates on the Splunk Community!

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 ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...