Use Splunk with an authentication token or a username and password to search logs, metrics, and events in Splunk Enterprise or Splunk Cloud. Run Search returns a synchronous result; for longer searches, create a job, inspect its status, page through its results, and cancel it when needed.
Saved-search actions list, read, and dispatch existing searches. Alert actions inspect fired alerts and their instances. Index and app lookups help identify the data and configuration available to the credential.
Connect Splunk once as a Splunk credential, and enter the management URL with its port, such as https://splunk.example.com:8089. To sign in with a token, create an authentication token in Splunk Web under Settings > Tokens (token authentication must be turned on) and leave the username blank. Token authentication is off by default on Splunk Enterprise, so you can instead enter a username and its password, which Sim sends with HTTP Basic authentication. Sim checks either sign-in by reading the user it authenticates as. The management URL must be reachable from Sim over https with a certificate from a public certificate authority; Sim never skips certificate verification, so a management port serving Splunk's default self-signed certificate cannot be saved. Workflows built with the earlier Splunk block keep the URL, token, or username and password they entered in the block.
Use the block
Run SPL searches synchronously or as asynchronous jobs, fetch results, dispatch saved searches, and inspect fired alerts and indexes.
Actions
Splunk Run Search
Run an SPL search synchronously and return its results in a single call (oneshot mode). A oneshot search buffers the whole result set in one response with no paging, so use it for short searches; for anything large use Create Search Job with Get Search Results, which defaults to 100 rows and pages with offset.
Splunk Create Search Job
Start a Splunk search job and return its search ID (sid). The search runs asynchronously — poll its status and fetch results separately.
Splunk Get Search Job
Get the status and progress of a Splunk search job by search ID, including dispatch state, completion progress, and event/result counts.
Splunk Get Search Results
Fetch the transformed results of a completed Splunk search job by search ID, with pagination.
Splunk Cancel Search Job
Cancel a running Splunk search job and delete its result cache.
Splunk List Saved Searches
List saved searches and reports configured in Splunk, including their SPL, schedule, and alert configuration.
Splunk Get Saved Search
Get the configuration of a single Splunk saved search by name, including its SPL, schedule, and alert settings.
Splunk Dispatch Saved Search
Run a Splunk saved search immediately and return the search ID (sid) of the dispatched job.
Splunk List Fired Alerts
List the saved searches with currently triggered (unexpired) Splunk alerts and how many times each has fired.
Splunk Get Fired Alerts
List the unexpired triggered instances of a Splunk alert by saved search name, including severity, trigger time, and the search ID of each firing.
Splunk List Indexes
List the indexes configured on the Splunk instance with their size, event count, and retention settings.
Splunk List Apps
List the apps installed on the Splunk instance with their label, version, author, and enabled state.