Dashboards & Visualizations

Disable Preview Mode in SideView

jraynor196
Explorer

Is it possible to turn off the preview window. Some of my views are complex and
some have auto refresh turned on, so this makes developing those views
a little harder (while it is refreshing). If you had a checkbox or
something to disable preview mode, that would be great.

Tags (2)
0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

There is a core Splunk module called "EnablePreview" that you can use today. It's a bit clunky and works differently than other modules, but it works, and I haven't yet gotten around to creating a better way.

The weird thing about it, is that you have to put the EnablePreview module below the "dispatch point". If you remember your reading from the "Introduction to the Advanced XML" page in Sideview Utils, there's a certain point in the hierarchy below which the framework will have automatically dispatched the search. As long as the EnablePreview module is at that point or below, you can use it to turn preview on or off as you like.

To have it just be hidden and turn preview OFF,

<module name="EnablePreview">
  <param name="enable">False</param>
  <param name="display">False</param>
</module>

and if for some reason you want it to be a visible checkbox that users can click while the job is running, that will indeed turn preview on/off right while the job is running.

<module name="EnablePreview">
  <param name="enable">False</param>
</module>

View solution in original post

0 Karma

sideview
SplunkTrust
SplunkTrust

There is a core Splunk module called "EnablePreview" that you can use today. It's a bit clunky and works differently than other modules, but it works, and I haven't yet gotten around to creating a better way.

The weird thing about it, is that you have to put the EnablePreview module below the "dispatch point". If you remember your reading from the "Introduction to the Advanced XML" page in Sideview Utils, there's a certain point in the hierarchy below which the framework will have automatically dispatched the search. As long as the EnablePreview module is at that point or below, you can use it to turn preview on or off as you like.

To have it just be hidden and turn preview OFF,

<module name="EnablePreview">
  <param name="enable">False</param>
  <param name="display">False</param>
</module>

and if for some reason you want it to be a visible checkbox that users can click while the job is running, that will indeed turn preview on/off right while the job is running.

<module name="EnablePreview">
  <param name="enable">False</param>
</module>
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...