Splunk Search

Field extraction is having issue for a value

shubhamnyaik
Explorer

a

Tags (1)
0 Karma

mayurr98
Super Champion

hey @shubhamnyaik
Try this:

index=your_index | rex field=_raw "<(businessChannel|ns1:businessChannel)>(?P<businessChannel>[^\<]*)"

let me know if it helps!
Also, your log does not contain this fields please give us proper sample log.

0 Karma

niketn
Legend

@shubhamnyaik, you would need to post your data using code button 101010 here on Splunk Answers so that special characters do not escape.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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