Splunk Search

Pull out Account number from result rex?

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

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

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...