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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...