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

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...