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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...