Dashboards & Visualizations

Is that possible to create popup modal window in splunk

aditsss
Motivator

Hi Everyone,

Is that possible to create a popup modal  window in Splunk without using Javacript?

Thanks in advance

Labels (3)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @aditsss,

you have to copy your js files in $SPLUNK_HOME/apps/your_app/appserver/static of your Search Head.

Sorry if I'm repeating: see Splunk Dashboard Examples App!

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @aditsss,

sorry no, it isn't possible without JS.

Ciao.

Giuseppe

0 Karma

aditsss
Motivator

@gcusello 

How we can add Javascript in our splunk xmls.

0 Karma

aasabatini
Motivator

Hi @aditsss ,@gcusello ,

 

if can help, please follow this really clear documentation

https://www.splunk.com/en_us/blog/tips-and-tricks/using-bootstrap-modal-with-splunk-simple-xml.html

Regards

Alessandro

“The answer is out there, Neo, and it’s looking for you, and it will find you if you want it to.”

gcusello
SplunkTrust
SplunkTrust

Hi @aditsss,

you have to add to the first row of the dashboard the indication of the js e.g.:

<form script="table_icons_rangemap.js" stylesheet="table_decorations.css">

you can find documentation at 

https://www.youtube.com/watch?v=lojUc9v37Jg

https://dev.splunk.com/enterprise/docs/developapps/visualizedata/usewebframework/modifydashboards/

Then see the Splunk Dashboard Examples App (https://splunkbase.splunk.com/app/1603/) where you can find many examples of JS using.

Ciao.

Giuseppe

0 Karma

aditsss
Motivator

@gcusello 

Do we need to install JavaScript  in Splunk  server or in splunk forwarder .

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @aditsss,

you have to copy your js files in $SPLUNK_HOME/apps/your_app/appserver/static of your Search Head.

Sorry if I'm repeating: see Splunk Dashboard Examples App!

Ciao.

Giuseppe

Get Updates on the Splunk Community!

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 ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...