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!

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...

The Visibility Gap: Hybrid Networks and IT Services

The most forward thinking enterprises among us see their network as much more than infrastructure – it's their ...

Get Operational Insights Quickly with Natural Language on the Splunk Platform

In today’s fast-paced digital world, turning data into actionable insights is essential for success. With ...