forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from john-gress/add_alarms_dashboard_US314
Add Alarms dashboard. Modify exportAssets.py to export all references
- Loading branch information
Showing
19 changed files
with
242 additions
and
100 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"migrationVersion": { | ||
"dashboard": "7.0.0" | ||
}, | ||
"references": [ | ||
{ | ||
"type": "visualization", | ||
"name": "panel_0", | ||
"id": "Total-Alarms-Fired-(Count)" | ||
}, | ||
{ | ||
"type": "visualization", | ||
"name": "panel_1", | ||
"id": "Count-of-Total-Alarms-Fired-by-Name-(Bar-Chart)" | ||
}, | ||
{ | ||
"type": "visualization", | ||
"name": "panel_2", | ||
"id": "Summary-of-Total-Alarms-Fired-(Pie-Chart)" | ||
}, | ||
{ | ||
"type": "search", | ||
"name": "panel_3", | ||
"id": "Alarms-Table" | ||
} | ||
], | ||
"type": "dashboard", | ||
"dashboard": { | ||
"hits": 0, | ||
"timeRestore": false, | ||
"description": "", | ||
"title": "Alarms Dashboard", | ||
"panelsJSON": "[{\"gridData\":{\"h\":12,\"i\":\"1\",\"w\":48,\"x\":0,\"y\":16},\"panelIndex\":\"1\",\"version\":\"7.2.0\",\"panelRefName\":\"panel_0\"},{\"gridData\":{\"h\":16,\"i\":\"2\",\"w\":24,\"x\":0,\"y\":0},\"panelIndex\":\"2\",\"version\":\"7.2.0\",\"panelRefName\":\"panel_1\"},{\"gridData\":{\"h\":16,\"i\":\"3\",\"w\":24,\"x\":24,\"y\":0},\"panelIndex\":\"3\",\"version\":\"7.2.0\",\"panelRefName\":\"panel_2\"},{\"embeddableConfig\":{\"columns\":[\"RuleName\",\"RuleSeverity\",\"Application\",\"Session\",\"SrcIP\",\"DestIP\",\"TotalBytes\"],\"sort\":[\"TimeUpdated\",\"desc\"]},\"gridData\":{\"h\":20,\"i\":\"4\",\"w\":48,\"x\":0,\"y\":28},\"panelIndex\":\"4\",\"version\":\"7.2.0\",\"panelRefName\":\"panel_3\"}]", | ||
"optionsJSON": "{\"hidePanelTitles\":false,\"useMargins\":true}", | ||
"version": 2, | ||
"kibanaSavedObjectMeta": { | ||
"searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"*\",\"language\":\"lucene\"}}" | ||
} | ||
}, | ||
"updated_at": "2019-09-20T17:04:30.894Z" | ||
} |
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
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
14 changes: 14 additions & 0 deletions
14
resources/index-pattern:f655f660-db31-11e9-9a47-f1b6a93b3342.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"migrationVersion": { | ||
"search": "7.0.0" | ||
}, | ||
"references": [ | ||
{ | ||
"type": "index-pattern", | ||
"name": "kibanaSavedObjectMeta.searchSourceJSON.index", | ||
"id": "f655f660-db31-11e9-9a47-f1b6a93b3342" | ||
} | ||
], | ||
"search": { | ||
"sort": [ | ||
"TimeUpdated", | ||
"desc" | ||
], | ||
"hits": 0, | ||
"description": "", | ||
"title": "Alarms Table", | ||
"version": 2, | ||
"kibanaSavedObjectMeta": { | ||
"searchSourceJSON": "{\"query\":{\"query\":{\"query_string\":{\"analyze_wildcard\":true,\"query\":\"*\",\"time_zone\":\"America/Denver\"}},\"language\":\"lucene\"},\"highlight\":{\"pre_tags\":[\"@kibana-highlighted-field@\"],\"post_tags\":[\"@/kibana-highlighted-field@\"],\"fields\":{\"*\":{}},\"fragment_size\":2147483647},\"filter\":[],\"highlightAll\":true,\"version\":true,\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}" | ||
}, | ||
"columns": [ | ||
"RuleName", | ||
"RuleSeverity", | ||
"Application", | ||
"Session", | ||
"SrcIP", | ||
"DestIP", | ||
"TotalBytes" | ||
] | ||
}, | ||
"type": "search", | ||
"updated_at": "2019-09-19T23:36:00.668Z" | ||
} |
24 changes: 24 additions & 0 deletions
24
resources/visualization:Count-of-Total-Alarms-Fired-by-Name-(Bar-Chart).json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"migrationVersion": { | ||
"visualization": "7.2.0" | ||
}, | ||
"visualization": { | ||
"visState": "{\"title\":\"Count of Total Alarms Fired by Name (Bar Chart)\",\"type\":\"histogram\",\"params\":{\"shareYAxis\":true,\"addTooltip\":true,\"addLegend\":true,\"scale\":\"linear\",\"mode\":\"stacked\",\"times\":[],\"addTimeMarker\":false,\"defaultYExtents\":false,\"setYExtents\":false,\"yAxis\":{},\"type\":\"histogram\",\"grid\":{\"categoryLines\":false},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"truncate\":100},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\",\"setYExtents\":false,\"defaultYExtents\":false},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":100},\"title\":{\"text\":\"Count\"}}],\"seriesParams\":[{\"show\":\"true\",\"type\":\"histogram\",\"mode\":\"stacked\",\"data\":{\"label\":\"Count\",\"id\":\"1\"},\"valueAxis\":\"ValueAxis-1\"}],\"legendPosition\":\"right\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"date_histogram\",\"schema\":\"segment\",\"params\":{\"field\":\"TimeUpdated\",\"useNormalizedEsInterval\":true,\"interval\":\"auto\",\"drop_partials\":false,\"min_doc_count\":1,\"extended_bounds\":{}}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"group\",\"params\":{\"field\":\"RuleName.keyword\",\"order\":\"desc\",\"size\":20,\"orderBy\":\"1\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\"}}]}", | ||
"description": "", | ||
"title": "Count of Total Alarms Fired by Name (Bar Chart)", | ||
"uiStateJSON": "{}", | ||
"version": 1, | ||
"kibanaSavedObjectMeta": { | ||
"searchSourceJSON": "{\"query\":{\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}},\"language\":\"lucene\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}" | ||
} | ||
}, | ||
"type": "visualization", | ||
"updated_at": "2019-09-20T15:53:36.220Z", | ||
"references": [ | ||
{ | ||
"type": "index-pattern", | ||
"name": "kibanaSavedObjectMeta.searchSourceJSON.index", | ||
"id": "f655f660-db31-11e9-9a47-f1b6a93b3342" | ||
} | ||
] | ||
} |
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
24 changes: 24 additions & 0 deletions
24
resources/visualization:Summary-of-Total-Alarms-Fired-(Pie-Chart).json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"migrationVersion": { | ||
"visualization": "7.2.0" | ||
}, | ||
"visualization": { | ||
"visState": "{\"title\":\"Summary of Total Alarms Fired (Pie Chart)\",\"type\":\"pie\",\"params\":{\"shareYAxis\":true,\"addTooltip\":true,\"addLegend\":true,\"isDonut\":false,\"type\":\"pie\",\"legendPosition\":\"right\",\"labels\":{\"show\":false,\"values\":true,\"last_level\":true,\"truncate\":100}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"RuleSeverity.keyword\",\"order\":\"desc\",\"size\":3,\"orderBy\":\"1\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"RuleName.keyword\",\"order\":\"desc\",\"size\":10,\"orderBy\":\"1\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"Application.keyword\",\"order\":\"desc\",\"size\":10,\"orderBy\":\"1\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\"}}]}", | ||
"description": "", | ||
"title": "Summary of Total Alarms Fired (Pie Chart)", | ||
"uiStateJSON": "{}", | ||
"version": 1, | ||
"kibanaSavedObjectMeta": { | ||
"searchSourceJSON": "{\"query\":{\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}},\"language\":\"lucene\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}" | ||
} | ||
}, | ||
"type": "visualization", | ||
"updated_at": "2019-09-19T23:15:58.252Z", | ||
"references": [ | ||
{ | ||
"type": "index-pattern", | ||
"name": "kibanaSavedObjectMeta.searchSourceJSON.index", | ||
"id": "f655f660-db31-11e9-9a47-f1b6a93b3342" | ||
} | ||
] | ||
} |
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
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
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
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
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
Oops, something went wrong.