| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682 |
- {
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": false,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "limit": 100,
- "name": "Annotations & Alerts",
- "showIn": 0,
- "type": "dashboard"
- },
- {
- "datasource": "Elastic 5 Logs",
- "enable": false,
- "iconColor": "rgba(255, 96, 96, 1)",
- "limit": 100,
- "name": "test",
- "query": "",
- "showIn": 0,
- "textField": "description",
- "type": "alert"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "iteration": 1554310942895,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "tags": ["gdev", "elasticsearch", "datasource-test"],
- "title": "Dashboards",
- "type": "dashboards"
- }
- ],
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "gdev-elasticsearch-v2-metrics",
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 1,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": true,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": 1,
- "order": "asc",
- "orderBy": "1",
- "size": "5"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "dsType": "elasticsearch",
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "max"
- }
- ],
- "query": "*",
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Top 5 servers",
- "tooltip": {
- "msResolution": true,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Count": "#6ED0E0"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "gdev-elasticsearch-v2-metrics",
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {},
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 0,
- "y": 7
- },
- "id": 2,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Count",
- "lines": false,
- "yaxis": 2,
- "zindex": -1
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "{{metric}}",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "dsType": "elasticsearch",
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {
- "percents": [25, 50, 75, 95, 99]
- },
- "type": "percentiles"
- }
- ],
- "query": "@metric:cpu",
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Percentiles & Metric filter",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Count": "#6ED0E0"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "gdev-elasticsearch-v2-metrics",
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {},
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 12,
- "y": 7
- },
- "id": 3,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Count",
- "lines": false,
- "yaxis": 2,
- "zindex": -1
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "{{metric}}",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "dsType": "elasticsearch",
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "std_deviation_bounds_lower": true,
- "std_deviation_bounds_upper": true
- },
- "settings": {},
- "type": "extended_stats"
- }
- ],
- "query": "@metric:cpu",
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Standard dev",
- "tooltip": {
- "msResolution": true,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "columns": [
- {
- "text": "@hostname",
- "value": "@hostname"
- },
- {
- "text": "Average",
- "value": "Average"
- },
- {
- "text": "Max",
- "value": "Max"
- },
- {
- "text": "Sum",
- "value": "Sum"
- }
- ],
- "datasource": "gdev-elasticsearch-v2-metrics",
- "editable": true,
- "error": false,
- "fontSize": "100%",
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 13
- },
- "id": 6,
- "links": [],
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": true
- },
- "styles": [
- {
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "@timestamp",
- "type": "date"
- },
- {
- "colorMode": null,
- "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "2",
- "settings": {
- "min_doc_count": 1,
- "order": "asc",
- "orderBy": "_term",
- "size": "0"
- },
- "type": "terms"
- }
- ],
- "dsType": "elasticsearch",
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "avg"
- },
- {
- "field": "@value",
- "id": "3",
- "meta": {},
- "settings": {},
- "type": "max"
- },
- {
- "field": "@value",
- "id": "4",
- "meta": {},
- "settings": {},
- "type": "sum"
- }
- ],
- "refId": "B",
- "timeField": "@timestamp"
- }
- ],
- "title": "ES Metrics",
- "transform": "table",
- "type": "table"
- },
- {
- "columns": [
- {
- "text": "@timestamp",
- "value": "@timestamp"
- },
- {
- "text": "@message",
- "value": "@message"
- },
- {
- "text": "tags",
- "value": "tags"
- },
- {
- "text": "description",
- "value": "description"
- }
- ],
- "datasource": "gdev-elasticsearch-v2-logs",
- "editable": true,
- "error": false,
- "fontSize": "100%",
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 20
- },
- "id": 5,
- "links": [],
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": true
- },
- "styles": [
- {
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "@timestamp",
- "type": "date"
- }
- ],
- "targets": [
- {
- "bucketAggs": [],
- "dsType": "elasticsearch",
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "meta": {},
- "settings": {
- "size": 500
- },
- "type": "raw_document"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "title": "ES Log query",
- "transform": "json",
- "type": "table"
- },
- {
- "circleMaxSize": 30,
- "circleMinSize": 2,
- "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
- "datasource": "gdev-elasticsearch-v2-metrics",
- "decimals": 0,
- "esGeoPoint": "@location",
- "esMetric": "Average",
- "gridPos": {
- "h": 12,
- "w": 24,
- "x": 0,
- "y": 27
- },
- "hideEmpty": false,
- "hideZero": false,
- "id": 8,
- "initialZoom": 1,
- "links": [],
- "locationData": "geohash",
- "mapCenter": "(0°, 0°)",
- "mapCenterLatitude": 0,
- "mapCenterLongitude": 0,
- "maxDataPoints": 1,
- "mouseWheelZoom": false,
- "showLegend": true,
- "stickyLabels": false,
- "tableQueryOptions": {
- "geohashField": "geohash",
- "latitudeField": "latitude",
- "longitudeField": "longitude",
- "metricField": "metric",
- "queryType": "geohash"
- },
- "targets": [
- {
- "bucketAggs": [
- {
- "fake": true,
- "field": "@location",
- "id": "3",
- "settings": {
- "precision": 2
- },
- "type": "geohash_grid"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": "0,10",
- "title": "World map panel",
- "type": "grafana-worldmap-panel",
- "unitPlural": "",
- "unitSingle": "",
- "valueName": "total"
- }
- ],
- "schemaVersion": 18,
- "style": "dark",
- "tags": ["elasticsearch", "gdev", "datasource-test"],
- "templating": {
- "list": [
- {
- "datasource": "gdev-elasticsearch-v2-metrics",
- "filters": [],
- "hide": 0,
- "label": "",
- "name": "Filters",
- "skipUrlSync": false,
- "type": "adhoc"
- }
- ]
- },
- "time": {
- "from": "now-30m",
- "to": "now"
- },
- "timepicker": {
- "collapse": false,
- "enable": true,
- "notice": false,
- "now": true,
- "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
- "status": "Stable",
- "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"],
- "type": "timepicker"
- },
- "timezone": "browser",
- "title": "Datasource tests - Elasticsearch v2",
- "uid": "RlqLq2fiz",
- "version": 5
- }
|