Splunk Search

How to ignore tags inside hiddensearch module

basanthp
Path Finder

Hi, I am trying to perform field extractions in the searchtime using hiddensearch module.
the following search works fine in the search view but does not work within the hiddensearch module of the view.
Suspect this is due to '<' and '>' tags. How to ignore them?
My query:
index=abc sourcetype=xyz keyword | rex field=_raw "(?<'User_ID>\w+)\shas"

Tags (1)
0 Karma
1 Solution

MuS
Legend

Hi basanthp,

you have to use the &lt; for < and the &gt; for > in your XML code. Another method would be to use your search inside a CDATA tag. For more information read the docs on Simplified XML

Hope this helps ...

cheers, MuS

View solution in original post

MuS
Legend

Hi basanthp,

you have to use the &lt; for < and the &gt; for > in your XML code. Another method would be to use your search inside a CDATA tag. For more information read the docs on Simplified XML

Hope this helps ...

cheers, MuS

Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...