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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...