Splunk Search

How do I table a transactionid value using regular expression?

ppanchal
Path Finder

Below is my log,

[ERL_ROUTE_ACK_INTERFACE] 2018-08-27 11:06:02 DEBUG [callUpdateERLRouteStatus] ERLRouteAckServiceImpl at line ? | Successfully updated the HDR record for transactionId : 869584588

I want to table the transactionId value.

Can somebody please help?

0 Karma
1 Solution

skoelpin
SplunkTrust
SplunkTrust

Try adding this to your query

| rex transactionId\s\:\s(?<transactionid>\d+)
| table transactionid

View solution in original post

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Try adding this to your query

| rex transactionId\s\:\s(?<transactionid>\d+)
| table transactionid
0 Karma

ppanchal
Path Finder

Works Perfect! Thanks.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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