Splunk Search

Help with Regex extracting fields

saikumarsplunkt
New Member

Can someone please help with extracting the bold highlighted field from below

/07981368-d226-4cf6-8d88-9853c843bcb9/6311875594

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

At the risk of being too simple given the limited data set, try ... | rex "\/(?<field>[^\/]+)" | ....

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Unlock Instant Security Insights from Amazon S3 with Splunk Cloud — Try Federated ...

Availability: Must be on Splunk Cloud Platform version 10.1.2507.x to view the free trial banner. If you are ...

What's New in Splunk Observability - November 2025

What's New We’re excited to announce the latest enhancements to Splunk Observability Cloud and ...

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...