Splunk Search

Pull out Account number from result rex?

showser
New Member

I have this result and  would like to just pull out the accountNumber 12345678


021-05-19_09:36:25.459 ERROR c.r.r.m.m.o.CreateAccountResponseProcessingOrchestratorImpl-c6de96 No Batch ID found in XYZ response. Context:[CommunicationContext{accountKey=AccountKey{accountNumber='12345678', providerCode='BKRBO1'}, correlationId='f1683b92-32ee-4b5e-8b9f-27cb98c6de96', properties={COMMUNICATION_TYPE=CREATE_NEW_ACCOUNT, ENRICH_XYZ_REQUEST=false}}]

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| rex "accountNumber=\'(?<acct>\d+)\'"
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...