Sending Splunk alerts to Shuffle workflows

Splunk saved-search alerts can start Shuffle playbooks through a webhook trigger action, and workflows can query Splunk back with token-based REST access. This page covers the method, setup sequence, identity mapping and failure points.

On this page

How Splunk alerts reach a Shuffle workflow

A SOC running Splunk wants alerts to start Shuffle playbooks without an analyst copying results between consoles. The pattern works in two directions. Splunk saved searches send alerts through a Webhook trigger action to a started Shuffle webhook, which starts a workflow with the alert payload. Workflows then read Splunk back through its REST API to run follow-up searches, pull events or update related records. The webhook push from Splunk is the documented route for alert-driven starts, and the Shuffle extensions docs describe the setup: save the search as an alert, add the webhook action, and paste in the URL of the started Shuffle webhook.

Plan the two directions separately because they use different credentials and different Splunk settings. The inbound alert path needs a reachable Shuffle webhook URL from the Splunk search head, so confirm network routing, TLS trust and any proxy rules before the first alert fires. The outbound REST path needs a Splunk identity with a bounded role. The Shuffle Splunk app accepts a username and password or Splunk authentication tokens, which Splunk supports from version 7.3, and token authentication is the one to prefer. Give that identity only the capabilities its searches require, because REST access is governed by role and capability assignments. The Shuffle Splunk app docs also note a default authenticated session timeout of one hour, adjustable with sessionTimeout in server.conf, so confirm whether your workflows expect long-running sessions or should re-authenticate per run.

What you need before connecting Splunk to Shuffle

Connecting Splunk to Shuffle needs three things in place: a self-hosted Shuffle with a started webhook, a Splunk instance with alert-capable saved searches, and a Splunk identity that can be scoped tightly. Network paths in both directions and a confirmed version of each product complete the picture. Check each item before the build starts so the first test alert is a diagnosis of the pipeline, not of the prerequisites.

Confirmed Shuffle version and webhook

Confirm the Shuffle release you run against the latest stable release notes before you build. The Shuffle docs recommend the latest Docker tag for stable releases and the nightly tag only for experimental changes, so pin the tag you test against. Start a webhook trigger in the target workflow and keep its URL, because the Splunk alert action needs that exact address. Record which workflow owns the trigger so later changes do not break the alert path.

Latest release noted
v2.3.0
Shuffle releases

Splunk version for token authentication

Splunk authentication tokens are supported from version 7.3, so confirm your Splunk version before planning the REST queries. If you run an older Splunk release, use a username and password, and plan a rotation process for that account. Check the Shuffle Splunk app docs for the current app requirements, since the supported combinations can change between releases.

Splunk app docs

Alert-capable saved searches

Identify the saved searches that should raise alerts and confirm each one has a schedule, a trigger condition and a sensible throttle. Each alert needs a webhook trigger action pointing at the Shuffle URL, and a search that fires on every result floods the workflow. Decide which fields the playbook needs, such as host, source and search name, and confirm the search returns them.

Splunk identity and role capabilities

Create a dedicated Splunk user or authentication token for the REST calls the playbook makes, rather than reusing an administrator account. Assign a role that holds only the capabilities for the searches and objects the workflow reads, and nothing broader. Store the token in Shuffle's credential handling, and record who owns its rotation and expiry.

Session timeout for authenticated calls

Authenticated Splunk sessions default to one hour, and the Shuffle Splunk app docs say this is adjustable with sessionTimeout in server.conf. Decide whether your workflows should rely on the default or whether a longer timeout is acceptable under your policy. Check the value on the Splunk side before you debug failed queries that happen late in a run.

Default session timeout
1 hour

Network paths in both directions

Splunk must reach the Shuffle webhook URL over HTTP or HTTPS, and Shuffle must reach the Splunk management port for REST calls. Confirm both paths through your firewalls, proxies and TLS configuration before the first test, and confirm the certificate trust chain that Splunk uses to call Shuffle. Ask your network team to document which hosts and ports are open, so the design review can check it.

Configuring the Splunk webhook and REST query path

This sequence connects a Splunk saved-search alert to a Shuffle workflow through a webhook trigger, then sets up a dedicated Splunk role and token so Shuffle workflows can query Splunk back. Each step ends with a check that confirms the path works before the next one starts.

  1. Start a webhook trigger in Shuffle

    In the Shuffle interface, open the workflow that should receive Splunk alerts and add a Webhook trigger. Start the webhook so Shuffle generates its receiving URL, then copy that URL exactly as displayed. Keep the workflow open in a separate browser tab while you configure Splunk. The step is complete when the webhook shows a running state and you have stored the full URL in your change record, including the path segment Shuffle generated. Treat the URL as sensitive, since anyone holding it can post events to the workflow.

  2. Create the saved search with alert conditions

    In Splunk Web, run the search that identifies the events you want to act on, then save it as an alert. Define the trigger condition, such as the number of results over a time window, and the schedule that evaluates it. Keep the search scoped to the indexes and fields the playbook needs, so the payload stays small and predictable. The step is complete when the alert appears in the list of saved searches with its schedule and condition shown, and running it manually returns the events you expect.

  3. Add the webhook trigger action to the alert

    Edit the saved alert, open the trigger actions section, and add a Webhook action. Paste the Shuffle webhook URL copied in the first step and save the alert. Confirm the action is enabled and that the alert is scheduled rather than disabled. The step is complete when the saved alert lists the Webhook action with the Shuffle URL, and the alert settings show no validation errors on save.

  4. Test with a manual alert run in Splunk

    Trigger the alert manually or lower its threshold temporarily so it fires on the current data. Use a controlled test event where possible, and record the time you ran it. Do not run tests against production response actions until the workflow stops at a safe step. The step is complete when Splunk reports the alert as triggered and its trigger history shows the webhook action completed without a delivery error.

  5. Confirm the execution appears in Shuffle

    Return to the Shuffle workflow and open the executions view. Find the execution started by the test alert and inspect the received payload to confirm the fields you need are present and parsed as JSON. Check that the execution status matches the expected path through the workflow. The step is complete when the execution is visible with the Splunk payload attached, and you can point to the field values the next actions will use. Restore the alert threshold to production values afterward.

  6. Create a dedicated Splunk role with required capabilities

    In Splunk, create a role for the Shuffle integration and assign only the capabilities the Shuffle Splunk app needs for the searches and REST calls it will make. Restrict the role's index access to the indexes the playbooks query. Assign this role to a dedicated service account rather than a person's account. The step is complete when a test user holding only this role can run the intended search through the REST interface and is refused on an index or capability outside the list.

  7. Issue an authentication token for the service account

    Sign in as the service account and create an authentication token in Splunk, scoped to the role from the previous step. Set an expiry that matches your rotation policy and record the token owner and expiry date in your secrets inventory. Splunk supports authentication tokens from version 7.3, so confirm your Splunk version before you start. The step is complete when the token is listed for the service account and an authenticated REST call with the token returns a valid response instead of an authorization error.

  8. Configure the Shuffle Splunk app and run a test search

    In Shuffle, add the Splunk app to the workflow, enter the Splunk host and the token as the authentication value, and store it in Shuffle's credential store. Run a short test search from the app action and confirm results come back. Note that the default authenticated Splunk session timeout is one hour, adjustable with sessionTimeout in server.conf, so plan for re-authentication in long runs. The step is complete when the test action returns the expected event count and the execution log shows no authentication or permission errors.

Why the webhook pattern stays simple and where it stops

The webhook trigger is one outbound HTTP call from Splunk per alert firing, so the volume Shuffle receives is set by your side of the configuration, not by Shuffle. Each saved search you attach the webhook action to decides how often the alert fires, and the alert's throttling and suppression settings decide how many calls get through when a search matches repeatedly. Before you go live, confirm the expected firing rate for each alert, set throttling deliberately, and decide which alerts should notify Shuffle at all. A noisy correlation search can flood a playbook queue faster than any workflow tuning will fix. The payload shape is equally fixed by the saved search, so a field you rename or drop in the search changes what the workflow sees on its next run.

The webhook body is a summary of the alert, not a full record of the events behind it. Splunk alert payloads carry the search name, results link and a set of result fields, and the workflow must map those fields into the variables your actions use. That mapping belongs in the workflow, so a change to the saved search can break a playbook without any error on the Splunk side. Treat the payload as a contract: document the fields each workflow depends on and test the mapping with a saved sample before you rely on it. A webhook alone also does not fetch the underlying events. If a playbook needs the matching rows, host details or related activity, it has to run a follow-up search through the Splunk REST API, which brings in the authentication, role and session constraints covered later in this page. Plan that second call as a separate, budgeted step in every workflow that needs it.

Mapping Splunk alert fields and Splunk roles to Shuffle

This table maps the Splunk alert data, the Splunk service account and the Shuffle app settings that a workflow depends on, so you can see where each value comes from and where it can break. Confirm every field name against a test alert payload from your own Splunk instance before building logic on it. The main takeaway is that the Splunk account, its token scope and its session timeout decide whether a workflow can query Splunk back at all, so they should be set deliberately rather than inherited from an admin account.

ItemWhere it comes fromWhat to check
Saved search nameSplunk alert payload, the name of the saved search that firedUse it as a routing key in the workflow. Confirm the exact field name in a test alert before writing conditions against it.
Alert severitySplunk alert payload, severity or priority set on the saved searchSet severity in the alert configuration so the workflow can branch on it. Do not assume the field is populated for every alert.
Trigger timeSplunk alert payload, the time the alert firedCheck whether the timestamp is in epoch or ISO format and which time zone applies before using it in time-window searches.
Result rowsSplunk alert payload, the events or results that matchedConfirm how many results are included and whether large result sets are truncated before the webhook fires.
Service account capabilitiesSplunk role assigned to the account Shuffle usesGrant only the search and REST capabilities the workflow needs. Test each query the playbook runs under that role.
Token scopeSplunk authentication token bound to the service accountUse a token for the service account, not a personal user. Confirm your Splunk version supports tokens, which the Shuffle Splunk app docs tie to version 7.3 or later.
Session timeoutSplunk server.conf sessionTimeout, default one hour per the Shuffle Splunk app docsDecide whether the default fits long-running workflows. Changing it affects all authenticated sessions on that Splunk server.
Shuffle app configurationSplunk app credentials and host settings saved in Shuffle, stored encrypted in OpenSearchConfirm the saved credential is still valid after any rotation. Rotating the token requires updating every workflow that uses it.

Securing the Splunk token and the webhook endpoint

The Splunk alert path crosses two trust boundaries: Splunk calls into Shuffle, and Shuffle calls back into Splunk with a token. Each card below covers one control on either side of that path, from how the credential is stored to how the endpoint is exposed and rotated.

Store the token as a Shuffle credential

Save the Splunk authentication token as an app credential in Shuffle rather than pasting it into workflow steps, where it would be visible to anyone who can edit the playbook. Shuffle encrypts saved app credentials and API keys in its OpenSearch database with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER secret. Store that secret in your own secrets process, and confirm that a restore or migration keeps it unchanged, because losing or changing it breaks every saved app authentication.

Shuffle configuration docs

Scope the Splunk role to the search

Create a dedicated Splunk role for the integration that holds only the capabilities needed to run the saved searches and read the results the workflows query. Avoid reusing an administrator account or a shared user, since REST access is governed by role and capability authorization. Ask your Splunk administrators to confirm which indexes the role can read and whether it can write, because a token with broad read access exposes every index it covers to anyone who holds it.

Restrict the webhook to known sources

The Shuffle webhook URL accepts requests from anywhere that can reach it, so limit the path at the network layer. Allow inbound connections only from the Splunk search head or indexers that send alerts, and keep the Shuffle backend off the public internet where your architecture allows. Confirm with your network team which addresses Splunk uses for outbound webhook calls, especially in clustered or cloud-hosted Splunk deployments.

Terminate TLS on the Shuffle endpoint

Serve the Shuffle frontend and webhook over HTTPS with certificates your organization manages, so alert payloads and any token values in transit are encrypted. Check that Splunk trusts the certificate chain used by the webhook target, and decide whether a private certificate authority needs to be added to the Splunk host. Record the certificate expiry date in your renewal process, since a lapsed certificate silently stops alert delivery.

Review the Splunk session timeout

The default authenticated Splunk session timeout is one hour, and it can be changed with sessionTimeout in server.conf. Confirm the value your organization wants for integration sessions before you set up the workflows, because changing it affects all users on that Splunk instance, not only this integration. Make the change with your Splunk administrators and record the reason in the change log.

Default session timeout
1 hour
Splunk app docs

Rotate the token on a schedule

Plan rotation as a standing task with a named owner, not a response to an incident. Create the new Splunk token, update the Shuffle credential, run a test search from a workflow, and then revoke the old token. Keep a record of the rotation date and the workflows that depend on the credential, so a rotation does not silently break alerting. Ask Splunk administrators whether token lifetimes can be set on your instance.

Why Splunk alerts fail to start or query Shuffle workflows

This table lists the failures teams most often hit when Splunk alerts start Shuffle workflows or when workflows query Splunk back, with the likely cause and the fix for each. Read it while testing a new alert, and check the cause column first because several symptoms look alike. The main takeaway is that most failures sit in the URL, network trust, token capabilities or session handling, and each can be confirmed on its own.

SymptomLikely causeFix to confirm
Alert fires but no workflow startsWebhook URL copied from a workflow that was not started, or the URL points to an old webhook IDStart the webhook in Shuffle, copy its current URL into the Splunk Webhook action, and send a test alert
Splunk reports a connection error on the webhookFirewall blocks outbound traffic from the Splunk search head to the Shuffle endpoint, or the port in the URL is closedTest reachability from the Splunk host itself, then open the required path between the two systems
Splunk reports a certificate or trust errorShuffle serves TLS with a certificate issued by an internal CA that Splunk does not trustAdd the internal CA to the trust store Splunk uses, or confirm the certificate chain with your security team before changing settings
Workflow starts but fields are emptyThe mapping step expects alert result fields that the saved search does not return, or field names changed after a search editInspect the raw webhook payload in Shuffle, then update the mapping to the exact field names the search returns
Splunk REST query returns authentication failureThe Splunk authentication token is expired, revoked, or belongs to a user whose account was disabledIssue a new token for a dedicated service account and update the credential stored in Shuffle
Splunk REST query returns access deniedThe role behind the token lacks the capability or index permission the search needsCompare the failing REST call with the role's capabilities and index access, then add only the missing ones
Queries fail partway through a long playbookThe Splunk session expired, since the default authenticated session timeout is one hourConfirm the sessionTimeout value in server.conf with your Splunk administrator, and keep long steps within that window or re-authenticate
Same incident triggers several workflow runsThe alert re-fires on each search schedule while the condition persists, or throttling is not set on the alertSet alert throttling or suppression in Splunk, and add deduplication logic in the workflow keyed on a stable event identifier

Questions buyers ask before connecting Splunk to Shuffle

How much effort does a Splunk to Shuffle alert integration take?

Effort depends mostly on how many saved searches you forward, how many Shuffle workflows they start, and how much field mapping each workflow needs. The basic path is simple: save a search as an alert in Splunk, add a Webhook trigger action with the URL of a started Shuffle webhook, and test the payload. Costs grow when each alert needs its own parsing logic, when several alerts share one workflow with different fields, or when the workflow queries Splunk back for context. Ask any partner to break the quote down by saved search count, workflow count and mapping complexity, and to state which of these they have assumed.

Can our own team connect Splunk to Shuffle without a partner?

Yes, for a small number of alerts, a team with Splunk and Shuffle experience can usually build the webhook path internally. The work is documented in the Shuffle extensions guide, and the Splunk app documentation covers the authentication options. A partner adds the most value when alert volume is high, when role design must satisfy an access review, or when you need tested workflows and a runbook before production use. Decide early which part your staff will own after handover, because the saved searches and workflows will need steady attention.

What do Splunk and Shuffle administrators need to provide?

The work needs both sides. Splunk administrators must confirm which saved searches may send alerts, create a service account with the right roles or capabilities, and decide how credentials are issued. Shuffle administrators must start the webhook trigger, store any Splunk credentials in Shuffle's encrypted storage, and keep the workflow reachable from the Splunk search heads that send alerts. Agree on a test alert, a change window and an owner for each side before work starts, so the handover is clear.

Does a paid Shuffle license change the cost of this integration?

Shuffle prices on app runs, meaning actions that actually execute in a workflow. Triggers and skipped actions are not counted, and users, apps and workflows are unlimited, according to Shuffle's pricing article. A webhook that starts a workflow therefore does not add a run by itself, but every Splunk query, enrichment or ticketing step that executes does. Estimate run volume from the alert rate and the number of actions each workflow executes, and confirm the current terms with Shuffle before you commit, since limits and tiers can change.

Which Splunk query and authentication choices affect security?

Splunk REST calls from Shuffle need either a username and password or a Splunk authentication token, which Splunk supports from version 7.3. Tokens are the better fit for a service account because they can be scoped, revoked and rotated without sharing a human password. REST access also depends on role or capability-based authorization, so give the account only the capabilities its searches need. Confirm the authentication method you intend to use against the Shuffle Splunk app documentation for your Splunk version before you design the workflow.

What ongoing work follows the initial connection?

Several tasks recur after go-live. Tokens and passwords need rotation on a schedule your security policy sets, and workflows must be updated when a token changes. Saved searches need tuning as log sources change, which can alter payload fields and create noisy alerts. Shuffle itself needs upgrades to a supported version, and the Splunk app may change with it, so test the webhook path after each upgrade. Also note that the default authenticated Splunk session timeout is one hour, adjustable with sessionTimeout in server.conf, which affects long-running queries from workflows.

What should we check before moving the integration to production?

Check that alerts reach a test workflow with the expected fields, that the Splunk service account has only the capabilities it needs, and that a failed webhook or failed REST call produces a visible error rather than silent data loss. Confirm the session timeout behavior with a long query, and document who receives notifications when a workflow fails. Keep the Shuffle version pinned and recorded, and plan a rollback path for saved searches that flood the workflow. Ask any partner to show this verification plan in writing as part of the scope.

Where the official Splunk and Shuffle documentation fits

Start with the Shuffle extensions docs for the Splunk webhook guide, because that is where the alert-side setup is described: saving a search as an alert in Splunk, adding a Webhook trigger action, and pasting in the URL of a started Shuffle webhook. Treat that guide as the source for the wiring between the two products. Use it to confirm the exact steps your Shuffle version expects before you build the trigger, and keep a note of the Shuffle version you tested against, since the webhook workflow is tied to the Shuffle release you run. (Shuffle extensions docs)

For the query-back side, the Shuffle Splunk app docs cover the two authentication options the app supports, a username and password or Splunk authentication tokens, and the session behavior that affects long-running workflows. The docs note a default authenticated session timeout of one hour, adjustable with sessionTimeout in server.conf. Confirm whether your Splunk deployment has changed that value, and decide with your Splunk administrator which account the app uses, since REST access depends on role or capability-based authorization. (Shuffle Splunk app docs)

Neither source replaces Splunk's own documentation for your release. Confirm which Splunk versions are currently supported for token authentication, the exact capability names your role needs for REST searches, and how token lifetimes and server.conf settings behave in your version. Record those checks alongside the Shuffle version and app version you deployed, so an upgrade on either side triggers a re-test of the alert and query paths.

How a Splunk alert flows into a Shuffle workflow and back

The flow starts when a saved search in Splunk fires and its Webhook alert action posts to the URL of a started Shuffle webhook. Shuffle's backend queues the execution, and Orborus picks it up and starts a worker, which runs the workflow's app actions. When the playbook needs more context, it calls the Splunk REST API using a token, and the results return to the playbook. The trust boundary sits between Splunk and the Shuffle network, so check which direction ports must open, where the token is stored, and which Splunk role the token carries.

Alert flow from a Splunk saved search into a Shuffle workflow and back to Splunk.

How DeployOpen scopes and delivers Splunk to Shuffle integrations

DeployOpen plans, builds, tests and documents Shuffle workflows that receive Splunk saved-search alerts and query Splunk back through token-based REST access. The work runs inside your own infrastructure, with the Splunk permissions, Shuffle secrets and runtime placement agreed in writing before any build starts.

How we scope

  • Confirm which saved searches will send alerts, and which Shuffle workflows will receive them.
  • Agree the Splunk role and capabilities for each REST query the workflows will make.
  • Record how the Splunk token will be created, stored, rotated and tied to a service account.

How we build

  • Configure the webhook alert action in Splunk and the matching webhook trigger in Shuffle.
  • Map alert fields into workflow variables and test payloads from real saved-search results.
  • Protect saved Splunk credentials with the Shuffle encryption setting and check session timeouts.

How we hand over

  • Deliver the workflow exports, Splunk configuration notes and the role and token inventory.
  • Document failure handling for rejected tokens, expired sessions and unreachable webhooks.
  • Walk your security and operations staff through the test results and the runbook.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer.
  • Retesting after Splunk or Shuffle version changes is included in the scope when agreed in advance.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.