Skip to content

Commit

Permalink
Add ingress controller dashboards
Browse files Browse the repository at this point in the history
Signed-off-by: chrismark <chrismarkou92@gmail.com>
  • Loading branch information
ChrsMark committed Sep 10, 2020
1 parent bcb4e0c commit 1e33259
Show file tree
Hide file tree
Showing 3 changed files with 1,478 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add capability of enriching process metadata with contianer id also for non-privileged containers in `add_process_metadata` processor. {pull}19767[19767]
- Add replace_fields config option in add_host_metadata for replacing host fields. {pull}20490[20490] {issue}20464[20464]
- Add container ECS fields in kubernetes metadata. {pull}20984[20984]
- Add ingress controller dashboards. {pull}21052[21052]

*Auditbeat*

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,359 @@
{
"objects": [
{
"attributes": {
"description": "Dashboard for the Filebeat Nginx Ingress Controller",
"hits": 0,
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": [],
"highlightAll": true,
"query": {
"language": "kuery",
"query": ""
},
"version": true
}
},
"optionsJSON": {
"darkTheme": false
},
"panelsJSON": [
{
"embeddableConfig": {},
"gridData": {
"h": 4,
"i": "36b94fba-26a2-4a63-9260-1e5bdf3a9dd8",
"w": 48,
"x": 0,
"y": 0
},
"panelIndex": "36b94fba-26a2-4a63-9260-1e5bdf3a9dd8",
"panelRefName": "panel_0",
"version": "7.8.0"
},
{
"embeddableConfig": {},
"gridData": {
"h": 12,
"i": "a7e7600a-703f-48a0-9a3a-3670294ee98b",
"w": 48,
"x": 0,
"y": 4
},
"panelIndex": "a7e7600a-703f-48a0-9a3a-3670294ee98b",
"panelRefName": "panel_1",
"version": "7.8.0"
},
{
"embeddableConfig": {},
"gridData": {
"h": 12,
"i": "1a56c416-e1e4-4e0e-bd2b-ac5e3553d118",
"w": 48,
"x": 0,
"y": 16
},
"panelIndex": "1a56c416-e1e4-4e0e-bd2b-ac5e3553d118",
"panelRefName": "panel_2",
"version": "7.8.0"
},
{
"embeddableConfig": {},
"gridData": {
"h": 28,
"i": "7e5729fd-aa67-4ee2-aaa3-8a67e529d4b1",
"w": 48,
"x": 0,
"y": 28
},
"panelIndex": "7e5729fd-aa67-4ee2-aaa3-8a67e529d4b1",
"panelRefName": "panel_3",
"version": "7.8.0"
}
],
"timeRestore": false,
"title": "[Filebeat Nginx] Ingress Controller access and error logs",
"version": 1
},
"id": "0b3dba40-f341-11ea-a3fd-1b45ec532bb3",
"migrationVersion": {
"dashboard": "7.3.0"
},
"references": [
{
"id": "c37e2770-f341-11ea-a3fd-1b45ec532bb3",
"name": "panel_0",
"type": "visualization"
},
{
"id": "78738850-f342-11ea-a3fd-1b45ec532bb3",
"name": "panel_1",
"type": "visualization"
},
{
"id": "a832bcf0-f342-11ea-a3fd-1b45ec532bb3",
"name": "panel_2",
"type": "search"
},
{
"id": "d20d4ea0-f342-11ea-a3fd-1b45ec532bb3",
"name": "panel_3",
"type": "search"
}
],
"type": "dashboard",
"updated_at": "2020-09-10T08:52:04.498Z",
"version": "WzIzNzIsMV0="
},
{
"attributes": {
"description": "",
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": [],
"query": {
"language": "kuery",
"query": ""
}
}
},
"title": "Dashboards Ingress Controller [Filebeat Nginx] ECS",
"uiStateJSON": {},
"version": 1,
"visState": {
"aggs": [],
"params": {
"fontSize": 12,
"markdown": "[Nginx Ingress Controller logs overview](#/dashboard/dfbc0840-f340-11ea-a3fd-1b45ec532bb3) | [Nginx Ingress Controller access and error logs](#/dashboard/0b3dba40-f341-11ea-a3fd-1b45ec532bb3)",
"openLinksInNewTab": false
},
"title": "Dashboards Ingress Controller [Filebeat Nginx] ECS",
"type": "markdown"
}
},
"id": "c37e2770-f341-11ea-a3fd-1b45ec532bb3",
"migrationVersion": {
"visualization": "7.8.0"
},
"references": [],
"type": "visualization",
"updated_at": "2020-09-10T08:43:56.647Z",
"version": "WzIyOTYsMV0="
},
{
"attributes": {
"description": "",
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": [],
"query": {
"language": "kuery",
"query": ""
}
}
},
"title": "Ingress Controller access logs over time [Filebeat Nginx]",
"uiStateJSON": {},
"version": 1,
"visState": {
"aggs": [],
"params": {
"annotations": [
{
"color": "#F00",
"icon": "fa-tag",
"id": "970b1420-a1f3-11e7-a062-a1c3587f4874",
"ignore_global_filters": 1,
"ignore_panel_filters": 1,
"index_pattern": "filebeat-*",
"time_field": "@timestamp"
}
],
"axis_formatter": "number",
"axis_position": "left",
"axis_scale": "normal",
"background_color_rules": [
{
"id": "3189aa80-a1f3-11e7-a062-a1c3587f4874"
}
],
"default_index_pattern": "heartbeat-*",
"default_timefield": "@timestamp",
"filter": {
"language": "lucene",
"query": "event.module:nginx AND fileset.name:ingress_controller"
},
"id": "61ca57f0-469d-11e7-af02-69e470af7417",
"index_pattern": "filebeat-*",
"interval": "auto",
"isModelInvalid": false,
"legend_position": "bottom",
"series": [
{
"axis_position": "right",
"chart_type": "line",
"color": "#68BC00",
"fill": 0.5,
"formatter": "number",
"id": "61ca57f1-469d-11e7-af02-69e470af7417",
"label": "Access logs",
"line_width": 1,
"metrics": [
{
"id": "61ca57f2-469d-11e7-af02-69e470af7417",
"type": "count"
}
],
"point_size": 1,
"seperate_axis": 0,
"split_color_mode": "gradient",
"split_filters": [
{
"color": "#68BC00",
"id": "1db649a0-a1f3-11e7-a062-a1c3587f4874"
}
],
"split_mode": "everything",
"stacked": "none",
"terms_field": "url.original",
"terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417"
}
],
"show_grid": 1,
"show_legend": 1,
"time_field": "@timestamp",
"type": "timeseries"
},
"title": "Ingress Controller access logs over time [Filebeat Nginx]",
"type": "metrics"
}
},
"id": "78738850-f342-11ea-a3fd-1b45ec532bb3",
"migrationVersion": {
"visualization": "7.8.0"
},
"references": [],
"type": "visualization",
"updated_at": "2020-09-10T08:49:00.245Z",
"version": "WzIzNTcsMV0="
},
{
"attributes": {
"columns": [
"log.level",
"message"
],
"description": "",
"hits": 0,
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": [],
"highlight": {
"fields": {
"*": {}
},
"fragment_size": 2147483647,
"post_tags": [
"@/kibana-highlighted-field@"
],
"pre_tags": [
"@kibana-highlighted-field@"
],
"require_field_match": false
},
"highlightAll": true,
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index",
"query": {
"language": "kuery",
"query": "event.module:nginx AND message:*"
},
"version": true
}
},
"sort": [
[
"@timestamp",
"desc"
]
],
"title": "Nginx Ingress Controller error logs [Filebeat Nginx]",
"version": 1
},
"id": "a832bcf0-f342-11ea-a3fd-1b45ec532bb3",
"migrationVersion": {
"search": "7.4.0"
},
"references": [
{
"id": "filebeat-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern"
}
],
"type": "search",
"updated_at": "2020-09-10T08:50:20.351Z",
"version": "WzIzNjQsMV0="
},
{
"attributes": {
"columns": [
"url.original",
"http.request.method",
"http.response.status_code",
"http.response.body.bytes"
],
"description": "",
"hits": 0,
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": [],
"highlight": {
"fields": {
"*": {}
},
"fragment_size": 2147483647,
"post_tags": [
"@/kibana-highlighted-field@"
],
"pre_tags": [
"@kibana-highlighted-field@"
],
"require_field_match": false
},
"highlightAll": true,
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index",
"query": {
"language": "kuery",
"query": "event.module:nginx AND url.original:*"
},
"version": true
}
},
"sort": [
[
"@timestamp",
"desc"
]
],
"title": "Nginx Ingress Controller access logs [Filebeat Nginx]",
"version": 1
},
"id": "d20d4ea0-f342-11ea-a3fd-1b45ec532bb3",
"migrationVersion": {
"search": "7.4.0"
},
"references": [
{
"id": "filebeat-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern"
}
],
"type": "search",
"updated_at": "2020-09-10T08:51:30.569Z",
"version": "WzIzNzEsMV0="
}
],
"version": "7.8.0"
}
Loading

0 comments on commit 1e33259

Please sign in to comment.