-
-
Save skearns64/aacb43177ee1969aa4a2a989a6612ad7 to your computer and use it in GitHub Desktop.
Watcher Dashboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"_id": "Watch-Dashboard", | |
"_type": "dashboard", | |
"_source": { | |
"title": "Watch Dashboard", | |
"hits": 0, | |
"description": "", | |
"panelsJSON": "[{\"col\":4,\"id\":\"Watch-Status-over-Time\",\"panelIndex\":1,\"row\":1,\"size_x\":9,\"size_y\":2,\"type\":\"visualization\"},{\"col\":4,\"columns\":[\"_id\",\"trigger.schedule.interval\",\"_status.last_met_condition\",\"_status.actions.logging.ack.state\",\"_status.state.active\"],\"id\":\"Watch-List\",\"panelIndex\":2,\"row\":3,\"size_x\":9,\"size_y\":2,\"sort\":[\"_score\",\"desc\"],\"type\":\"search\"},{\"col\":1,\"id\":\"Fired-Actions-by-Type\",\"panelIndex\":3,\"row\":3,\"size_x\":3,\"size_y\":2,\"type\":\"visualization\"},{\"col\":1,\"id\":\"Conditions-by-Type\",\"panelIndex\":4,\"row\":5,\"size_x\":3,\"size_y\":2,\"type\":\"visualization\"},{\"col\":1,\"id\":\"Total-Watch-Executions\",\"panelIndex\":5,\"row\":1,\"size_x\":1,\"size_y\":2,\"type\":\"visualization\"},{\"id\":\"Action-Pie-Chart\",\"type\":\"visualization\",\"panelIndex\":6,\"size_x\":2,\"size_y\":2,\"col\":2,\"row\":1},{\"id\":\"Most-Frequent-Watches-with-Met-Condition\",\"type\":\"visualization\",\"panelIndex\":7,\"size_x\":9,\"size_y\":2,\"col\":4,\"row\":5}]", | |
"optionsJSON": "{\"darkTheme\":false}", | |
"uiStateJSON": "{\"P-3\":{\"vis\":{\"colors\":{\"logging\":\"#9AC48A\",\"slack\":\"#806EB7\"},\"legendOpen\":true},\"spy\":{\"mode\":{\"name\":null,\"fill\":false}}},\"P-6\":{\"vis\":{\"colors\":{\"No Action\":\"#DEDAF7\",\"Throttled\":\"#F2C96D\"},\"legendOpen\":false}}}", | |
"version": 1, | |
"timeRestore": false, | |
"kibanaSavedObjectMeta": { | |
"searchSourceJSON": "{\"filter\":[{\"query\":{\"query_string\":{\"analyze_wildcard\":true,\"query\":\"*\"}}}]}" | |
} | |
} | |
}, | |
{ | |
"_id": "Watch-List", | |
"_type": "search", | |
"_source": { | |
"title": "Currently Configured Watches", | |
"description": "", | |
"hits": 0, | |
"columns": [ | |
"_id", | |
"trigger.schedule.interval", | |
"_status.last_met_condition", | |
"_status.actions.logging.ack.state", | |
"_status.state.active" | |
], | |
"sort": [ | |
"_score", | |
"desc" | |
], | |
"version": 1, | |
"kibanaSavedObjectMeta": { | |
"searchSourceJSON": "{\n \"index\": \".watches\",\n \"query\": {\n \"query_string\": {\n \"analyze_wildcard\": true,\n \"query\": \"*\"\n }\n },\n \"filter\": [],\n \"highlight\": {\n \"pre_tags\": [\n \"@kibana-highlighted-field@\"\n ],\n \"post_tags\": [\n \"@/kibana-highlighted-field@\"\n ],\n \"fields\": {\n \"*\": {}\n },\n \"require_field_match\": false,\n \"fragment_size\": 2147483647\n }\n}" | |
} | |
} | |
}, | |
{ | |
"_id": "Fired-Actions-by-Type", | |
"_type": "visualization", | |
"_source": { | |
"title": "Fired Actions by Type", | |
"visState": "{\"title\":\"New Visualization\",\"type\":\"pie\",\"params\":{\"shareYAxis\":true,\"addTooltip\":true,\"addLegend\":true,\"isDonut\":false},\"aggs\":[{\"id\":\"1\",\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"result.actions.type\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}],\"listeners\":{}}", | |
"uiStateJSON": "{}", | |
"description": "", | |
"version": 1, | |
"kibanaSavedObjectMeta": { | |
"searchSourceJSON": "{\"index\":\".watch_history*\",\"query\":{\"query_string\":{\"query\":\"result.condition.met: true AND result.actions.status: success\",\"analyze_wildcard\":true}},\"filter\":[]}" | |
} | |
} | |
}, | |
{ | |
"_id": "Conditions-by-Type", | |
"_type": "visualization", | |
"_source": { | |
"title": "Conditions by Type", | |
"visState": "{\"title\":\"Fired Actions by Type\",\"type\":\"pie\",\"params\":{\"shareYAxis\":true,\"addTooltip\":true,\"addLegend\":true,\"isDonut\":false},\"aggs\":[{\"id\":\"1\",\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"result.condition.type\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}],\"listeners\":{}}", | |
"uiStateJSON": "{}", | |
"description": "", | |
"version": 1, | |
"kibanaSavedObjectMeta": { | |
"searchSourceJSON": "{\"index\":\".watch_history*\",\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}},\"filter\":[]}" | |
} | |
} | |
}, | |
{ | |
"_id": "Total-Watch-Executions", | |
"_type": "visualization", | |
"_source": { | |
"title": "Total Watch Executions", | |
"visState": "{\"title\":\"Total Watch Executions\",\"type\":\"metric\",\"params\":{\"handleNoResults\":true,\"fontSize\":\"16\"},\"aggs\":[{\"id\":\"1\",\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Total Watch Executions\"}}],\"listeners\":{}}", | |
"uiStateJSON": "{}", | |
"description": "", | |
"version": 1, | |
"kibanaSavedObjectMeta": { | |
"searchSourceJSON": "{\"index\":\".watch_history*\",\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}},\"filter\":[]}" | |
} | |
} | |
}, | |
{ | |
"_id": "Most-Frequent-Watches-with-Met-Condition", | |
"_type": "visualization", | |
"_source": { | |
"title": "Most Frequent Watches with Met Condition", | |
"visState": "{\"title\":\"New Visualization\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false},\"aggs\":[{\"id\":\"1\",\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"watch_id\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}],\"listeners\":{}}", | |
"uiStateJSON": "{}", | |
"description": "", | |
"version": 1, | |
"kibanaSavedObjectMeta": { | |
"searchSourceJSON": "{\"index\":\".watch_history*\",\"query\":{\"query_string\":{\"query\":\"result.condition.met: true\",\"analyze_wildcard\":true}},\"filter\":[]}" | |
} | |
} | |
}, | |
{ | |
"_id": "Action-Pie-Chart", | |
"_type": "visualization", | |
"_source": { | |
"title": "Action Pie Chart", | |
"visState": "{\"title\":\"New Visualization\",\"type\":\"pie\",\"params\":{\"shareYAxis\":true,\"addTooltip\":true,\"addLegend\":true,\"isDonut\":false},\"aggs\":[{\"id\":\"1\",\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"type\":\"filters\",\"schema\":\"segment\",\"params\":{\"filters\":[{\"input\":{\"query\":{\"query_string\":{\"query\":\"result.condition.met: false\",\"analyze_wildcard\":true}}},\"label\":\"No Action\"},{\"input\":{\"query\":{\"query_string\":{\"query\":\"result.condition.met: true AND (result.actions.status: success OR result.actions.status:failed)\",\"analyze_wildcard\":true}}},\"label\":\"Action Fired\"},{\"input\":{\"query\":{\"query_string\":{\"query\":\"result.condition.met: true AND result.actions.status: throttled\",\"analyze_wildcard\":true}}},\"label\":\"Throttled\"}]}}],\"listeners\":{}}", | |
"uiStateJSON": "{}", | |
"description": "", | |
"version": 1, | |
"kibanaSavedObjectMeta": { | |
"searchSourceJSON": "{\"index\":\".watch_history*\",\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}},\"filter\":[]}" | |
} | |
} | |
}, | |
{ | |
"_id": "Watch-Status-over-Time", | |
"_type": "visualization", | |
"_source": { | |
"title": "Watch Status over Time", | |
"visState": "{\"title\":\"Watch Status over Time\",\"type\":\"histogram\",\"params\":{\"shareYAxis\":true,\"addTooltip\":true,\"addLegend\":true,\"scale\":\"linear\",\"mode\":\"stacked\",\"times\":[],\"addTimeMarker\":false,\"defaultYExtents\":false,\"setYExtents\":false,\"yAxis\":{}},\"aggs\":[{\"id\":\"1\",\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"Watch Count\"}},{\"id\":\"2\",\"type\":\"date_histogram\",\"schema\":\"segment\",\"params\":{\"field\":\"trigger_event.triggered_time\",\"interval\":\"auto\",\"customInterval\":\"2h\",\"min_doc_count\":1,\"extended_bounds\":{},\"customLabel\":\"Watch Execution Time\"}},{\"id\":\"3\",\"type\":\"filters\",\"schema\":\"group\",\"params\":{\"filters\":[{\"input\":{\"query\":{\"query_string\":{\"query\":\"result.condition.met: false\",\"analyze_wildcard\":true}}},\"label\":\"No Action\"},{\"input\":{\"query\":{\"query_string\":{\"query\":\"result.condition.met: true AND NOT result.actions.status: throttled\",\"analyze_wildcard\":true}}},\"label\":\"Actions Fired\"},{\"input\":{\"query\":{\"query_string\":{\"query\":\"result.condition.met: true AND result.actions.status: throttled\",\"analyze_wildcard\":true}}},\"label\":\"Throttled\"}]}}],\"listeners\":{}}", | |
"uiStateJSON": "{\"vis\":{\"colors\":{\"0\":\"#7EB26D\",\"1\":\"#BF1B00\",\"Throttled\":\"#F2C96D\",\"Actions Fired\":\"#BF1B00\",\"No Action\":\"#DEDAF7\"}}}", | |
"description": "", | |
"version": 1, | |
"kibanaSavedObjectMeta": { | |
"searchSourceJSON": "{\"index\":\".watch_history*\",\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}},\"filter\":[]}" | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanhs bhroter