a basic Kibana dashboard for Collectd + ELK.
Collectd (configured as LogStash doc example) → LogStash (collectd input) → ElasticSearch → Kibana
a basic Kibana dashboard for Collectd + ELK.
Collectd (configured as LogStash doc example) → LogStash (collectd input) → ElasticSearch → Kibana
{ | |
"title": "Collectd dashboard", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "plugin:\"load\"", | |
"alias": "Load", | |
"color": "#E5AC0E", | |
"id": 0, | |
"pin": false, | |
"type": "lucene", | |
"enable": true | |
}, | |
"1": { | |
"id": 1, | |
"color": "#6D1F62", | |
"alias": "RX", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"interface\" AND plugin_instance:\"eth1\"" | |
}, | |
"2": { | |
"id": 2, | |
"color": "#508642", | |
"alias": "Free", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"memory\" AND type_instance:\"free\"" | |
}, | |
"3": { | |
"id": 3, | |
"color": "#1F78C1", | |
"alias": "Buffered", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"memory\" AND type_instance:\"buffered\"" | |
}, | |
"4": { | |
"id": 4, | |
"color": "#E24D42", | |
"alias": "Used", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"memory\" AND type_instance:\"used\"" | |
}, | |
"5": { | |
"id": 5, | |
"color": "#EA6460", | |
"alias": "/ used", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"df\" AND plugin_instance:\"root\" AND type_instance:\"used\"" | |
}, | |
"6": { | |
"id": 6, | |
"color": "#BA43A9", | |
"alias": "TX", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"interface\" AND plugin_instance:\"eth1\"" | |
}, | |
"7": { | |
"id": 7, | |
"color": "#705DA0", | |
"alias": "Swap", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"swap\"" | |
}, | |
"8": { | |
"id": 8, | |
"color": "#508642", | |
"alias": "/ free", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"df\" AND plugin_instance:\"root\" AND type_instance:\"free\"" | |
}, | |
"9": { | |
"id": 9, | |
"color": "#7EB26D", | |
"alias": "Cached", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"memory\" AND type_instance:\"cached\"" | |
}, | |
"10": { | |
"id": 10, | |
"color": "#447EBC", | |
"alias": "Disk /", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"df\" AND plugin_instance:\"root\"" | |
}, | |
"11": { | |
"id": 11, | |
"color": "#C15C17", | |
"alias": "Users", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"users\"" | |
}, | |
"12": { | |
"id": 12, | |
"color": "#890F02", | |
"alias": "Running", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"processes\" AND type_instance:\"running\"" | |
}, | |
"13": { | |
"id": 13, | |
"color": "#0A437C", | |
"alias": "Zombies", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"processes\" AND type_instance:\"zombies\"" | |
}, | |
"14": { | |
"id": 14, | |
"color": "#6D1F62", | |
"alias": "Stopped", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"processes\" AND type_instance:\"stopped\"" | |
}, | |
"15": { | |
"id": 15, | |
"color": "#584477", | |
"alias": "Paging", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"processes\" AND type_instance:\"paging\"" | |
}, | |
"16": { | |
"id": 16, | |
"color": "#B7DBAB", | |
"alias": "Sleeping", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"processes\" AND type_instance:\"sleeping\"" | |
} | |
}, | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16 | |
] | |
}, | |
"filter": { | |
"list": { | |
"0": { | |
"type": "time", | |
"field": "@timestamp", | |
"from": "now-1h", | |
"to": "now", | |
"mandate": "must", | |
"active": true, | |
"alias": "", | |
"id": 0 | |
} | |
}, | |
"ids": [ | |
0 | |
] | |
} | |
}, | |
"rows": [ | |
{ | |
"title": "CPU", | |
"height": "300px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"span": 8, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "mean", | |
"time_field": "@timestamp", | |
"value_field": "shortterm", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "none", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
0 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "30s", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": false, | |
"fill": 1, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": true, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": true, | |
"derivative": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Load 1m" | |
}, | |
{ | |
"span": 4, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "max", | |
"time_field": "@timestamp", | |
"value_field": "value", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "none", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
12, | |
13, | |
14, | |
15, | |
16 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "30s", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": false, | |
"fill": 0, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": true, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": true, | |
"derivative": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Processes", | |
"scaleSeconds": false | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Memory", | |
"height": "200px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"span": 8, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "max", | |
"time_field": "@timestamp", | |
"value_field": "value", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "bytes", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
2, | |
3, | |
4, | |
9 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "30s", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": false, | |
"fill": 0, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": true, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": false, | |
"derivative": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Memory", | |
"scaleSeconds": false | |
}, | |
{ | |
"span": 4, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "max", | |
"time_field": "@timestamp", | |
"value_field": "value", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "none", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
11 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "30s", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": false, | |
"fill": 0, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": true, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": true, | |
"derivative": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Logged in users" | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Network Sent", | |
"height": "150px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"span": 6, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "max", | |
"time_field": "@timestamp", | |
"value_field": "rx", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "bytes", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
1 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "30s", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": true, | |
"fill": 1, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": false, | |
"stack": false, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": false, | |
"derivative": true, | |
"tooltip": { | |
"value_type": "individual", | |
"query_as_alias": true | |
}, | |
"title": "Network RX eth1", | |
"scaleSeconds": true | |
}, | |
{ | |
"span": 6, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "max", | |
"time_field": "@timestamp", | |
"value_field": "tx", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "bytes", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
6 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "30s", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": true, | |
"fill": 1, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": false, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": false, | |
"derivative": true, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Network eth1 TX", | |
"scaleSeconds": true | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Disk", | |
"height": "350px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"error": false, | |
"span": 4, | |
"editable": true, | |
"type": "terms", | |
"loadingEditor": false, | |
"field": "type_instance", | |
"exclude": [], | |
"missing": false, | |
"other": false, | |
"size": 10, | |
"order": "max", | |
"style": { | |
"font-size": "10pt" | |
}, | |
"donut": false, | |
"tilt": false, | |
"labels": true, | |
"arrangement": "horizontal", | |
"chart": "pie", | |
"counter_pos": "above", | |
"spyable": true, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
10 | |
] | |
}, | |
"tmode": "terms_stats", | |
"tstat": "mean", | |
"valuefield": "value", | |
"title": "Disk Usage" | |
}, | |
{ | |
"error": false, | |
"span": 4, | |
"editable": true, | |
"type": "terms", | |
"loadingEditor": false, | |
"field": "type_instance", | |
"exclude": [], | |
"missing": false, | |
"other": false, | |
"size": 10, | |
"order": "max", | |
"style": { | |
"font-size": "10pt" | |
}, | |
"donut": false, | |
"tilt": false, | |
"labels": true, | |
"arrangement": "horizontal", | |
"chart": "pie", | |
"counter_pos": "above", | |
"spyable": true, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
7 | |
] | |
}, | |
"tmode": "terms_stats", | |
"tstat": "max", | |
"valuefield": "value", | |
"title": "Swap" | |
}, | |
{ | |
"span": 4, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "max", | |
"time_field": "@timestamp", | |
"value_field": "value", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "bytes", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
5, | |
8 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "30s", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": true, | |
"fill": 4, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": false, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": false, | |
"derivative": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Disk history" | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Graph", | |
"height": "350px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"span": 12, | |
"editable": true, | |
"group": [ | |
"default" | |
], | |
"type": "histogram", | |
"mode": "count", | |
"time_field": "@timestamp", | |
"value_field": null, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "30s", | |
"fill": 3, | |
"linewidth": 3, | |
"timezone": "browser", | |
"spyable": true, | |
"zoomlinks": true, | |
"bars": true, | |
"stack": true, | |
"points": false, | |
"lines": false, | |
"legend": true, | |
"x-axis": true, | |
"y-axis": true, | |
"percentage": false, | |
"interactive": true, | |
"queries": { | |
"mode": "all", | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16 | |
] | |
}, | |
"title": "Events over time", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1M", | |
"1y" | |
], | |
"options": true, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"scale": 1, | |
"y_format": "none", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"pointradius": 5, | |
"show_query": true, | |
"legend_counts": true, | |
"zerofill": true, | |
"derivative": false | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Events", | |
"height": "350px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"title": "All events", | |
"error": false, | |
"span": 12, | |
"editable": true, | |
"group": [ | |
"default" | |
], | |
"type": "table", | |
"size": 100, | |
"pages": 5, | |
"offset": 0, | |
"sort": [ | |
"@timestamp", | |
"desc" | |
], | |
"style": { | |
"font-size": "9pt" | |
}, | |
"overflow": "min-height", | |
"fields": [], | |
"localTime": true, | |
"timeField": "@timestamp", | |
"highlight": [], | |
"sortable": true, | |
"header": true, | |
"paging": true, | |
"spyable": true, | |
"queries": { | |
"mode": "all", | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14, | |
15, | |
16 | |
] | |
}, | |
"field_list": true, | |
"status": "Stable", | |
"trimFactor": 300, | |
"normTimes": true, | |
"all_fields": false | |
} | |
], | |
"notice": false | |
} | |
], | |
"editable": true, | |
"failover": false, | |
"index": { | |
"interval": "day", | |
"pattern": "[logstash-]YYYY.MM.DD", | |
"default": "NO_TIME_FILTER_OR_INDEX_PATTERN_NOT_MATCHED", | |
"warm_fields": true | |
}, | |
"style": "dark", | |
"panel_hints": true, | |
"pulldowns": [ | |
{ | |
"type": "query", | |
"collapse": true, | |
"notice": false, | |
"query": "*", | |
"pinned": true, | |
"history": [ | |
"plugin:\"processes\" AND type_instance:\"sleeping\"", | |
"plugin:\"processes\" AND type_instance:\"paging\"", | |
"plugin:\"processes\" AND type_instance:\"stopped\"", | |
"plugin:\"processes\" AND type_instance:\"zombies\"", | |
"plugin:\"processes\" AND type_instance:\"running\"", | |
"plugin:\"users\"", | |
"plugin:\"df\" AND plugin_instance:\"root\"", | |
"plugin:\"memory\" AND type_instance:\"cached\"", | |
"plugin:\"df\" AND plugin_instance:\"root\" AND type_instance:\"free\"", | |
"plugin:\"swap\"" | |
], | |
"remember": 10, | |
"enable": true | |
}, | |
{ | |
"type": "filtering", | |
"collapse": true, | |
"notice": false, | |
"enable": true | |
} | |
], | |
"nav": [ | |
{ | |
"type": "timepicker", | |
"collapse": false, | |
"notice": false, | |
"status": "Stable", | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
], | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"timefield": "@timestamp", | |
"now": true, | |
"filter_id": 0, | |
"enable": true | |
} | |
], | |
"loader": { | |
"save_gist": false, | |
"save_elasticsearch": true, | |
"save_local": true, | |
"save_default": true, | |
"save_temp": true, | |
"save_temp_ttl_enable": true, | |
"save_temp_ttl": "30d", | |
"load_gist": true, | |
"load_elasticsearch": true, | |
"load_elasticsearch_size": 20, | |
"load_local": true, | |
"hide": false | |
}, | |
"refresh": "10s" | |
} |