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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...