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
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...