Skip to content

Instantly share code, notes, and snippets.

@0x00dec0de
Forked from mariotalavera/collectd-kibana
Created April 21, 2016 22:15
Show Gist options
  • Save 0x00dec0de/accdba534507473966c2f1957183dc07 to your computer and use it in GitHub Desktop.
Save 0x00dec0de/accdba534507473966c2f1957183dc07 to your computer and use it in GitHub Desktop.
{
"title": "collectd-post",
"services": {
"query": {
"list": {
"0": {
"query": "plugin: \"cpu\" AND plugin_instance: \"0\"",
"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\""
},
"2": {
"id": 2,
"color": "#6ED0E0",
"alias": "cpu3",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"cpu\" AND plugin_instance: \"2\""
},
"3": {
"id": 3,
"color": "#EF843C",
"alias": "cpu4",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"cpu\" AND plugin_instance: \"3\""
},
"4": {
"id": 4,
"color": "#E24D42",
"alias": "df",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"df\" AND plugin_instance: \"root\""
},
"5": {
"id": 5,
"color": "#1F78C1",
"alias": "interface",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"interface\" AND plugin_instance: \"eth0\""
},
"6": {
"id": 6,
"color": "#7EB26D",
"alias": "free",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin:\"memory\" AND type_instance:\"free\""
},
"7": {
"id": 7,
"color": "#705DA0",
"alias": "buffered",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin:\"memory\" AND type_instance: \"buffered\""
},
"8": {
"id": 8,
"color": "#EAB839",
"alias": "cached",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin:\"memory\" AND type_instance: \"cached\""
},
"9": {
"id": 9,
"color": "#E24D42",
"alias": "used",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin:\"memory\" AND type_instance: \"used\""
},
"10": {
"id": 10,
"color": "#7EB26D",
"alias": "free",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"swap\" AND type_instance: \"free\""
},
"11": {
"id": 11,
"color": "#C15C17",
"alias": "in",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"swap\" AND type_instance: \"in\""
},
"12": {
"id": 12,
"color": "#CCA300",
"alias": "out",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"swap\" AND type_instance: \"out\""
},
"13": {
"id": 13,
"color": "#EF843C",
"alias": "cached",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"swap\" AND type_instance: \"cached\""
},
"14": {
"id": 14,
"color": "#E24D42",
"alias": "used",
"pin": false,
"type": "lucene",
"enable": true,
"query": "plugin: \"swap\" AND type_instance: \"used\""
},
"15": {
"id": 15,
"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
]
},
"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"
}
],
"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": [
4
]
},
"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": [
5
]
},
"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": [
5
]
},
"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": [
6,
7,
8,
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": 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": [
10,
11,
12,
13,
14
]
},
"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