Download logs from a Splunk server.

Parameters:
- Search query
- Splunk Server URL
- Login/user
- Password
- Debug information level
- Optional: extra parameters for cURL
- Number of retries on connection error

Parameters:
- Script name
- Short description
- Revision
- Decription
See dedicated page for more information.
Runs a Splunk Search and downloads the results as table rows into the pipeline.
- Have a Splunk instance (Cloud or Enterprise) you can reach from the worker.
- Enable the Management Port in Splunk settings
Settings ▸ Server settings ▸ General settings ▸ Splunk management port → keep/enable 8089 (HTTPS).
- User & perms: the account you use must be able to run the search you provide (read access to the target indexes).
- (Optional) If you use a proxy, make sure the worker has outbound HTTP(S) via that proxy (this action supports proxy access).
- Search query:
index=web sourcetype=access_combined status>=500 earliest=-15m | stats count by status
- Splunk Server URL:
https://splunk.mycorp.com:8089
- login/Password: your Splunk API user
Run the pipeline; the action emits rows with the fields returned by Splunk (e.g., status, count)
- 401 Unauthorized / 403 Forbidden
Wrong credentials or the user lacks permissions to the index. Test the same search in Splunk with that user.
- Could not connect / timeout
Check network reachability to host:8089 (and proxy rules if used). Ensure HTTPS is enabled on the management port.
- TLS/SSL errors
If your Splunk uses a custom certificate, add the CA to the worker trust store or pass appropriate cURL options via Optional: extra parameters for cURL.
- “Unknown index” or empty result
Verify the Search query and time window; confirm the index exists and contains data for the time range.
