Skip to content

Instantly share code, notes, and snippets.

@ziodave
Forked from mariotalavera/collectd-kibana
Last active September 1, 2016 10:27
Show Gist options
  • Save ziodave/1ee10e482268f1db2b11 to your computer and use it in GitHub Desktop.
Save ziodave/1ee10e482268f1db2b11 to your computer and use it in GitHub Desktop.
{
"title": "collectd-rome",
"services": {
"query": {
"list": {
"0": {
"query": "plugin: \"cpu\" AND plugin_instance: \"0\" AND host:\"rome\"",
"alias": "cpu1",
"color": "#7EB26D",
"id": 0,
"pin": false,
"type": "lucene",
"enable": true
},
"1": {
"id": 1,
"color": "#EAB839",
"alias": "cpu2",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"cpu\" AND plugin_instance: \"1\" AND host:\"rome\""
},
"2": {
"id": 2,
"color": "#6ED0E0",
"alias": "cpu3",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"cpu\" AND plugin_instance: \"2\" AND host:\"rome\""
},
"3": {
"id": 3,
"color": "#EF843C",
"alias": "cpu4",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"cpu\" AND plugin_instance: \"3\" AND host:\"rome\""
},
"4": {
"query": "plugin: \"cpu\" AND plugin_instance: \"4\" AND host:\"rome\"",
"alias": "cpu5",
"color": "#7EB26D",
"id": 4,
"pin": false,
"type": "lucene",
"enable": true
},
"5": {
"id": 5,
"color": "#EAB839",
"alias": "cpu6",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"cpu\" AND plugin_instance: \"5\" AND host:\"rome\""
},
"6": {
"id": 6,
"color": "#6ED0E0",
"alias": "cpu7",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"cpu\" AND plugin_instance: \"6\" AND host:\"rome\""
},
"7": {
"id": 7,
"color": "#EF843C",
"alias": "cpu8",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"cpu\" AND plugin_instance: \"7\" AND host:\"rome\""
},
"8": {
"id": 8,
"color": "#E24D42",
"alias": "df",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"df\" AND plugin_instance: \"root\" AND host:\"rome\""
},
"9": {
"id": 9,
"color": "#1F78C1",
"alias": "interface",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"interface\" AND plugin_instance: \"eth0\" AND host:\"rome\""
},
"10": {
"id": 10,
"color": "#7EB26D",
"alias": "free",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin:\"memory\" AND type_instance:\"free\" AND host:\"rome\""
},
"11": {
"id": 11,
"color": "#705DA0",
"alias": "buffered",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin:\"memory\" AND type_instance: \"buffered\" AND host:\"rome\""
},
"12": {
"id": 12,
"color": "#EAB839",
"alias": "cached",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin:\"memory\" AND type_instance: \"cached\" AND host:\"rome\""
},
"13": {
"id": 13,
"color": "#E24D42",
"alias": "used",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin:\"memory\" AND type_instance: \"used\" AND host:\"rome\""
},
"14": {
"id": 14,
"color": "#7EB26D",
"alias": "free",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"swap\" AND type_instance: \"free\" AND host:\"rome\""
},
"15": {
"id": 15,
"color": "#C15C17",
"alias": "in",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"swap\" AND type_instance: \"in\" AND host:\"rome\""
},
"16": {
"id": 16,
"color": "#CCA300",
"alias": "out",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"swap\" AND type_instance: \"out\" AND host:\"rome\""
},
"17": {
"id": 17,
"color": "#EF843C",
"alias": "cached",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"swap\" AND type_instance: \"cached\" AND host:\"rome\""
},
"18": {
"id": 18,
"color": "#E24D42",
"alias": "used",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"swap\" AND type_instance: \"used\" AND host:\"rome\""
},
"19": {
"id": 19,
"color": "#584477",
"alias": "",
"pin": false,
"type": "lucene",
"enable": true,
"query": "*"
}
},
"ids": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19
]
},
"filter": {
"list": {
"0": {
"type": "time",
"field": "@timestamp",
"from": "now-15m",
"to": "now",
"mandate": "must",
"active": true,
"alias": "",
"id": 0
}
},
"ids": [
0
]
}
},
"rows": [
{
"title": "All Events",
"height": "150px",
"editable": true,
"collapse": true,
"collapsable": true,
"panels": [
{
"error": false,
"span": 12,
"editable": true,
"type": "table",
"loadingEditor": false,
"size": 100,
"pages": 5,
"offset": 0,
"sort": [
"_score",
"desc"
],
"overflow": "min-height",
"fields": [],
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"field_list": true,
"all_fields": false,
"trimFactor": 300,
"localTime": false,
"timeField": "@timestamp",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
15
]
},
"style": {
"font-size": "9pt"
},
"normTimes": true,
"title": "All Events"
}
],
"notice": false
},
{
"title": "CPU",
"height": "150px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 3,
"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": "vertical",
"chart": "pie",
"counter_pos": "below",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
0
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "value",
"title": "cpu1"
},
{
"error": false,
"span": 3,
"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": "vertical",
"chart": "pie",
"counter_pos": "below",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
1
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "value",
"title": "cpu2"
},
{
"error": false,
"span": 3,
"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": "vertical",
"chart": "pie",
"counter_pos": "below",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
2
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "value",
"title": "cpu3"
},
{
"error": false,
"span": 3,
"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": "vertical",
"chart": "pie",
"counter_pos": "below",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
3
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "value",
"title": "cpu4"
},
{
"error": false,
"span": 3,
"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": "vertical",
"chart": "pie",
"counter_pos": "below",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
4
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "value",
"title": "cpu5"
},
{
"error": false,
"span": 3,
"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": "vertical",
"chart": "pie",
"counter_pos": "below",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
5
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "value",
"title": "cpu6"
},
{
"error": false,
"span": 3,
"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": "vertical",
"chart": "pie",
"counter_pos": "below",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
6
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "value",
"title": "cpu7"
} ,
{
"error": false,
"span": 3,
"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": "vertical",
"chart": "pie",
"counter_pos": "below",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
7
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "value",
"title": "cpu8"
}
],
"notice": false
},
{
"title": "Disk / Network",
"height": "150px",
"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": "below",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
8
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "value",
"title": "Disk Storage"
},
{
"span": 4,
"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": [
9
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 100,
"interval": "10s",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"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": true,
"derivative": true,
"tooltip": {
"value_type": "individual",
"query_as_alias": true
},
"title": "Received",
"scaleSeconds": true
},
{
"span": 4,
"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": [
9
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 100,
"interval": "10s",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"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": true,
"derivative": true,
"tooltip": {
"value_type": "individual",
"query_as_alias": true
},
"title": "Sent",
"scaleSeconds": true
}
],
"notice": false
},
{
"title": "Memory / Swap",
"height": "150px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 6,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "mean",
"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": [
10,
11,
12,
13
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 100,
"interval": "10s",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"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": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"title": "Memory"
},
{
"span": 6,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "mean",
"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": [
14,
15,
16,
17,
18
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 100,
"interval": "10s",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 0,
"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": true,
"derivative": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"title": "Swap"
}
],
"notice": false
}
],
"editable": true,
"failover": false,
"index": {
"interval": "day",
"pattern": "[logstash-]YYYY.MM.DD",
"default": "_all",
"warm_fields": false
},
"style": "dark",
"panel_hints": true,
"pulldowns": [
{
"type": "query",
"collapse": true,
"notice": false,
"enable": true,
"query": "*",
"pinned": true,
"history": [
"*",
"plugin: \"swap\" AND type_instance: \"used\"",
"plugin: \"swap\" AND type_instance: \"cached\"",
"plugin: \"swap\" AND type_instance: \"out\"",
"plugin: \"swap\" AND type_instance: \"in\"",
"plugin: \"swap\" AND type_instance: \"free\"",
"plugin:\"memory\" AND type_instance: \"used\"",
"plugin:\"memory\" AND type_instance: \"cached\"",
"plugin:\"memory\" AND type_instance: \"buffered\"",
"plugin:\"memory\" AND type_instance:\"free\""
],
"remember": 10
},
{
"type": "filtering",
"collapse": true,
"notice": true,
"enable": true
}
],
"nav": [
{
"type": "timepicker",
"collapse": false,
"notice": false,
"enable": true,
"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
}
],
"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": false,
"load_elasticsearch": true,
"load_elasticsearch_size": 20,
"load_local": false,
"hide": false
},
"refresh": "5s"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment