Docs » Splunk On-Call integrations » Desk.com integration for Splunk On-Call

Desk.com integration for Splunk On-Call ๐Ÿ”—

Desk.com is an online customer service software and support ticket help desk application for small business and fast-growing companies. The following documentation walks you through the steps to create a custom Splunk On-Call application within Desk.com.

Requirements ๐Ÿ”—

This integration is compatible with the following versions of Splunk On-Call:

  • Starter

  • Growth

  • Enterprise

Splunk On-Call configuration ๐Ÿ”—

In Splunk On-Call, select Integrations, Desk.com.

If the integration isnโ€™t active, select Enable Integration to generate your endpoint URL. Make sure to replace the $routing_key section with the routing key you want to use. See Create Routing Keys in Splunk On-Call.

Activate the Desk integration

Desk.com configuration ๐Ÿ”—

Select the menu icon and then Admin.

Select the menu icon and then Admin

On the admin page select Apps, then find Custom Action and select Install.

Select install

Next select Install Custom Action.

Custom action installation

Accept the terms, then give the action a name. Set the authentication method to None, paste in your Post URL that you copied from Splunk On-Call in the first step, then make sure the action is set to Active. Select Create to finish.

Create action

On the next screen, select Add Action.

Add action

Give the action a name. Select POST a JSON string to a URL as the action type. Paste the following JSON snippet:

`json { "entity_id":"{{case.id}}", "message_type":"CRITICAL", "state_message":"New Case: {{case.id}} about {{case.subject}}", "Case Description":"{{case.description}}", "Case Priority":"{{case.priority}}", "Customer":"{{case.customer}}", "Case Email":"{{case.emails}}", "alert_url":"{{case.direct_url}}" } `

Then select Add Action.

Add action

Next, add the action to a Case Created rule. To do this, select Cases, then under Rules select Case Created and finally Add Rule.

Add rule

Give the rule a name then select Add.

Adding the rule

Add any Condition you might need. Set the Rule Actions field to Trigger an App Action, then select the Splunk On-Call action you previously created. Select Update.

Update the rule action

If you want to create an action and rule for when the case is closed or resolved, follow the previous steps and use the following JSON snippet:

`json { "entity_id":"{{case.id}}", "message_type":"RECOVERY", "state_message":"New Case: {{case.id}} about {{case.subject}}", "Case Description":"{{case.description}}", "Case Priority":"{{case.priority}}", "Customer":"{{case.customer}}", "Case Email":"{{case.emails}}", "alert_url":"{{case.direct_url}}" } `

This page was last updated on May 03, 2024.