Use Splunk with Automation
This article refers to features that are currently rolling out. To find out when these features will be live on your site, keep an eye on our release notes or the Atlassian Community.
The Splunk integration with Automation is only available to Jira Service Management Cloud customers on Premium or Enterprise plans. Find out how to upgrade your plan.
You can connect your Splunk account with your project to automate the process of managing the code delivery process.
To use these actions, you need to connect the Splunk app to Atlassian Automation. For most of the automation actions, you’ll get a connection setup message when you select them. Once the connection is established, you can automate actions and set up triggers based on Splunk events.
Before you begin
To manage project automations, you must have the appropriate project permissions:
- Company-managed projects: You’ll need the Administer projects and Browse projects permissions for your project. Learn more about permissions for company-managed projects 
- Team-managed projects: You’ll need Administrator access for your project. Learn more about permissions for team-managed projects 
To manage global automations, you’ll need the Administer Jira permission. Learn more about global permissions in Jira Cloud.
Integrate your automation rule with Splunk
- Go to Automation and select Create rule. 
- Select the Splunk action for your rule. 
- Select Connect to create a connection with Splunk. Connections allow your automation rules to fetch data from other tools and products. 
- Enter the required information to create your connection with Splunk: 
- Connection name: Enter the name of the Splunk connection. 
- API token: Enter your API key from Splunk to connect it with Atlassian Automation. 
- Domain URL: Enter the base URL for Splunk REST API site. 
5. Select Connect to complete creating your connection.
Actions
Get Splunk user details
You can use this action to retrieve detailed information about a specific user in Splunk, including roles, preferences, and account status.
Enter the following fields or select using smart values:
Username: Enter the username of the user you want to retrieve information for.
Run Splunk search
You can use this action to run a Splunk search query and get a job ID for tracking results.
Enter the following fields or select using smart values:
- Search query: Enter the Splunk search query to execute. 
- Start time: Enter the start time for the search. 
- End time: Enter the end time for the search. 
Get Splunk search results
You can use this action to get results for a completed or running Splunk search job.
Enter the following fields or select using smart values:
- Search ID: Enter the search job ID. 
- Count: Enter the maximum number of results to return. 
- Offset: Enter the starting result index. 
Get Splunk system health
You can use this action to get system health metrics from Splunk, including CPU, memory, and disk space.
Create Splunk alert
You can use this action to create an alert in Splunk to monitor data and trigger notifications.
Enter the following fields or select using smart values:
- Alert name: Enter a unique name for the alert. 
- Search query: Enter the search query to monitor. 
- Cron schedule: Enter the schedule for the alert. 
- Alert type: Select what to base the alert on. 
Get Splunk search job status
You can use this action to get the status and progress of a Splunk search job.
Enter the following field or select using smart values:
Search ID: Enter the search job ID.
Get Splunk dashboards
You can use this action to get a list of all dashboards and views in Splunk, including their metadata.
Delete Splunk user account
You can use this action to permanently delete a user account from Splunk, including all user-specific data and permissions.
Enter the following field or select using smart values:
Username: Enter the username of the user you want to delete.
Create Splunk user account
You can use this action to create a new user account in Splunk with specified roles, permissions, and configuration.
Enter the following fields or select using smart values:
- User ID: Enter a unique user ID for the new user. 
- Password: Enter a password for the new user. 
- Email: Enter the user’s email address. 
- Name of the user: Enter the full name of the user. 
- Roles: Enter a comma-separated list of roles to assign. For example: user, admin. 
Was this helpful?