Dashboards & Visualizations

How to pass Args from Splunk Xml to jquery?

sjkalai
Explorer

In Splunk dashboard I will show one table.  In this table column "host" I want apply CSS condition based on renderer via jQuery. It also worked.    But problem was I want pass arguments from simple xml. Now hard code in jQuery

below is table for reference, sample.PNG sample_js.PNG

 

In This jQuery function customeCssLoad() I want pass args from simple xml to that function.

Please help me 

Labels (4)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...