Splunk Search

How to create backgrounded search with javascript?

C_HIEN
Path Finder

All is in the title 🙂
I often have to launch long time running search. Instead of waiting for results on dashboards, I'd like to create searches with the searchmanager js component.

Are there any settings to create a search in background with an email when the search is done?

0 Karma

ppatrikfr
Path Finder

Have you tried to create scheduled jobs?

Try to use it with "|loadjob" command.

So you can create an run any search and get the results on loadjob instantly.

Try to check this link: http://docs.splunk.com/Documentation/Splunk/7.3.2/SearchReference/Loadjob

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...