Splunk Search

Regex not workin

man03359
Communicator

Hi All,

Here is my how my event looks like -

 

20/11/2023 12:47:05 (01) >> AdyenProxy::AdyenPaymentResponse::ProcessPaymentFailure::Additional response -> Message : NotAllowed ; Refusal Reason : message=MessageHeader.POIID: NotAllowed Value: P400Plus-805598742, Reason: my POIID is P400Plus-805598450 

 

I am trying to extract the part "POIID: NotAllowed Value: P400Plus-805598742, Reason: my POIID is P400Plus-805598450"

I am using this regex -

| rex field=_raw "MessageHeader.+(?<POIID_Error>)-*"

But the field vale POIID_Error seems to be blank after running the query.

Attaching the ss for reference.

man03359_0-1700565263533.png

Little suggestion to fix this is appreciated.

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
MessageHeader\.(?<POIID_Error>.+)

man03359
Communicator

@ITWhisperer  

it seems to be working now , thanks a lot 🙂 🙂

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...