Dashboards & Visualizations

How to add multiple scripts in a form/dashboard?

mbschriek
Explorer

How can I add multiple scripts to a form? When I use the following line of code, the following error occurs:

Attribute script redefined

<form script="ita_infobutton:infobutton.js" script="cookie.js">
1 Solution

kschaul
Engager

You can just add multiple scripts in between the double quotes, like the following:

< dashboard script="ita_infobutton:infobutton.js, ita_infobutton:script2.js" stylesheet="ita_infobutton:infobutton.css" >

View solution in original post

kschaul
Engager

You can just add multiple scripts in between the double quotes, like the following:

< dashboard script="ita_infobutton:infobutton.js, ita_infobutton:script2.js" stylesheet="ita_infobutton:infobutton.css" >

Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...