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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...