Splunk Search

rex field message

indeed_2000
Motivator

Hi
what is the rex for this
field1=this is message

here is the log:
00:09:59.990 app module: AB[0000]: Data[{"code":"OK","messageEn":"this is message","messageCa":null,"id":"0"}

Thanks,

Labels (3)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| rex "messageEn\":\"(?<field1>[^\"]+)"

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| rex "messageEn\":\"(?<field1>[^\"]+)"
0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...