Skip to main content

Splunk

This integration assists you in retrieving data and enables Splunk in your automation workflows.

Splunk in a Spot Connect workflow enables you to:

  • Retrieve data from Splunk based on a query described.
  • Connect the data to other workflow steps involving third-party integrations.

Configure Splunk in Spot Connect

  1. In the left main menu, click Connect and click Settings.
  2. Under the Integrations tab, select Splunk.
  3. Configure a new integration instance with the information below.

Details needed to set up a Splunk instance in Spot Connect:

ParameterDescriptionRequired
Integration AliasA name for the integration instanceTrue
Splunk URLURL of the Splunk CloudTrue
Access TokenToken used to access the Splunk CloudTrue

Follow the steps below to integrate your Splunk instance with Spot Connect:

  1. Enter the URL of your Splunk Cloud instance in the Splunk URL field in Spot Connect in the following format: <yoursubdomain>.splunkcloud.com. Do not add https:// or http:// at the beginning.
  2. Generate an access token by following instructions from Splunk Cloud documentation Create authentication tokens - Splunk Documentation. Then enter the access token in the Access Token field.

Integration Actions

You can add this action in the Spot Connect workflow builder as part of your workflow:

This action performs a search query on Splunk Service.

Input

ParameterDescriptionRequired
Splunk InstanceSelect a Splunk integration instance configured in Spot ConnectTrue
Search QuerySplunk query string to be executed during the runTrue
S3 BucketName of the S3 bucket where the entire query result can be writtenFalse

Output

ParameterTypeDescription
resultStringString representation of a JSON payload consisting of the query result
is_result_truncatedBooleanIs the result truncated
result_bucket_keyStringObject path in the S3 bucket
s3_bucketStringIt shows the bucket name where the output is stored
execution_statusStringThe current status of the incident

Action Example

Drag and drop the Splunk Search action node onto the center panel and enter all necessary parameters. Save and run the workflow.

Input

splunk-1

Output

splunk-2