Created
May 6, 2014 12:25
-
-
Save hbokh/33d9ff5d87e433410e77 to your computer and use it in GitHub Desktop.
Logstash, collectd and kibana for one host's system resources
This file contains hidden or 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
| { | |
| "title": "System Resources", | |
| "services": { | |
| "query": { | |
| "list": { | |
| "0": { | |
| "query": "collectd_type:\"load\"", | |
| "alias": "Load", | |
| "color": "#70DBED", | |
| "id": 0, | |
| "pin": true, | |
| "type": "lucene", | |
| "enable": true | |
| }, | |
| "1": { | |
| "id": 1, | |
| "color": "#629E51", | |
| "alias": "Free", | |
| "pin": true, | |
| "type": "lucene", | |
| "enable": true, | |
| "query": "collectd_type:\"memory\" AND type_instance:\"free\"" | |
| }, | |
| "2": { | |
| "id": 2, | |
| "color": "#C15C17", | |
| "alias": "Wired", | |
| "pin": true, | |
| "type": "lucene", | |
| "enable": true, | |
| "query": "collectd_type:\"memory\" AND type_instance:\"buffered\"" | |
| }, | |
| "3": { | |
| "id": 3, | |
| "color": "#B7DBAB", | |
| "alias": "Inactive", | |
| "pin": true, | |
| "type": "lucene", | |
| "enable": true, | |
| "query": "collectd_type:\"memory\" AND type_instance:\"cached\"" | |
| }, | |
| "4": { | |
| "id": 4, | |
| "color": "#BF1B00", | |
| "alias": "Active", | |
| "pin": true, | |
| "type": "lucene", | |
| "enable": true, | |
| "query": "collectd_type:\"memory\" AND type_instance:\"used\"" | |
| }, | |
| "5": { | |
| "id": 5, | |
| "color": "#0A50A1", | |
| "alias": "Received", | |
| "pin": true, | |
| "type": "lucene", | |
| "enable": true, | |
| "query": "collectd_type:\"if_octets\" AND plugin_instance:\"eth0\" AND rx:*" | |
| }, | |
| "6": { | |
| "id": 6, | |
| "color": "#BA43A9", | |
| "alias": "Sent", | |
| "pin": true, | |
| "type": "lucene", | |
| "enable": true, | |
| "query": "collectd_type:\"if_octets\" AND plugin_instance:\"eth0\" AND tx:*" | |
| } | |
| }, | |
| "ids": [ | |
| 0, | |
| 1, | |
| 2, | |
| 3, | |
| 4, | |
| 5, | |
| 6 | |
| ] | |
| }, | |
| "filter": { | |
| "list": { | |
| "0": { | |
| "type": "time", | |
| "field": "@timestamp", | |
| "from": "now-1h", | |
| "to": "now", | |
| "mandate": "must", | |
| "active": true, | |
| "alias": "", | |
| "id": 0 | |
| } | |
| }, | |
| "ids": [ | |
| 0 | |
| ] | |
| } | |
| }, | |
| "rows": [ | |
| { | |
| "title": "Graph", | |
| "height": "350px", | |
| "editable": true, | |
| "collapse": false, | |
| "collapsable": true, | |
| "panels": [ | |
| { | |
| "span": 6, | |
| "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": 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": "Load" | |
| }, | |
| { | |
| "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": null | |
| }, | |
| "queries": { | |
| "mode": "selected", | |
| "ids": [ | |
| 1, | |
| 2, | |
| 3, | |
| 4 | |
| ] | |
| }, | |
| "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": "individual", | |
| "query_as_alias": true | |
| }, | |
| "title": "Memory" | |
| }, | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "histogram", | |
| "loadingEditor": false, | |
| "mode": "mean", | |
| "time_field": "@timestamp", | |
| "value_field": "rx", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_format": "bytes", | |
| "grid": { | |
| "max": null, | |
| "min": null | |
| }, | |
| "queries": { | |
| "mode": "selected", | |
| "ids": [ | |
| 5 | |
| ] | |
| }, | |
| "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": 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": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "title": "Network rec'd (eth0)" | |
| }, | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "histogram", | |
| "loadingEditor": false, | |
| "mode": "mean", | |
| "time_field": "@timestamp", | |
| "value_field": "tx", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_format": "bytes", | |
| "grid": { | |
| "max": null, | |
| "min": null | |
| }, | |
| "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": 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": true, | |
| "zerofill": true, | |
| "derivative": true, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "title": "Network sent (eth0)" | |
| } | |
| ], | |
| "notice": false | |
| }, | |
| { | |
| "title": "Events", | |
| "height": "350px", | |
| "editable": true, | |
| "collapse": true, | |
| "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 | |
| ] | |
| }, | |
| "field_list": true, | |
| "status": "Stable", | |
| "trimFactor": 300, | |
| "normTimes": true, | |
| "all_fields": false | |
| }, | |
| { | |
| "span": 6, | |
| "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": 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": "LOAD" | |
| } | |
| ], | |
| "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": [ | |
| "collectd_type:\"if_octets\" AND plugin_instance:\"eth0\" AND rx:*", | |
| "collectd_type:\"memory\" AND type_instance:\"active\"", | |
| "collectd_type:\"memory\" AND type_instance:\"Inactive\"", | |
| "collectd_type:\"memory\" AND type_instance:\"wired\"", | |
| "collectd_type:\"memory\" AND type_instance:\"free\"", | |
| "collectd_type:\"load\"", | |
| "collectd_type:\"memory\"", | |
| "collectd_type:\"if_octets\" AND plugin_instance:\"eth0\"", | |
| "collectd_type:\"if_octets\" AND plugin_insytance:\"eth0\"", | |
| "collectd_type:\"if_octets\" AND plugin_insytance:eth0" | |
| ], | |
| "remember": 10, | |
| "enable": true | |
| }, | |
| { | |
| "type": "filtering", | |
| "collapse": true, | |
| "notice": true, | |
| "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": "30s" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment