All Apps and Add-ons

Are there plans to get autorefresh and hidden post process nested in a hidden saved search module?

subtrakt
Contributor

Are there any plans to get autorefresh module working with hiddenpostprocess module that is nested in a hiddensavedsearch module?

Many larger dashboards run off of hiddensavedsearches and would benifet from "micro" panel updates. In a dashboard of 20 panels, it would be neat to have 4 different autorefresh modules that update the panels separately and prevent that sudden slowdown to a browser as the whole page reloads. Could the hiddenpostprocess have autorefresh? Is there a way to work-around it to get it to work? Perhaps with null modules?

1 Solution

sideview
SplunkTrust
SplunkTrust

the best workaround is to use the loadjob command in the Search module, and to avoid the HiddenSavedSearch module and SavedSearch module.

| loadjob savedsearch="admin:search:MySavedSearch" will effectively give back the result rows of the most recently scheduled job of the "MySavedSearch" search, in the "search" app, as owned by the "admin" user.

http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Loadjob

It's a bit more fussy than just using a nice SavedSearch module, but the one big advantage is that if you run this search 15mins later, you'll get the next set of results from an "every 15mins" scheduled search.

I don't have any plans right now to greatly reimplement the SavedSearch module. And that's where the limitation is by the way - not the PostProcess module or HiddenPostProcess module. Both Splunk's HiddenSavedSearch module and Sideview's SavedSearch module go and get the scheduled search results once when the whole page loads and never again.

If any questions arise about the loadjob workaround let me know. I'm hoping this workaround can keep folks reasonably happy for a while longer.

View solution in original post

sideview
SplunkTrust
SplunkTrust

the best workaround is to use the loadjob command in the Search module, and to avoid the HiddenSavedSearch module and SavedSearch module.

| loadjob savedsearch="admin:search:MySavedSearch" will effectively give back the result rows of the most recently scheduled job of the "MySavedSearch" search, in the "search" app, as owned by the "admin" user.

http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Loadjob

It's a bit more fussy than just using a nice SavedSearch module, but the one big advantage is that if you run this search 15mins later, you'll get the next set of results from an "every 15mins" scheduled search.

I don't have any plans right now to greatly reimplement the SavedSearch module. And that's where the limitation is by the way - not the PostProcess module or HiddenPostProcess module. Both Splunk's HiddenSavedSearch module and Sideview's SavedSearch module go and get the scheduled search results once when the whole page loads and never again.

If any questions arise about the loadjob workaround let me know. I'm hoping this workaround can keep folks reasonably happy for a while longer.

sibbsnb
Path Finder

I get an error on dashboard if the search results are not found and it stops refreshing the panel. How can i make sure i dont get an error and the search is run if it does not exist

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!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...