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.

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!

[Puzzles] Solve, Learn, Reuse: Word-play

This puzzle series (first published here) is based on analysing words.Some of the statements in your puzzle ...

Tuning Edge Processor in Hybrid Mode: What Limits Each Data Path

When you run Edge Processor in hybrid mode, alongside a Splunk heavy forwarder on the same host, two questions ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...