Splunk Search

How do I manually update a saved search at a time other than scheduled through user request?

wcooper003
Communicator

I have an intensive search populating a dashboard that i'd like to schedule once a day, or as requested by the user --for example, with an update submit button to re-run the search. Is there a way to schedule a saved search to run at a minimum - say every 24hrs, but also have it re-run through a user request action?

I also don't think I understand the full utility of saved searches - I can see why you use them from a scheduling perspective where I currently schedule them to either populate lookups, summary indices, or through searches that call 'loadjob savedsearch=xyz'. But what do you use saved searches for if you're not scheduling them?

thanks

Tags (1)
0 Karma

cmerriman
Super Champion

if you go to Settings>Searches, reports, and alerts (upper right) you can find the searches that are scheduled and under Actions (on the right) you can click 'Run'

0 Karma

wcooper003
Communicator

Thanks for the reply. I have seen that ability to run manually through the Settings, but we want to set it up so that a Power User or User (not admin) can, for example, click a Submit button on the dashboard to update the search. Is there a way to do this type of manual update?

I can envision it'd be possible through some custom html button linked to a REST call to run the saved search (if endpoint exists) and then rerun the chart in the dashboard. That's all above my experience right now, hoping for something similar or a sketch of how this would be done. Here, the chart search string would be a '| loadjob savedsearch=xyz', so i'd have to both run/update the saved search and then rerun the 'loadjob' command for the chart afterwards.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...