Skip to content

Instantly share code, notes, and snippets.

@error9900
Created March 27, 2025 18:11
Show Gist options
  • Save error9900/1a875f9805116066224cccabb0be4e00 to your computer and use it in GitHub Desktop.
Save error9900/1a875f9805116066224cccabb0be4e00 to your computer and use it in GitHub Desktop.
Add a Refresh button to a Splunk dashboard
<!-- Add this <html> element inside of the <fieldset> element -->
<html>
<style>
div.fieldset.dashboard-form-globalfieldset
div.dashboard-element.html.dashboard-element-html {
display: inline-block;
}
a {
margin-right: 10px;
}
</style>
<a href="$env:page$" class="btn btn-primary">Refresh</a>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment