Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Splunk On-Call

Schemessplunk://, victorops://
Cargo featureservice-splunk
Servicehttps://www.splunk.com/en_us/products/on-call.html
Body formatstext (first is the default)
Attachmentsno
Title length60 characters
Body length400 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedyes

URL formats

{schema}://{routing_key}@{apikey}
{schema}://{routing_key}@{apikey}/{entity_id}

{schema} is one of splunk://, victorops://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{apikey}API Keystringyessecret; must match ^[A-Z0-9_-]+$
{entity_id}Entity IDstringno
{routing_key}Target Routing Keystringyesmust match ^[A-Z0-9_-]+$

Query parameters

ParameterMeaningTypeDefaultNotes
actionActionchoicemapone of map, info, acknowledgement, warning, recovery, resolve, critical
apikeyAPI Keystringsets {apikey}
entity_idEntity IDstringsets {entity_id}
routing_keyTarget Routing Keystringsets {routing_key}; also route

Prefixed parameters:

  • :name=value: Action Mapping

The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.

Examples

Accepted URLs (tokens are fake):

splunk://db@apikey
splunk://route@abc123/a/b/c/
splunk://route@abc123/entity_id
https://alert.victorops.com/integrations/generic/20131114/alert/apikey/routing_key
splunk://db@apikey?:f=ack
https://alert.victorops.com/integrations/generic/20131114/alert/apikey/routing_key/entity_id?action=crit
splunk://db@apikey?action=recovery
splunk://db@apikey?:warning=critical

Rejected URLs:

splunk://
splunk://:@/
splunk://routekey@%badapi%
splunk://abc123

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'splunk://db@apikey'

Notes

Splunk On-Call / VictorOps (splunk://, victorops://): incidents through the Splunk On-Call REST endpoint.