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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...