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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...