Skip to content

Commit

Permalink
check monitor status by monitor.timespan
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiqueclarke committed Jul 6, 2021
1 parent df8f870 commit d813e2e
Show file tree
Hide file tree
Showing 5 changed files with 449 additions and 21 deletions.
212 changes: 212 additions & 0 deletions test/functional/fixtures/es_archiver/synthetics_alerts/mappings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
{
"type": "index",
"value": {
"aliases": {
".kibana-alerts-observability-synthetics": {
"is_write_index": true
}
},
"index": ".kibana_1",
"mappings": {
"dynamic": "strict",
"properties": {
"@timestamp": {
"type": "date"
},
"agent": {
"properties": {
"name": {
"type": "keyword"
}
}
},
"anomaly": {
"properties": {
"expected_response": {
"type": "double"
},
"observer_location": {
"type": "keyword"
},
"severity": {
"type": "keyword"
},
"severity_score": {
"type": "double"
},
"slowest_response": {
"type": "double"
},
"start": {
"type": "date"
}
}
},
"cert": {
"properties": {
"count": {
"type": "integer"
}
}
},
"cert_status": {
"properties": {
"aging_common_name_and_date": {
"type": "text"
},
"aging_count": {
"type": "integer"
},
"expiring_common_name_and_date": {
"type": "text"
},
"expiring_count": {
"type": "integer"
},
"has_aging": {
"type": "boolean"
},
"has_expired": {
"type": "boolean"
}
}
},
"error": {
"properties": {
"message": {
"type": "text"
}
}
},
"event": {
"properties": {
"action": {
"type": "keyword"
},
"kind": {
"type": "keyword"
}
}
},
"kibana": {
"properties": {
"rac": {
"properties": {
"alert": {
"properties": {
"duration": {
"properties": {
"us": {
"type": "long"
}
}
},
"end": {
"type": "date"
},
"evaluation": {
"properties": {
"threshold": {
"scaling_factor": 100,
"type": "scaled_float"
},
"value": {
"scaling_factor": 100,
"type": "scaled_float"
}
}
},
"id": {
"type": "keyword"
},
"producer": {
"type": "keyword"
},
"severity": {
"properties": {
"level": {
"type": "keyword"
},
"value": {
"type": "long"
}
}
},
"start": {
"type": "date"
},
"status": {
"type": "keyword"
},
"uuid": {
"type": "keyword"
}
}
}
}
}
}
},
"monitor": {
"properties": {
"id": {
"type": "keyword"
},
"name": {
"type": "keyword"
},
"type": {
"type": "keyword"
}
}
},
"observer": {
"properties": {
"geo": {
"properties": {
"name": {
"type": "keyword"
}
}
}
}
},
"reason": {
"type": "text"
},
"rule": {
"properties": {
"category": {
"type": "keyword"
},
"id": {
"type": "keyword"
},
"name": {
"type": "keyword"
},
"uuid": {
"type": "keyword"
}
}
},
"tags": {
"type": "keyword"
},
"url": {
"properties": {
"full": {
"type": "keyword"
}
}
}
}
},
"settings": {
"index": {
"number_of_replicas": "1",
"number_of_shards": "1"
}
}
}
}
Loading

0 comments on commit d813e2e

Please sign in to comment.