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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...