icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Search Job HunterKiller
SHA256 checksum (search-job-hunterkiller_800.tgz) 80e2dce1c7cc27692a85bcb7482637b8666c2c4704495da6bdd3f6298bba7aaa
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

Search Job HunterKiller

Admins: Please read about Splunk Enterprise 8.0 and the Python 2.7 end-of-life changes and impact on apps and upgradeshere.
Overview
Details
For situations where Workload Management rules are not applicable or for greater control of the execution settings.
This alert action accepts a list of SIDs then uses the Splunk REST Search api to modify search jobs.

Using this alert action you can
* Finalize a job
* Pause a job
* Set the workload management pool
* Set the search priority
* Unpause a job
* Cancel a job
* Touch (extends the expiry to now + ttl)
* Set TTL
* Enable events preview
* Disable events preview
* Save
* Unsave

For more detail please refer to https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#search.2Fjobs.2F.7Bsearch_id.7D.2Fcontrol

Brendan Cooper
I am a Splunk Professional Services consultant working for JDS Australia (https://www.jds.net.au), in Sydney, Australia.

What does this app do?

HunterKiller is a alert action that uses the Splunk REST API to manage search jobs. The alert action reads the list of SIDs in the search results and then sends the specified control command to each search job.

It's designed to fill the gaps where workload management can't reach

Typical Use Cases

  • Finalizing or cancelling poor search jobs
  • Moving jobs to specific workload management pools thereby limiting or increasing resource limits
  • Changing priority of a search job
  • Extending the life of job results

How does it work

1 - Create a search that returns a list of SIDs that you want you manage. (| rest /services/search/jobs/ | search title=mysearchcritea) The search must return a field called sid
2 - Add the HunterKiller alert action
3 - Select the command you want to send to each job
4 - Save the alert

PS. The alert action only uses the 'sid', 'action' and 'argument' fields.
| rest /services/search/jobs/ returns many, many fields so use the fields or table commands to narrow down what fields are passed on to the alert action.

Advanced

You can also specify the command and it's arguments within the search results. This allows each row to have a different command. Simply set a field called 'action' that contains a valid control command. Arguments for this command can be supplied by setting the 'argument' field.

A full list of commands can be found at https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#search.2Fjobs.2F.7Bsearch_id.7D.2Fcontrol

Support

Support is not guaranteed and will be provided on a best effort basis.
Raise an issue at https://github.com/brendancooper/Splunk-Search-HunterKiller or Send me an email.

Release Notes

Version 8.0.0
Aug. 23, 2020

Initial Release!

2
Installs
9
Downloads
Share Subscribe LOGIN TO DOWNLOAD

Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
© 2005-2020 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners.