Advertisement
Hilkoqhh

Untitled

Dec 5th, 2017
622
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.89 KB | None | 0 0
  1. {
  2.     "searches": {
  3.         "alert_id1": {
  4.             "data": {
  5.                 "properties": {
  6.                     "etag": "*",
  7.                     "Category": "Alert",
  8.                     "DisplayName": "HTTP Error code from XXX",
  9.                     "Query": "Response_s!=\\'200\\'",
  10.                     "Version": "1"
  11.                 }
  12.             },
  13.             "schedules": {
  14.                 "myschedule1": {
  15.                     "data": {
  16.                         "etag": "*",
  17.                         "properties": {
  18.                             "Interval": 6,
  19.                             "QueryTimeSpan": 6,
  20.                             "Enabled": "true"
  21.                         }
  22.                     },
  23.                     "actions": {
  24.                         "myaction1": {
  25.                             "etag": "*",
  26.                             "properties": {
  27.                                 "Name": "MyEmailAction",
  28.                                 "Version": "1",
  29.                                 "Type": "Alert",
  30.                                 "Threshold": {
  31.                                     "Operator": "gt",
  32.                                     "Value": 0
  33.                                 },
  34.                                 "EmailNotification": {
  35.                                     "Recipients": ["recipient1@example.com",
  36.                                     "recipient2@example.com"],
  37.                                     "Subject": "This is the subject Error from XXX",
  38.                                     "Attachment": "None"
  39.                                 }
  40.                             }
  41.                         }
  42.                     }
  43.                 }
  44.             }
  45.         },
  46.         "alert_id2": {
  47.             "data": {
  48.                 "etag": "*",
  49.                 "properties": {
  50.                     "Category": "Alert",
  51.                     "DisplayName": "HTTP Error code from XXX",
  52.                     "Query": "Response_s!=\\'200\\'",
  53.                     "Version": "1"
  54.                 }
  55.             },
  56.             "schedules": {
  57.                 "myschedule2": {
  58.                     "data": {
  59.                         "etag": "*",
  60.                         "properties": {
  61.                             "Interval": 5,
  62.                             "QueryTimeSpan": 5,
  63.                             "Enabled": "true"
  64.                         }
  65.                     },
  66.                     "actions": {
  67.                         "myaction2": {
  68.                             "etag": "*",
  69.                             "properties": {
  70.                                 "Name": "MyEmailAction2",
  71.                                 "Version": "1",
  72.                                 "Type": "Alert",
  73.                                 "Threshold": {
  74.                                     "Operator": "gt",
  75.                                     "Value": 0
  76.                                 },
  77.                                 "EmailNotification": {
  78.                                     "Recipients": [
  79.                                         "hilko.krueger@example.com",
  80.                                         "recipient2@example.com"
  81.                                     ],
  82.                                     "Subject": "This is the subject Error from XXX2",
  83.                                     "Attachment": "None"
  84.                                 }
  85.                             }
  86.                         }
  87.                     }
  88.                 }
  89.             }
  90.         }
  91.     }
  92. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement