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!

Splunk is Nurturing Tomorrow’s Cybersecurity Leaders Today

Meet Carol Wright. She leads the Splunk Academic Alliance program at Splunk. The Splunk Academic Alliance ...

Part 2: A Guide to Maximizing Splunk IT Service Intelligence

Welcome to the second segment of our guide. In Part 1, we covered the essentials of getting started with ITSI ...

Part 1: A Guide to Maximizing Splunk IT Service Intelligence

As modern IT environments continue to grow in complexity and speed, the ability to efficiently manage and ...