Skip to content

Instantly share code, notes, and snippets.

@jamielennox
Created February 16, 2018 03:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamielennox/ec78a28ab79485dadf0a7bb0bc25b15b to your computer and use it in GitHub Desktop.
Save jamielennox/ec78a28ab79485dadf0a7bb0bc25b15b to your computer and use it in GitHub Desktop.
PagerDuty V2 - Sumo Integration
{
"routing_key": "XXXXXXXXXXX",
"event_action": "trigger",
"payload": {
"summary": "Search '$SearchName' fired an alert on 'Test Service' in SumoLogic.",
"source": "sumologic",
"severity": "info",
"custom_details": {
"name": "Sumo: $SearchName",
"description": "$SearchDescription",
"time": "$FireTime",
"timerange": "$TimeRange",
"num": "$NumRawResults",
"query": "$SearchQuery",
"agg": "$AggregateResultsJson"
}
},
"links": [{
"href": "$SearchQueryUrl",
"text": "Sumo Search"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment