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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...