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!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

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