Dashboards & Visualizations

Passing HTML tags via a token

alucarddjin
Path Finder

I have a query that loads a string into a token depending on the results. If one of the three results come out I want to make part of the token bold.

EG:
- This user has level 1 permission
- This user has level 2 permission
- This user have NO PERMISSIONS

I have the query outing a value like this:
This users has &ltstrong&gtNO PERMISSIONS&ltstrong&gt
but it's obviously converting the &lt&gt into it's html code and spitting it out as it is seen not as a html tag.

0 Karma

vnravikumar
Champion
0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...