Skip to content

Instantly share code, notes, and snippets.

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 anelson-vidscale/7a14fe5566974892aa39a9a2683084ae to your computer and use it in GitHub Desktop.
Save anelson-vidscale/7a14fe5566974892aa39a9a2683084ae to your computer and use it in GitHub Desktop.
Sample Alert Data
PUT /ledger/log/_bulk?refresh
{"index":{"_id":1}}
{"alert_key": "storage","severity": "critical", "@timestamp" : "2019-11-01T06:04:10.000000+00:00", "start_epoch" : 1572588250, "jira" : "OST-1", "state" : "fire"}
{"index":{"_id":2}}
{"alert_key": "cpu","severity": "high", "@timestamp" : "2019-11-01T06:04:10.000000+00:00", "start_epoch" : 1572588250, "jira" : "OST-2", "state" : "fire"}
{"index":{"_id":3}}
{"alert_key": "memory","severity": "medium", "@timestamp" : "2019-11-01T06:04:10.000000+00:00", "start_epoch" : 1572588250, "jira" : "OST-3", "state" : "fire"}
{"index":{"_id":4}}
{"alert_key": "disk","severity": "low", "@timestamp" : "2019-11-01T06:04:10.000000+00:00", "start_epoch" : 1572588250, "jira" : "OST-4", "state" : "fire"}
{"index":{"_id":5}}
{"alert_key": "storage","severity": "critical", "@timestamp" : "2019-11-02T10:50:50.000000+00:00", "start_epoch" : 1572691850, "jira" : "OST-1", "state" : "resolve"}
{"index":{"_id":6}}
{"alert_key": "storage","severity": "critical", "@timestamp" : "2019-11-02T10:50:52.000000+00:00", "start_epoch" : 1572691852, "jira" : "OST-5", "state" : "fire"}
{"index":{"_id":7}}
{"alert_key": "memory","severity": "medium", "@timestamp" : "2019-11-01T07:04:11.000000+00:00", "start_epoch" : 1572591851, "jira" : "OST-5", "state" : "resolve"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment