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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...