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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...