All Apps and Add-ons

splunk

shakti
Loves-to-Learn Everything

Can anyone please provide me .js file for displaying a popup in my splunk dashboard.. ?

Labels (1)
0 Karma

kiran_panchavat
SplunkTrust
SplunkTrust

@shakti 

You can also refer to some of Simple XML JavaScript extension examples on Splunk Dashboard Examples app on Splunkbase ( https://splunkbase.splunk.com/app/1603/  )
Or the Splunk Web Framework tutorial: http://dev.splunk.com/view/webframework-tutorials/SP-CAAAERB 

https://answers.splunk.com/answers/579537/how-to-use-javascript-code-in-splunk-cloud-dashboa.html 

https://community.splunk.com/t5/Dashboards-Visualizations/Creating-an-quot-About-this-dashboard-quot... 

"Happy Splunking!!!"

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!
0 Karma

shakti
Loves-to-Learn Everything

Hello Kiran,

<panel>
<html>
<div class="modal $tokShowModel$" id="myModal" style="border-top-left-radius:25px; border-top-right-radius:25px;">
<div class="modal-header" style="background:#e1e6eb; padding:20px; height:10px;">
<h3>Message:</h3>
</div>
<div class="modal-body" style="padding:30%">
<p style="color:blue;font-size:16px;"> This dashboard has been moved to azure. Kindly visit the following link - <a href="https://mse-svsplunkm01.emea.duerr.int:8000/en-US/app/GermanISMS/kpi_global_v5">Go here </a> </p>
</div>
</div>
</html>
</panel>

I have created this code which displays the pop up but the dashboard is still working on the background ...do you have any idea about any script that I can add in this code to make the dashboard stop working in the background.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner   Watch on demand us for a demo-driven ...