Splunk Search

How do I extract this value from my sample data?

javaj2e11
New Member

How to extract fdd1895d-63e9-4be2-b78b-ec784b00754f from below:

2016-04-28 15:12:56,939 GMT [transaction_id=201604281112405695][abc-transaction-Id=bf9f140b-09fd-48e5-9555-b8322865a7e3][host_name=xyx] [caller_name=pqr] [request_uri=/abc/def/1.0/ghi/jkl/{id}] [] INFO com.abc.def.ghi.Helper Firing an event to get the results as all operations are in COMPLETE status for Callback Id : fdd1895d-63e9-4be2-b78b-ec784b00754f

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

This regex string will do it.

Callback Id : (?<callbackId>[\w\-]*)
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...