diff --git a/.betterer.results b/.betterer.results
index 3a94de50eb6..4db1152f170 100644
--- a/.betterer.results
+++ b/.betterer.results
@@ -200,9 +200,6 @@ exports[`better eslint`] = {
[0, 0, 0, "Unexpected any. Specify a different type.", "6"],
[0, 0, 0, "Unexpected any. Specify a different type.", "7"]
],
- "packages/grafana-data/src/field/templateProxies.ts:5381": [
- [0, 0, 0, "Unexpected any. Specify a different type.", "0"]
- ],
"packages/grafana-data/src/geo/layer.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
],
@@ -2523,8 +2520,7 @@ exports[`better eslint`] = {
[0, 0, 0, "Unexpected any. Specify a different type.", "3"],
[0, 0, 0, "Unexpected any. Specify a different type.", "4"],
[0, 0, 0, "Unexpected any. Specify a different type.", "5"],
- [0, 0, 0, "Unexpected any. Specify a different type.", "6"],
- [0, 0, 0, "Unexpected any. Specify a different type.", "7"]
+ [0, 0, 0, "Unexpected any. Specify a different type.", "6"]
],
"public/app/features/dashboard/state/DashboardModel.test.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
@@ -3353,6 +3349,9 @@ exports[`better eslint`] = {
"public/app/features/teams/state/selectors.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
],
+ "public/app/features/templating/fieldAccessorCache.ts:5381": [
+ [0, 0, 0, "Unexpected any. Specify a different type.", "0"]
+ ],
"public/app/features/templating/formatVariableValue.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
[0, 0, 0, "Unexpected any. Specify a different type.", "1"],
@@ -3361,6 +3360,9 @@ exports[`better eslint`] = {
"public/app/features/templating/macroRegistry.test.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
],
+ "public/app/features/templating/templateProxies.ts:5381": [
+ [0, 0, 0, "Unexpected any. Specify a different type.", "0"]
+ ],
"public/app/features/templating/template_srv.mock.ts:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"]
],
@@ -3377,11 +3379,9 @@ exports[`better eslint`] = {
[0, 0, 0, "Unexpected any. Specify a different type.", "9"],
[0, 0, 0, "Unexpected any. Specify a different type.", "10"],
[0, 0, 0, "Unexpected any. Specify a different type.", "11"],
- [0, 0, 0, "Unexpected any. Specify a different type.", "12"],
+ [0, 0, 0, "Do not use any type assertions.", "12"],
[0, 0, 0, "Unexpected any. Specify a different type.", "13"],
- [0, 0, 0, "Do not use any type assertions.", "14"],
- [0, 0, 0, "Unexpected any. Specify a different type.", "15"],
- [0, 0, 0, "Do not use any type assertions.", "16"]
+ [0, 0, 0, "Do not use any type assertions.", "14"]
],
"public/app/features/transformers/FilterByValueTransformer/ValueMatchers/BasicMatcherEditor.tsx:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
@@ -5264,6 +5264,9 @@ exports[`better eslint`] = {
[0, 0, 0, "Do not use any type assertions.", "1"],
[0, 0, 0, "Unexpected any. Specify a different type.", "2"]
],
+ "public/app/plugins/panel/flamegraph/components/FlameGraphTopWrapper.tsx:5381": [
+ [0, 0, 0, "Unexpected any. Specify a different type.", "0"]
+ ],
"public/app/plugins/panel/gauge/GaugeMigrations.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
],
@@ -6010,6 +6013,10 @@ exports[`better eslint`] = {
[0, 0, 0, "Do not use any type assertions.", "0"],
[0, 0, 0, "Unexpected any. Specify a different type.", "1"]
],
+ "public/app/plugins/panel/trend/suggestions.ts:5381": [
+ [0, 0, 0, "Do not use any type assertions.", "0"],
+ [0, 0, 0, "Unexpected any. Specify a different type.", "1"]
+ ],
"public/app/plugins/panel/xychart/AutoEditor.tsx:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
],
diff --git a/.drone.yml b/.drone.yml
index cc144f74868..9c5f364a85e 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -797,6 +797,12 @@ services:
volumes:
- name: mysql
path: /var/lib/mysql
+- environment: {}
+ image: redis:6.2.11-alpine
+ name: redis
+- environment: {}
+ image: memcached:1.6.9-alpine
+ name: memcached
steps:
- commands:
- is_fork=$(curl "https://$GITHUB_TOKEN@api.github.com/repos/grafana/grafana/pulls/$DRONE_PULL_REQUEST"
@@ -892,6 +898,26 @@ steps:
MYSQL_HOST: mysql
image: grafana/build-container:1.7.2
name: mysql-integration-tests
+- commands:
+ - dockerize -wait tcp://redis:6379/0 -timeout 120s
+ - go clean -testcache
+ - go test -run IntegrationRedis -covermode=atomic -timeout=2m ./pkg/...
+ depends_on:
+ - wire-install
+ environment:
+ REDIS_URL: redis://redis:6379/0
+ image: grafana/build-container:1.7.2
+ name: redis-integration-tests
+- commands:
+ - dockerize -wait tcp://memcached:11211 -timeout 120s
+ - go clean -testcache
+ - go test -run IntegrationMemcached -covermode=atomic -timeout=2m ./pkg/...
+ depends_on:
+ - wire-install
+ environment:
+ MEMCACHED_HOSTS: memcached:11211
+ image: grafana/build-container:1.7.2
+ name: memcached-integration-tests
trigger:
event:
- pull_request
@@ -1797,6 +1823,12 @@ services:
volumes:
- name: mysql
path: /var/lib/mysql
+- environment: {}
+ image: redis:6.2.11-alpine
+ name: redis
+- environment: {}
+ image: memcached:1.6.9-alpine
+ name: memcached
steps:
- commands:
- mkdir -p bin
@@ -1870,6 +1902,26 @@ steps:
MYSQL_HOST: mysql
image: grafana/build-container:1.7.2
name: mysql-integration-tests
+- commands:
+ - dockerize -wait tcp://redis:6379/0 -timeout 120s
+ - go clean -testcache
+ - go test -run IntegrationRedis -covermode=atomic -timeout=2m ./pkg/...
+ depends_on:
+ - wire-install
+ environment:
+ REDIS_URL: redis://redis:6379/0
+ image: grafana/build-container:1.7.2
+ name: redis-integration-tests
+- commands:
+ - dockerize -wait tcp://memcached:11211 -timeout 120s
+ - go clean -testcache
+ - go test -run IntegrationMemcached -covermode=atomic -timeout=2m ./pkg/...
+ depends_on:
+ - wire-install
+ environment:
+ MEMCACHED_HOSTS: memcached:11211
+ image: grafana/build-container:1.7.2
+ name: memcached-integration-tests
trigger:
branch: main
event:
@@ -4956,6 +5008,12 @@ services:
volumes:
- name: mysql
path: /var/lib/mysql
+- environment: {}
+ image: redis:6.2.11-alpine
+ name: redis
+- environment: {}
+ image: memcached:1.6.9-alpine
+ name: memcached
steps:
- commands:
- mkdir -p bin
@@ -5022,6 +5080,26 @@ steps:
MYSQL_HOST: mysql
image: grafana/build-container:1.7.2
name: mysql-integration-tests
+- commands:
+ - dockerize -wait tcp://redis:6379/0 -timeout 120s
+ - go clean -testcache
+ - go test -run IntegrationRedis -covermode=atomic -timeout=2m ./pkg/...
+ depends_on:
+ - wire-install
+ environment:
+ REDIS_URL: redis://redis:6379/0
+ image: grafana/build-container:1.7.2
+ name: redis-integration-tests
+- commands:
+ - dockerize -wait tcp://memcached:11211 -timeout 120s
+ - go clean -testcache
+ - go test -run IntegrationMemcached -covermode=atomic -timeout=2m ./pkg/...
+ depends_on:
+ - wire-install
+ environment:
+ MEMCACHED_HOSTS: memcached:11211
+ image: grafana/build-container:1.7.2
+ name: memcached-integration-tests
trigger:
ref:
- refs/heads/v[0-9]*
@@ -5617,7 +5695,7 @@ services:
- name: mysql
path: /var/lib/mysql
- environment: {}
- image: redis:6.2.1-alpine
+ image: redis:6.2.11-alpine
name: redis
- environment: {}
image: memcached:1.6.9-alpine
@@ -5718,8 +5796,7 @@ steps:
- commands:
- dockerize -wait tcp://redis:6379/0 -timeout 120s
- go clean -testcache
- - go list './pkg/...' | xargs -I {} sh -c 'go test -run Integration -covermode=atomic
- -timeout=5m {}'
+ - go test -run IntegrationRedis -covermode=atomic -timeout=2m ./pkg/...
depends_on:
- wire-install
environment:
@@ -5729,8 +5806,7 @@ steps:
- commands:
- dockerize -wait tcp://memcached:11211 -timeout 120s
- go clean -testcache
- - go list './pkg/...' | xargs -I {} sh -c 'go test -run Integration -covermode=atomic
- -timeout=5m {}'
+ - go test -run IntegrationMemcached -covermode=atomic -timeout=2m ./pkg/...
depends_on:
- wire-install
environment:
@@ -6112,6 +6188,12 @@ services:
volumes:
- name: mysql
path: /var/lib/mysql
+- environment: {}
+ image: redis:6.2.11-alpine
+ name: redis
+- environment: {}
+ image: memcached:1.6.9-alpine
+ name: memcached
steps:
- commands:
- mkdir -p bin
@@ -6178,6 +6260,26 @@ steps:
MYSQL_HOST: mysql
image: grafana/build-container:1.7.2
name: mysql-integration-tests
+- commands:
+ - dockerize -wait tcp://redis:6379/0 -timeout 120s
+ - go clean -testcache
+ - go test -run IntegrationRedis -covermode=atomic -timeout=2m ./pkg/...
+ depends_on:
+ - wire-install
+ environment:
+ REDIS_URL: redis://redis:6379/0
+ image: grafana/build-container:1.7.2
+ name: redis-integration-tests
+- commands:
+ - dockerize -wait tcp://memcached:11211 -timeout 120s
+ - go clean -testcache
+ - go test -run IntegrationMemcached -covermode=atomic -timeout=2m ./pkg/...
+ depends_on:
+ - wire-install
+ environment:
+ MEMCACHED_HOSTS: memcached:11211
+ image: grafana/build-container:1.7.2
+ name: memcached-integration-tests
trigger:
event:
- promote
@@ -6230,7 +6332,7 @@ services:
- name: mysql
path: /var/lib/mysql
- environment: {}
- image: redis:6.2.1-alpine
+ image: redis:6.2.11-alpine
name: redis
- environment: {}
image: memcached:1.6.9-alpine
@@ -6332,8 +6434,7 @@ steps:
- commands:
- dockerize -wait tcp://redis:6379/0 -timeout 120s
- go clean -testcache
- - go list './pkg/...' | xargs -I {} sh -c 'go test -run Integration -covermode=atomic
- -timeout=5m {}'
+ - go test -run IntegrationRedis -covermode=atomic -timeout=2m ./pkg/...
depends_on:
- wire-install
environment:
@@ -6343,8 +6444,7 @@ steps:
- commands:
- dockerize -wait tcp://memcached:11211 -timeout 120s
- go clean -testcache
- - go list './pkg/...' | xargs -I {} sh -c 'go test -run Integration -covermode=atomic
- -timeout=5m {}'
+ - go test -run IntegrationMemcached -covermode=atomic -timeout=2m ./pkg/...
depends_on:
- wire-install
environment:
@@ -6653,6 +6753,6 @@ kind: secret
name: enterprise2_security_prefix
---
kind: signature
-hmac: 675c90070f9b68e15f349d079fbafa5288c3e5c30c345a4c9678d69afd1cc5a7
+hmac: 54bded4dc7c3ffbbf3859a4f8f6364f59f3b6e0696152a0b835211eca7119e50
...
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 11503dd8765..59d3c75414e 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -407,6 +407,7 @@ lerna.json @grafana/frontend-ops
/public/app/plugins/panel/table/ @grafana/grafana-bi-squad
/public/app/plugins/panel/table-old/ @grafana/grafana-bi-squad
/public/app/plugins/panel/timeseries/ @grafana/dataviz-squad
+/public/app/plugins/panel/trend/ @grafana/dataviz-squad
/public/app/plugins/panel/geomap/ @grafana/dataviz-squad
/public/app/plugins/panel/canvas/ @grafana/dataviz-squad
/public/app/plugins/panel/candlestick/ @grafana/dataviz-squad
diff --git a/.github/commands.json b/.github/commands.json
index 9aacbac983d..f2e9cc2223c 100644
--- a/.github/commands.json
+++ b/.github/commands.json
@@ -322,5 +322,157 @@
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/78"
}
+ },
+ {
+ "type": "label",
+ "name": "area/panel/candlestick",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/canvas",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/barchart",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/bargauge",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/72"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/gauge",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/72"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/geomap",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/graph",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/heatmap",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/histogram",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/icon",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/piechart",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/72"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/stat",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/72"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/state-timeline",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/status-history",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/timeseries",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/xychart",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/oss-dataviz",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/56"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/oss-bi",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/72"
+ }
+ },
+ {
+ "type": "label",
+ "name": "area/panel/table",
+ "action": "addToProject",
+ "addToProject": {
+ "url": "https://github.com/orgs/grafana/projects/72"
+ }
}
]
diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml
index b07cf46eeba..f98a8f141f0 100644
--- a/.github/workflows/bump-version.yml
+++ b/.github/workflows/bump-version.yml
@@ -17,13 +17,13 @@ jobs:
id: regex-match
with:
text: ${{ github.event.inputs.version }}
- regex: '^(\d+.\d+).\d+(?:-beta\d+)?$'
+ regex: '^(\d+.\d+).\d+(?:-(?:(beta\d+)|(pre)))?$'
- uses: actions-ecosystem/action-regex-match@v2.0.2
if: ${{ inputs.version_call != '' }}
id: regex-match-version-call
with:
text: ${{ inputs.version_call }}
- regex: '^(\d+.\d+).\d+(?:-beta\d+)?$'
+ regex: '^(\d+.\d+).\d+(?:-(?:(beta\d+)|(pre)))?$'
- name: Validate input version
if: ${{ steps.regex-match.outputs.match == '' && github.event.inputs.version != '' }}
run: |
@@ -50,7 +50,7 @@ jobs:
echo "branch_exist=$(git ls-remote --heads https://github.com/grafana/grafana.git v${{ steps.regex-match.outputs.group1 }}.x | wc -l)" >> $GITHUB_OUTPUT
- name: Check input version is aligned with branch(main)
- if: ${{ github.event.inputs.version != '' && steps.intermedia.outputs.branch_exist == '0' && !contains(steps.intermedia.outputs.short_ref, 'main') }}
+ if: ${{ github.event.inputs.version != '' && steps.intermedia.outputs.branch_exist == '0' && !contains(github.event.inputs.version, 'pre') && !contains(steps.intermedia.outputs.short_ref, 'main') }}
run: |
echo "When you want to deliver a new new minor version, you might want to create a new branch first \
with naming convention v[major].[minor].x, and just run the workflow on that branch. \
diff --git a/.github/workflows/doc-validator.yml b/.github/workflows/doc-validator.yml
index 5444eef33a0..d9a8ecc2521 100644
--- a/.github/workflows/doc-validator.yml
+++ b/.github/workflows/doc-validator.yml
@@ -7,7 +7,7 @@ jobs:
doc-validator:
runs-on: "ubuntu-latest"
container:
- image: "grafana/doc-validator:v1.9.0"
+ image: "grafana/doc-validator:v1.10.0"
steps:
- name: "Checkout code"
uses: "actions/checkout@v3"
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d35fb8b890c..6dcef56e776 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -15,7 +15,7 @@ You can contribute to Grafana in several ways. Here are some examples:
- Organize meetups and user groups in your local area.
- Help others by answering questions about Grafana.
-**Please note:** We do not currently accept contributions for translations. Please do not submit pull requests for messages.po files - they will be rejected.
+**Please note:** We do not currently accept contributions for translations. Please do not submit pull requests translating grafana.json files - they will be rejected. We do accept contributions to mark up phrases for translation. See [Internationalization](contribute/internationalization.md).
For more ways to contribute, check out the [Open Source Guides](https://opensource.guide/how-to-contribute/).
diff --git a/Makefile b/Makefile
index 5d5d9f4387b..ad161a619d8 100644
--- a/Makefile
+++ b/Makefile
@@ -143,6 +143,18 @@ test-go-integration-mysql: devenv-mysql ## Run integration tests for mysql backe
$(GO) clean -testcache
$(GO) list './pkg/...' | xargs -I {} sh -c 'GRAFANA_TEST_DB=mysql go test -run Integration -covermode=atomic -timeout=2m {}'
+.PHONY: test-go-integration-redis
+test-go-integration-redis: ## Run integration tests for redis cache.
+ @echo "test backend integration redis tests"
+ $(GO) clean -testcache
+ REDIS_URL=localhost:6379 $(GO) test -run IntegrationRedis -covermode=atomic -timeout=2m ./pkg/...
+
+.PHONY: test-go-integration-memcached
+test-go-integration-memcached: ## Run integration tests for memcached cache.
+ @echo "test backend integration memcached tests"
+ $(GO) clean -testcache
+ MEMCACHED_HOSTS=localhost:11211 $(GO) test -run IntegrationMemcached -covermode=atomic -timeout=2m ./pkg/...
+
test-js: ## Run tests for frontend.
@echo "test frontend"
yarn test
diff --git a/devenv/datasources.yaml b/devenv/datasources.yaml
index 4be1fe4b35f..9f2fad5e059 100644
--- a/devenv/datasources.yaml
+++ b/devenv/datasources.yaml
@@ -124,6 +124,7 @@ datasources:
- name: gdev-elasticsearch
type: elasticsearch
+ uid: gdev-elasticsearch
access: proxy
database: "[logs-]YYYY.MM.DD"
url: http://localhost:9200
diff --git a/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_compare.json b/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_compare.json
deleted file mode 100644
index 2ab0785563b..00000000000
--- a/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_compare.json
+++ /dev/null
@@ -1,10995 +0,0 @@
-{
- "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"
- }
- ]
- },
- "editable": true,
- "graphTooltip": 0,
- "iteration": 1620904436360,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "tags": [
- "gdev",
- "elasticsearch",
- "datasource-test"
- ],
- "title": "Dashboards",
- "type": "dashboards"
- }
- ],
- "panels": [
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 5,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 1
- },
- "hiddenSeries": false,
- "id": 2,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Basic (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 1
- },
- "hiddenSeries": false,
- "id": 3,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Basic (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 10
- },
- "hiddenSeries": false,
- "id": 8,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "1m",
- "min_doc_count": 50
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Basic (version one) - interval 1m + min doc count 50",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 10
- },
- "hiddenSeries": false,
- "id": 9,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "1m",
- "min_doc_count": 50
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Basic (version two) - interval 1m + min doc count 50",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 19
- },
- "hiddenSeries": false,
- "id": 6,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 10
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Basic (version one) - interval 5m + trim edges=10",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 19
- },
- "hiddenSeries": false,
- "id": 7,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 10
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Basic (version two) - interval 5m + trim edges=10",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- }
- ],
- "title": "Basic date histogram with count",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 1
- },
- "id": 11,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 2
- },
- "hiddenSeries": false,
- "id": 12,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "avg (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 2
- },
- "hiddenSeries": false,
- "id": 13,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "avg (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 11
- },
- "hiddenSeries": false,
- "id": 14,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "sum (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 11
- },
- "hiddenSeries": false,
- "id": 15,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "sum (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "decimals": 3,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 20
- },
- "hiddenSeries": false,
- "id": 16,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": true,
- "show": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "max"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "max (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "decimals": 3,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 20
- },
- "hiddenSeries": false,
- "id": 21,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": true,
- "show": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "max"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "max (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "decimals": 3,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 29
- },
- "hiddenSeries": false,
- "id": 17,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": true,
- "min": true,
- "show": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "min"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "min (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "decimals": 3,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 29
- },
- "hiddenSeries": false,
- "id": 22,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": true,
- "min": true,
- "show": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "min"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "min (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "decimals": 3,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 38
- },
- "hiddenSeries": false,
- "id": 18,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": true,
- "min": true,
- "rightSide": true,
- "show": true,
- "sort": "min",
- "sortDesc": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": true,
- "count": true,
- "max": true,
- "min": true,
- "std_deviation": true,
- "std_deviation_bounds_lower": true,
- "std_deviation_bounds_upper": true,
- "sum": true
- },
- "settings": {},
- "type": "extended_stats"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "extended stats (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "decimals": 3,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 38
- },
- "hiddenSeries": false,
- "id": 23,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": true,
- "min": true,
- "rightSide": true,
- "show": true,
- "sort": "min",
- "sortDesc": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": true,
- "count": true,
- "max": true,
- "min": true,
- "std_deviation": true,
- "std_deviation_bounds_lower": true,
- "std_deviation_bounds_upper": true,
- "sum": true
- },
- "settings": {},
- "type": "extended_stats"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "extended stats (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "decimals": 3,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 47
- },
- "hiddenSeries": false,
- "id": 19,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": true,
- "min": true,
- "rightSide": true,
- "show": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {
- "percents": [
- 25,
- 50,
- 75,
- 95,
- 99
- ]
- },
- "type": "percentiles"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "percentiles (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "decimals": 3,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 47
- },
- "hiddenSeries": false,
- "id": 24,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": true,
- "min": true,
- "rightSide": true,
- "show": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {
- "percents": [
- 25,
- 50,
- 75,
- 95,
- 99
- ]
- },
- "type": "percentiles"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "percentiles (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "decimals": 3,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 56
- },
- "hiddenSeries": false,
- "id": 20,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": true,
- "min": true,
- "rightSide": false,
- "show": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "cardinality"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "unique count (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "decimals": 3,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 56
- },
- "hiddenSeries": false,
- "id": 25,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": true,
- "min": true,
- "rightSide": false,
- "show": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "cardinality"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "unique count (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- }
- ],
- "title": "Basic date histogram with metric aggregation",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 2
- },
- "id": 27,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 3
- },
- "hiddenSeries": false,
- "id": 55,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "count"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 3
- },
- "hiddenSeries": false,
- "id": 34,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "count"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 12
- },
- "hiddenSeries": false,
- "id": 29,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "avg"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "avg (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 12
- },
- "hiddenSeries": false,
- "id": 56,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "avg"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "avg (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 30,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "sum"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "sum (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 21
- },
- "hiddenSeries": false,
- "id": 35,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "sum"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "sum (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 30
- },
- "hiddenSeries": false,
- "id": 31,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "max"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "max (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 30
- },
- "hiddenSeries": false,
- "id": 36,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "max"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "max (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 39
- },
- "hiddenSeries": false,
- "id": 32,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "min"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "min (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 39
- },
- "hiddenSeries": false,
- "id": 37,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "min"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "min (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 48
- },
- "hiddenSeries": false,
- "id": 33,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "cardinality"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "unique count (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 48
- },
- "hiddenSeries": false,
- "id": 38,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "cardinality"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {
- "minimize": false,
- "model": "simple",
- "window": 5
- },
- "type": "moving_avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "unique count (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- }
- ],
- "title": "Basic date histogram with moving average aggregation",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 3
- },
- "id": 39,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 4
- },
- "hiddenSeries": false,
- "id": 57,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "count"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 4
- },
- "hiddenSeries": false,
- "id": 41,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "count"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 13
- },
- "hiddenSeries": false,
- "id": 40,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "avg"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "avg (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 13
- },
- "hiddenSeries": false,
- "id": 58,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "avg"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "avg (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 22
- },
- "hiddenSeries": false,
- "id": 42,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "sum"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "sum (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 22
- },
- "hiddenSeries": false,
- "id": 43,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "sum"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "sum (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 31
- },
- "hiddenSeries": false,
- "id": 44,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "max"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "max (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 31
- },
- "hiddenSeries": false,
- "id": 45,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "max"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "max (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 40
- },
- "hiddenSeries": false,
- "id": 46,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "min"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "min (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 40
- },
- "hiddenSeries": false,
- "id": 47,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "min"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "min (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 49
- },
- "hiddenSeries": false,
- "id": 48,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "cardinality"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "unique count (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 49
- },
- "hiddenSeries": false,
- "id": 49,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "cardinality"
- },
- {
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "derivative"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "unique count (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- }
- ],
- "title": "Basic date histogram with derivative aggregation",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 4
- },
- "id": 70,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 5
- },
- "hiddenSeries": false,
- "id": 71,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:344",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:340",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "count"
- },
- {
- "$$hashKey": "object:341",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 5
- },
- "hiddenSeries": false,
- "id": 77,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:344",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:340",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "count"
- },
- {
- "$$hashKey": "object:341",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 72,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:546",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:542",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "avg"
- },
- {
- "$$hashKey": "object:543",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "avg (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 78,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:546",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:542",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "avg"
- },
- {
- "$$hashKey": "object:543",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "avg (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 23
- },
- "hiddenSeries": false,
- "id": 73,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:731",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:727",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "sum"
- },
- {
- "$$hashKey": "object:728",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "sum (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 23
- },
- "hiddenSeries": false,
- "id": 79,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:731",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:727",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "sum"
- },
- {
- "$$hashKey": "object:728",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "sum (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 32
- },
- "hiddenSeries": false,
- "id": 74,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:885",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:881",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "max"
- },
- {
- "$$hashKey": "object:882",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "max (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 32
- },
- "hiddenSeries": false,
- "id": 80,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:885",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:881",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "max"
- },
- {
- "$$hashKey": "object:882",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "max (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 41
- },
- "hiddenSeries": false,
- "id": 75,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:1039",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:1035",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "min"
- },
- {
- "$$hashKey": "object:1036",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "min (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 41
- },
- "hiddenSeries": false,
- "id": 81,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:1039",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:1035",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "min"
- },
- {
- "$$hashKey": "object:1036",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "min (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 50
- },
- "hiddenSeries": false,
- "id": 76,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:1193",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:1189",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "cardinality"
- },
- {
- "$$hashKey": "object:1190",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "unique count (version one) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "links": []
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 50
- },
- "hiddenSeries": false,
- "id": 82,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:1193",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:1189",
- "field": "@value",
- "hide": true,
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "cardinality"
- },
- {
- "$$hashKey": "object:1190",
- "field": "1",
- "id": "3",
- "meta": {},
- "pipelineAgg": "1",
- "settings": {},
- "type": "cumulative_sum"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "unique count (version two) - interval 5m",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- }
- ],
- "title": "Basic date histogram with cumulative sum aggregation",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 5
- },
- "id": 60,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 6
- },
- "hiddenSeries": false,
- "id": 63,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "hide": true,
- "id": "1",
- "type": "count"
- },
- {
- "field": "select field",
- "id": "3",
- "meta": {},
- "pipelineVariables": [
- {
- "name": "var1",
- "pipelineAgg": "1"
- }
- ],
- "settings": {
- "script": "params.var1 * 1000"
- },
- "type": "bucket_script"
- }
- ],
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count * 1000 (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 6
- },
- "hiddenSeries": false,
- "id": 64,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "hide": true,
- "id": "1",
- "type": "count"
- },
- {
- "field": "select field",
- "id": "3",
- "meta": {},
- "pipelineVariables": [
- {
- "name": "var1",
- "pipelineAgg": "1"
- }
- ],
- "settings": {
- "script": "params.var1 * 1000"
- },
- "type": "bucket_script"
- }
- ],
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count * 1000 (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 65,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "hide": true,
- "id": "1",
- "type": "count"
- },
- {
- "field": "@value",
- "hide": true,
- "id": "3",
- "meta": {},
- "settings": {},
- "type": "avg"
- },
- {
- "field": "select field",
- "id": "4",
- "meta": {},
- "pipelineVariables": [
- {
- "name": "var1",
- "pipelineAgg": "1"
- },
- {
- "name": "var2",
- "pipelineAgg": "3"
- }
- ],
- "settings": {
- "script": "params.var1 * params.var2"
- },
- "type": "bucket_script"
- }
- ],
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count * avg (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 14
- },
- "hiddenSeries": false,
- "id": 66,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "hide": true,
- "id": "1",
- "type": "count"
- },
- {
- "field": "@value",
- "hide": true,
- "id": "3",
- "meta": {},
- "settings": {},
- "type": "avg"
- },
- {
- "field": "select field",
- "id": "4",
- "meta": {},
- "pipelineVariables": [
- {
- "name": "var1",
- "pipelineAgg": "1"
- },
- {
- "name": "var2",
- "pipelineAgg": "3"
- }
- ],
- "settings": {
- "script": "params.var1 * params.var2"
- },
- "type": "bucket_script"
- }
- ],
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count * avg (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- }
- ],
- "title": "Basic date histogram with bucket script aggregation",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 6
- },
- "id": 54,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_one"
- },
- "decimals": 3,
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 51,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": true,
- "rightSide": true,
- "show": true,
- "sort": "min",
- "sortDesc": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "{{@source}} - {{@hostname}} - {{@metric}} {{metric}}",
- "bucketAggs": [
- {
- "fake": true,
- "field": "@source",
- "id": "4",
- "settings": {
- "min_doc_count": 1,
- "order": "desc",
- "orderBy": "_count",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "fake": true,
- "field": "@metric",
- "id": "5",
- "settings": {
- "min_doc_count": 1,
- "order": "desc",
- "orderBy": "_term",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "fake": true,
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": 1,
- "order": "desc",
- "orderBy": "_term",
- "size": "5"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- },
- {
- "field": "@value",
- "id": "6",
- "meta": {},
- "settings": {},
- "type": "avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count/average with triple terms agg (version one) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "$version_two"
- },
- "decimals": 3,
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 52,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": true,
- "rightSide": true,
- "show": true,
- "sort": "min",
- "sortDesc": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "paceLength": 10,
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "{{@source}} - {{@hostname}} - {{@metric}} {{metric}}",
- "bucketAggs": [
- {
- "fake": true,
- "field": "@source",
- "id": "4",
- "settings": {
- "min_doc_count": 1,
- "order": "desc",
- "orderBy": "_count",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "fake": true,
- "field": "@metric",
- "id": "5",
- "settings": {
- "min_doc_count": 1,
- "order": "desc",
- "orderBy": "_term",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "fake": true,
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": 1,
- "order": "desc",
- "orderBy": "_term",
- "size": "5"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- },
- {
- "field": "@value",
- "id": "6",
- "meta": {},
- "settings": {},
- "type": "avg"
- }
- ],
- "refId": "A",
- "target": "",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "count/average with triple terms agg (version two) - interval auto",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- }
- ],
- "title": "Multiple metrics and aggregations",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 7
- },
- "id": 103,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 8
- },
- "hiddenSeries": false,
- "id": 104,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "_count",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "id": "1",
- "type": "count"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by Doc Count",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 8
- },
- "hiddenSeries": false,
- "id": 107,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "_count",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "id": "1",
- "type": "count"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by Doc Count",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 16
- },
- "hiddenSeries": false,
- "id": 116,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "_term",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "id": "1",
- "type": "count"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by Term value",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 16
- },
- "hiddenSeries": false,
- "id": 117,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "_term",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "id": "1",
- "type": "count"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by Term value",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 24
- },
- "hiddenSeries": false,
- "id": 105,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "type": "avg"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by avg",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 24
- },
- "hiddenSeries": false,
- "id": 108,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "type": "avg"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by avg",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 32
- },
- "hiddenSeries": false,
- "id": 106,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "type": "cardinality"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by unique count",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 32
- },
- "hiddenSeries": false,
- "id": 109,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.4.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "type": "cardinality"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by unique count",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- }
- ],
- "title": "Terms order by simple aggregation",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 8
- },
- "id": 84,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 9
- },
- "hiddenSeries": false,
- "id": 86,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1[avg]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": true,
- "count": false,
- "max": false,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (avg)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 9
- },
- "hiddenSeries": false,
- "id": 94,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1[avg]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": true,
- "count": false,
- "max": false,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (avg)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 17
- },
- "hiddenSeries": false,
- "id": 87,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1[min]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": false,
- "min": true,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (min)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 17
- },
- "hiddenSeries": false,
- "id": 95,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1[min]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": false,
- "min": true,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (min)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 25
- },
- "hiddenSeries": false,
- "id": 88,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1[max]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": true,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (max)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 25
- },
- "hiddenSeries": false,
- "id": 96,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1[max]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": true,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (max)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 33
- },
- "hiddenSeries": false,
- "id": 89,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1[sum]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": false,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": true
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (sum)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 33
- },
- "hiddenSeries": false,
- "id": 97,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1[sum]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": false,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": true
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (sum)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 41
- },
- "hiddenSeries": false,
- "id": 90,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "asc",
- "orderBy": "1[count]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": true,
- "max": false,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (count)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 41
- },
- "hiddenSeries": false,
- "id": 98,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "asc",
- "orderBy": "1[count]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": true,
- "max": false,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (count)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 49
- },
- "hiddenSeries": false,
- "id": 91,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "asc",
- "orderBy": "1[std_deviation]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": false,
- "min": false,
- "std_deviation": true,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (std dev)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 49
- },
- "hiddenSeries": false,
- "id": 99,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "asc",
- "orderBy": "1[std_deviation]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": false,
- "min": false,
- "std_deviation": true,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (std dev)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 57
- },
- "hiddenSeries": false,
- "id": 92,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "asc",
- "orderBy": "1[std_upper]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": false,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": true,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (std dev upper)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 57
- },
- "hiddenSeries": false,
- "id": 100,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "asc",
- "orderBy": "1[std_upper]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": false,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": false,
- "std_deviation_bounds_upper": true,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (std dev upper)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 65
- },
- "hiddenSeries": false,
- "id": 93,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "asc",
- "orderBy": "1[std_lower]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": false,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": true,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (std dev lower)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 65
- },
- "hiddenSeries": false,
- "id": 101,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "asc",
- "orderBy": "1[std_lower]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "meta": {
- "avg": false,
- "count": false,
- "max": false,
- "min": false,
- "std_deviation": false,
- "std_deviation_bounds_lower": true,
- "std_deviation_bounds_upper": false,
- "sum": false
- },
- "type": "extended_stats"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by extended stats (std dev lower)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- }
- ],
- "title": "Terms order by extended stats",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 9
- },
- "id": 111,
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 10
- },
- "hiddenSeries": false,
- "id": 112,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1[25.0]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "settings": {
- "percents": [
- "25"
- ]
- },
- "type": "percentiles"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by percentile (25)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 10
- },
- "hiddenSeries": false,
- "id": 114,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "desc",
- "orderBy": "1[25.0]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "settings": {
- "percents": [
- "25"
- ]
- },
- "type": "percentiles"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by percentile (25)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_one}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 18
- },
- "hiddenSeries": false,
- "id": 113,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "asc",
- "orderBy": "1[99.0]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "settings": {
- "percents": [
- "99"
- ]
- },
- "type": "percentiles"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by percentile (99)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": {
- "uid": "${version_two}"
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 18
- },
- "hiddenSeries": false,
- "id": 115,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.5.0-pre",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "bucketAggs": [
- {
- "field": "@hostname",
- "id": "3",
- "settings": {
- "min_doc_count": "0",
- "order": "asc",
- "orderBy": "1[99.0]",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "settings": {
- "percents": [
- "99"
- ]
- },
- "type": "percentiles"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeRegions": [],
- "title": "Terms order by percentile (99)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
- }
- ],
- "title": "Terms order by percentile",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 10
- },
- "id": 119,
- "panels": [],
- "title": "Inline scripts",
- "type": "row"
- },
- {
- "datasource": {
- "uid": "${version_one}"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "viz": false,
- "legend": false,
- "tooltip": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 11
- },
- "id": 121,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "alias": "New Script Format",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "settings": {
- "script": "_value * 2"
- },
- "type": "avg"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- },
- {
- "alias": "Old Script Format",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "hide": false,
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "settings": {
- "script": {
- "inline": "_value * 1.5"
- }
- },
- "type": "avg"
- }
- ],
- "query": "",
- "refId": "B",
- "timeField": "@timestamp"
- }
- ],
- "title": "Old & new script format",
- "type": "timeseries"
- },
- {
- "datasource": {
- "uid": "${version_two}"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "viz": false,
- "legend": false,
- "tooltip": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 11
- },
- "id": 122,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "alias": "New Script Format",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "settings": {
- "script": "_value * 2"
- },
- "type": "avg"
- }
- ],
- "query": "",
- "refId": "A",
- "timeField": "@timestamp"
- },
- {
- "alias": "Old Script Format",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto"
- },
- "type": "date_histogram"
- }
- ],
- "hide": false,
- "metrics": [
- {
- "field": "@value",
- "id": "1",
- "settings": {
- "script": {
- "inline": "_value * 1.5"
- }
- },
- "type": "avg"
- }
- ],
- "query": "",
- "refId": "B",
- "timeField": "@timestamp"
- }
- ],
- "title": "Old & new script format",
- "type": "timeseries"
- }
- ],
- "refresh": false,
- "schemaVersion": 33,
- "style": "dark",
- "tags": [
- "elasticsearch",
- "gdev",
- "datasource-test"
- ],
- "templating": {
- "list": [
- {
- "current": {
- "selected": false,
- "text": "gdev-elasticsearch-v5-metrics",
- "value": "gdev-elasticsearch-v5-metrics"
- },
- "hide": 0,
- "includeAll": false,
- "label": "Version One",
- "multi": false,
- "name": "version_one",
- "options": [],
- "query": "elasticsearch",
- "queryValue": "",
- "refresh": 1,
- "regex": "/^gdev.*metrics$/",
- "skipUrlSync": false,
- "type": "datasource"
- },
- {
- "current": {
- "selected": false,
- "text": "gdev-elasticsearch-v56-metrics",
- "value": "gdev-elasticsearch-v56-metrics"
- },
- "hide": 0,
- "includeAll": false,
- "label": "Version Two",
- "multi": false,
- "name": "version_two",
- "options": [],
- "query": "elasticsearch",
- "queryValue": "",
- "refresh": 1,
- "regex": "/^gdev.*metrics$/",
- "skipUrlSync": false,
- "type": "datasource"
- }
- ]
- },
- "time": {
- "from": "now-6h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Datasource tests - Elasticsearch comparison",
- "uid": "fuFWehBmk",
- "version": 4
-}
diff --git a/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_complex.json b/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_complex.json
new file mode 100644
index 00000000000..5c277b491f2
--- /dev/null
+++ b/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_complex.json
@@ -0,0 +1,5300 @@
+{
+ "annotations": {
+ "list": [
+ {
+ "builtIn": 1,
+ "datasource": {
+ "type": "grafana",
+ "uid": "-- Grafana --"
+ },
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "type": "dashboard"
+ }
+ ]
+ },
+ "editable": true,
+ "fiscalYearStartMonth": 0,
+ "graphTooltip": 0,
+ "links": [],
+ "liveNow": false,
+ "panels": [
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 0
+ },
+ "id": 8,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 1
+ },
+ "id": 1,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m",
+ "min_doc_count": 50
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "select field",
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic - interval 1m + min doc count 50",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 1
+ },
+ "id": 10,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto",
+ "min_doc_count": 0,
+ "trimEdges": 0
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "select field",
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "always",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 9
+ },
+ "id": 12,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "5m",
+ "min_doc_count": 0,
+ "trimEdges": 10
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "select field",
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic - interval 5m + trim edges = 10",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with count",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 1
+ },
+ "id": 7,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 2
+ },
+ "id": 14,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - avg - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 2
+ },
+ "id": 16,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "percents": [
+ "25",
+ "50",
+ "75",
+ "95",
+ "99"
+ ]
+ },
+ "type": "percentiles"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - percentiles - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 10
+ },
+ "id": 18,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "min"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - min - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 10
+ },
+ "id": 19,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - sum - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 18
+ },
+ "id": 21,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "max"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - max - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 18
+ },
+ "id": 27,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "meta": {
+ "avg": true,
+ "count": true,
+ "max": true,
+ "min": true,
+ "std_deviation": true,
+ "std_deviation_bounds_lower": true,
+ "std_deviation_bounds_upper": true,
+ "sum": true
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - extended stats - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 26
+ },
+ "id": 23,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "cardinality"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - unique count - interval auto",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with metric aggregation",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 2
+ },
+ "id": 6,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 3
+ },
+ "id": 26,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "5m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": false,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "moving function - count - interval 5m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 3
+ },
+ "id": 29,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "5m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "hide": false,
+ "id": "1",
+ "type": "cardinality"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "moving function - unique count - interval 5m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 11
+ },
+ "id": 31,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "max"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "moving function - max - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 11
+ },
+ "id": 34,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "moving function - avg - interval 1m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 19
+ },
+ "id": 35,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "type": "sum"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "moving function - sum - interval 1m",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with moving functions",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 3
+ },
+ "id": 5,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 4
+ },
+ "id": 37,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "precision_threshold": "10"
+ },
+ "type": "cardinality"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "derivative"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "derivative - unique count - interval 1m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 4
+ },
+ "id": 39,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "max"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "derivative"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "derivative - max - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 12
+ },
+ "id": 42,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "type": "sum"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "derivative"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "derivative - sum - interval auto",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with derivative",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 4
+ },
+ "id": 4,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 5
+ },
+ "id": 43,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "precision_threshold": "10"
+ },
+ "type": "cardinality"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "cumulative sum - unique count - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 5
+ },
+ "id": 46,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "settings": {
+ "script": "_value * 0.1"
+ },
+ "type": "avg"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "cumulative sum - avg - interval 1m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 13
+ },
+ "id": 48,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "10s"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "cumulative sum - count - interval 10s",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 13
+ },
+ "id": 49,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m",
+ "trimEdges": "100"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "min"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "cumulative sum - min - interval 1m - trim edges 100",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with cumulative sum aggregation",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 5
+ },
+ "id": 3,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 6
+ },
+ "id": 51,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": true,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "value",
+ "hide": true,
+ "id": "4",
+ "type": "avg"
+ },
+ {
+ "id": "5",
+ "pipelineVariables": [
+ {
+ "name": "var1",
+ "pipelineAgg": "1"
+ },
+ {
+ "name": "var2",
+ "pipelineAgg": "4"
+ }
+ ],
+ "settings": {
+ "script": "params.var1 * params.var2"
+ },
+ "type": "bucket_script"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "count * avg - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 6
+ },
+ "id": 54,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": true,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "id": "3",
+ "pipelineVariables": [
+ {
+ "name": "var1",
+ "pipelineAgg": "1"
+ }
+ ],
+ "settings": {
+ "script": "params.var1 * 1000"
+ },
+ "type": "bucket_script"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "count * 1000 - interval 1m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 14
+ },
+ "id": 57,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "Alias",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": true,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "id": "3",
+ "pipelineVariables": [
+ {
+ "name": "var1",
+ "pipelineAgg": "1"
+ }
+ ],
+ "settings": {
+ "script": "params.var1 * 1000"
+ },
+ "type": "bucket_script"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "count * 1000 - interval 1m",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with bucket script aggregation",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 6
+ },
+ "id": 2,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 7
+ },
+ "id": 55,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "4",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_count",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "metric",
+ "id": "5",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "level",
+ "id": "6",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": false,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "value",
+ "id": "3",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "count/average with triple terms agg - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 7
+ },
+ "id": 60,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "{{hostname}} - {{metric}} - {{level}}",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "4",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_count",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "metric",
+ "id": "5",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "level",
+ "id": "6",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": false,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "value",
+ "id": "3",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "count/average with triple terms agg - interval auto",
+ "transformations": [],
+ "type": "timeseries"
+ }
+ ],
+ "title": "Multiple metrics and aggregations",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 7
+ },
+ "id": 62,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 8
+ },
+ "id": 61,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "0",
+ "order": "desc",
+ "orderBy": "1",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "cardinality"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by unique count",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 8
+ },
+ "id": 70,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "0",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by Term value",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 16
+ },
+ "id": 71,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by Doc Count",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 16
+ },
+ "id": 73,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by avg",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 24
+ },
+ "id": 76,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "hostname: {{hostname}}",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by avg with alias",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Terms order by simple aggregation",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 8
+ },
+ "id": 63,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 9
+ },
+ "id": 78,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[std_lower]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "meta": {
+ "std_deviation_bounds_lower": true,
+ "std_deviation_bounds_upper": false
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by extended stats (std dev lower)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 9
+ },
+ "id": 80,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[std_lower]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "meta": {
+ "std_deviation": true,
+ "std_deviation_bounds_lower": false,
+ "std_deviation_bounds_upper": false
+ },
+ "settings": {
+ "script": "_value * 4",
+ "sigma": "3"
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by extended stats (std dev)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 17
+ },
+ "id": 82,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[sum]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1h"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "meta": {
+ "std_deviation": false,
+ "std_deviation_bounds_lower": false,
+ "std_deviation_bounds_upper": false,
+ "sum": true
+ },
+ "settings": {
+ "script": "_value * 4",
+ "sigma": "3"
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by extended stats (sum)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 17
+ },
+ "id": 83,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[count]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "10m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "meta": {
+ "avg": true,
+ "count": true,
+ "std_deviation": false,
+ "std_deviation_bounds_lower": false,
+ "std_deviation_bounds_upper": false,
+ "sum": false
+ },
+ "settings": {
+ "script": "_value * 4",
+ "sigma": "3"
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by extended stats (count,avg)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Terms order by extended stats",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 9
+ },
+ "id": 64,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 10
+ },
+ "id": 85,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[25.0]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "settings": {
+ "percents": [
+ "25",
+ "50",
+ "75",
+ "95",
+ "99"
+ ],
+ "script": "_value * 2"
+ },
+ "type": "percentiles"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by percentile",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 10
+ },
+ "id": 88,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[99.0]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "percents": [
+ "99"
+ ]
+ },
+ "type": "percentiles"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by percentile (99)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Terms order by percentile",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 10
+ },
+ "id": 65,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 11
+ },
+ "id": 89,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "New script format",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "script": "_value * 2"
+ },
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "alias": "Old script format",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "hide": false,
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "script": "_value * 1.5"
+ },
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "B",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Old & new script format",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Inline scripts",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 11
+ },
+ "id": 66,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "inspect": false
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 28
+ },
+ "id": 92,
+ "options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
+ },
+ "showHeader": true
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "size": "500"
+ },
+ "type": "raw_document"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Raw documents in table",
+ "transformations": [
+ {
+ "id": "extractFields",
+ "options": {
+ "format": "json",
+ "replace": true,
+ "source": "A"
+ }
+ }
+ ],
+ "type": "table"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "inspect": false
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 36
+ },
+ "id": 93,
+ "options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
+ },
+ "showHeader": true
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "size": "10"
+ },
+ "type": "raw_data"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Raw data",
+ "transformations": [],
+ "type": "table"
+ }
+ ],
+ "title": "Raw data and documents",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 12
+ },
+ "id": 67,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 13
+ },
+ "id": 95,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "limit": "10"
+ },
+ "type": "logs"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Logs",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 21
+ },
+ "id": 94,
+ "options": {
+ "dedupStrategy": "none",
+ "enableLogDetails": true,
+ "prettifyLogMessage": false,
+ "showCommonLabels": false,
+ "showLabels": false,
+ "showTime": false,
+ "sortOrder": "Descending",
+ "wrapLogMessage": false
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "limit": "10"
+ },
+ "type": "logs"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Logs",
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "inspect": false
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 29
+ },
+ "id": 96,
+ "options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
+ },
+ "showHeader": true
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "limit": "10"
+ },
+ "type": "logs"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Logs",
+ "type": "table"
+ }
+ ],
+ "title": "Logs",
+ "type": "row"
+ }
+ ],
+ "refresh": "",
+ "schemaVersion": 38,
+ "style": "dark",
+ "tags": [
+ "gdev",
+ "elasticsearch",
+ "datasource-test"
+ ],
+ "templating": {
+ "list": []
+ },
+ "time": {
+ "from": "now-6h",
+ "to": "now"
+ },
+ "timepicker": {},
+ "timezone": "",
+ "title": "Datasource tests - Elasticsearch complex",
+ "uid": "es_complex",
+ "version": 1,
+ "weekStart": ""
+}
diff --git a/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_migration.json b/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_migration.json
new file mode 100644
index 00000000000..d0790a5c3e2
--- /dev/null
+++ b/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_migration.json
@@ -0,0 +1,10352 @@
+{
+ "annotations": {
+ "list": [
+ {
+ "builtIn": 1,
+ "datasource": {
+ "type": "grafana",
+ "uid": "-- Grafana --"
+ },
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "type": "dashboard"
+ }
+ ]
+ },
+ "editable": true,
+ "fiscalYearStartMonth": 0,
+ "graphTooltip": 0,
+ "links": [],
+ "liveNow": false,
+ "panels": [
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 0
+ },
+ "id": 8,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 17
+ },
+ "id": 1,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m",
+ "min_doc_count": 50
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "select field",
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic - interval 1m + min doc count 50",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 17
+ },
+ "id": 9,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m",
+ "min_doc_count": 50
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "select field",
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Basic - interval 1m + min doc count 50 (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 25
+ },
+ "id": 10,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto",
+ "min_doc_count": 0,
+ "trimEdges": 0
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "select field",
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 25
+ },
+ "id": 11,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto",
+ "min_doc_count": 0,
+ "trimEdges": 0
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "select field",
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Basic - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "always",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 33
+ },
+ "id": 12,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "5m",
+ "min_doc_count": 0,
+ "trimEdges": 10
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "select field",
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic - interval 5m + trim edges = 10",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "always",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 33
+ },
+ "id": 13,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "5m",
+ "min_doc_count": 0,
+ "trimEdges": 10
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "select field",
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Basic - interval 5m + trim edges = 10 (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with count",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 1
+ },
+ "id": 7,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 18
+ },
+ "id": 14,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - avg - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 18
+ },
+ "id": 15,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Basic with aggregation - avg - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 26
+ },
+ "id": 16,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "percents": [
+ "25",
+ "50",
+ "75",
+ "95",
+ "99"
+ ]
+ },
+ "type": "percentiles"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - percentiles - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 26
+ },
+ "id": 17,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "percents": [
+ "25",
+ "50",
+ "75",
+ "95",
+ "99"
+ ]
+ },
+ "type": "percentiles"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Basic with aggregation - percentiles - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 34
+ },
+ "id": 18,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "min"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - min - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 34
+ },
+ "id": 20,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "min"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Basic with aggregation - min - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 42
+ },
+ "id": 19,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - sum - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 42
+ },
+ "id": 22,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Basic with aggregation - sum - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 50
+ },
+ "id": 21,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "max"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - max - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 50
+ },
+ "id": 24,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "max"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Basic with aggregation - max - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 58
+ },
+ "id": 27,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "meta": {
+ "avg": true,
+ "count": true,
+ "max": true,
+ "min": true,
+ "std_deviation": true,
+ "std_deviation_bounds_lower": true,
+ "std_deviation_bounds_upper": true,
+ "sum": true
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - extended stats - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 58
+ },
+ "id": 28,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "meta": {
+ "avg": true,
+ "count": true,
+ "max": true,
+ "min": true,
+ "std_deviation": true,
+ "std_deviation_bounds_lower": true,
+ "std_deviation_bounds_upper": true,
+ "sum": true
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Basic with aggregation - extended stats - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 66
+ },
+ "id": 23,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "cardinality"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Basic with aggregation - unique count - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 66
+ },
+ "id": 25,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "cardinality"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Basic with aggregation - unique count - interval auto (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with metric aggregation",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 2
+ },
+ "id": 6,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 19
+ },
+ "id": 26,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "5m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": false,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "moving function - count - interval 5m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 19
+ },
+ "id": 30,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "5m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": false,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "moving function - count - interval 5m (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 27
+ },
+ "id": 29,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "5m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "hide": false,
+ "id": "1",
+ "type": "cardinality"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "moving function - unique count - interval 5m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 27
+ },
+ "id": 32,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "5m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "hide": false,
+ "id": "1",
+ "type": "cardinality"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "moving function - unique count - interval 5m (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 35
+ },
+ "id": 31,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "max"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "moving function - max - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 35
+ },
+ "id": 33,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "max"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "moving function - max - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 43
+ },
+ "id": 34,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "moving function - avg - interval 1m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 43
+ },
+ "id": 36,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "moving function - avg - interval 1m (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 51
+ },
+ "id": 35,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "type": "sum"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "moving function - sum - interval 1m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 51
+ },
+ "id": 38,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "type": "sum"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "settings": {
+ "script": "MovingFunctions.max(values)",
+ "window": "10"
+ },
+ "type": "moving_fn"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "moving function - sum - interval 1m (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with moving functions",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 3
+ },
+ "id": 5,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 20
+ },
+ "id": 37,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "precision_threshold": "10"
+ },
+ "type": "cardinality"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "derivative"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "derivative - unique count - interval 1m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 20
+ },
+ "id": 40,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "precision_threshold": "10"
+ },
+ "type": "cardinality"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "derivative"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "derivative - unique count - interval 1m (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 28
+ },
+ "id": 39,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "max"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "derivative"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "derivative - max - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 28
+ },
+ "id": 41,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "max"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "derivative"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "derivative - max - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 36
+ },
+ "id": 42,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "type": "sum"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "derivative"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "derivative - sum - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 36
+ },
+ "id": 44,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "type": "sum"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "derivative"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "derivative - sum - interval auto (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with derivative",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 4
+ },
+ "id": 4,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 21
+ },
+ "id": 43,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "precision_threshold": "10"
+ },
+ "type": "cardinality"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "cumulative sum - unique count - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 21
+ },
+ "id": 45,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "precision_threshold": "10"
+ },
+ "type": "cardinality"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "cumulative sum - unique count - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 29
+ },
+ "id": 46,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "settings": {
+ "script": "_value * 0.1"
+ },
+ "type": "avg"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "cumulative sum - avg - interval 1m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 29
+ },
+ "id": 47,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "settings": {
+ "script": "_value * 0.1"
+ },
+ "type": "avg"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "cumulative sum - avg - interval 1m (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 37
+ },
+ "id": 48,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "10s"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "cumulative sum - count - interval 10s",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 37
+ },
+ "id": 50,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "10s"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "cumulative sum - count - interval 10s (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 45
+ },
+ "id": 49,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m",
+ "trimEdges": "100"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "min"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "cumulative sum - min - interval 1m - trim edges 100",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 45
+ },
+ "id": 52,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m",
+ "trimEdges": "100"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "min"
+ },
+ {
+ "field": "1",
+ "id": "4",
+ "pipelineAgg": "1",
+ "type": "cumulative_sum"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "cumulative sum - min - interval 1m - trim edges 100 (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with cumulative sum aggregation",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 5
+ },
+ "id": 3,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 22
+ },
+ "id": 51,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": true,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "value",
+ "hide": true,
+ "id": "4",
+ "type": "avg"
+ },
+ {
+ "id": "5",
+ "pipelineVariables": [
+ {
+ "name": "var1",
+ "pipelineAgg": "1"
+ },
+ {
+ "name": "var2",
+ "pipelineAgg": "4"
+ }
+ ],
+ "settings": {
+ "script": "params.var1 * params.var2"
+ },
+ "type": "bucket_script"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "count * avg - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 22
+ },
+ "id": 53,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": true,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "value",
+ "hide": true,
+ "id": "4",
+ "type": "avg"
+ },
+ {
+ "id": "5",
+ "pipelineVariables": [
+ {
+ "name": "var1",
+ "pipelineAgg": "1"
+ },
+ {
+ "name": "var2",
+ "pipelineAgg": "4"
+ }
+ ],
+ "settings": {
+ "script": "params.var1 * params.var2"
+ },
+ "type": "bucket_script"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "count * avg - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 30
+ },
+ "id": 54,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": true,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "id": "3",
+ "pipelineVariables": [
+ {
+ "name": "var1",
+ "pipelineAgg": "1"
+ }
+ ],
+ "settings": {
+ "script": "params.var1 * 1000"
+ },
+ "type": "bucket_script"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "count * 1000 - interval 1m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 30
+ },
+ "id": 56,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": true,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "id": "3",
+ "pipelineVariables": [
+ {
+ "name": "var1",
+ "pipelineAgg": "1"
+ }
+ ],
+ "settings": {
+ "script": "params.var1 * 1000"
+ },
+ "type": "bucket_script"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "count * 1000 - interval 1m (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 38
+ },
+ "id": 57,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "Alias",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": true,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "id": "3",
+ "pipelineVariables": [
+ {
+ "name": "var1",
+ "pipelineAgg": "1"
+ }
+ ],
+ "settings": {
+ "script": "params.var1 * 1000"
+ },
+ "type": "bucket_script"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "count * 1000 - interval 1m",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 38
+ },
+ "id": 58,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "Alias",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": true,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "id": "3",
+ "pipelineVariables": [
+ {
+ "name": "var1",
+ "pipelineAgg": "1"
+ }
+ ],
+ "settings": {
+ "script": "params.var1 * 1000"
+ },
+ "type": "bucket_script"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "count * 1000 - interval 1m (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Date histogram with bucket script aggregation",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 6
+ },
+ "id": 2,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 23
+ },
+ "id": 55,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "4",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_count",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "metric",
+ "id": "5",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "level",
+ "id": "6",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": false,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "value",
+ "id": "3",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "count/average with triple terms agg - interval auto",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 23
+ },
+ "id": 59,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "4",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_count",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "metric",
+ "id": "5",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "level",
+ "id": "6",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": false,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "value",
+ "id": "3",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "count/average with triple terms agg - interval auto (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 31
+ },
+ "id": 60,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "{{hostname}} - {{metric}} - {{level}}",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "4",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_count",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "metric",
+ "id": "5",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "level",
+ "id": "6",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": false,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "value",
+ "id": "3",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "count/average with triple terms agg - interval auto",
+ "transformations": [],
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 31
+ },
+ "id": 68,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "{{hostname}} - {{metric}} - {{level}}",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "4",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_count",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "metric",
+ "id": "5",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "level",
+ "id": "6",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "hide": false,
+ "id": "1",
+ "type": "count"
+ },
+ {
+ "field": "value",
+ "id": "3",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "count/average with triple terms agg - interval auto (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Multiple metrics and aggregations",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 7
+ },
+ "id": 62,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 40
+ },
+ "id": 61,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "0",
+ "order": "desc",
+ "orderBy": "1",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "cardinality"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by unique count",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 40
+ },
+ "id": 69,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "0",
+ "order": "desc",
+ "orderBy": "1",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "cardinality"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by unique count (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 48
+ },
+ "id": 70,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "0",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by Term value",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 48
+ },
+ "id": 72,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "0",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by Term value (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 56
+ },
+ "id": 71,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by Doc Count",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 56
+ },
+ "id": 74,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by Doc Count (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 64
+ },
+ "id": 73,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by avg",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 64
+ },
+ "id": 75,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by avg (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 72
+ },
+ "id": 76,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "hostname: {{hostname}}",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by avg with alias",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 72
+ },
+ "id": 77,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "hostname: {{hostname}}",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by avg with alias (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Terms order by simple aggregation",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 8
+ },
+ "id": 63,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 41
+ },
+ "id": 78,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[std_lower]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "meta": {
+ "std_deviation_bounds_lower": true,
+ "std_deviation_bounds_upper": false
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by extended stats (std dev lower)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 41
+ },
+ "id": 79,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[std_lower]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "meta": {
+ "std_deviation_bounds_lower": true,
+ "std_deviation_bounds_upper": false
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by extended stats (std dev lower) (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 49
+ },
+ "id": 80,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[std_lower]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "meta": {
+ "std_deviation": true,
+ "std_deviation_bounds_lower": false,
+ "std_deviation_bounds_upper": false
+ },
+ "settings": {
+ "script": "_value * 4",
+ "sigma": "3"
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by extended stats (std dev)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 49
+ },
+ "id": 81,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[std_lower]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "meta": {
+ "std_deviation": true,
+ "std_deviation_bounds_lower": false,
+ "std_deviation_bounds_upper": false
+ },
+ "settings": {
+ "script": "_value * 4",
+ "sigma": "3"
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by extended stats (std dev) (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 57
+ },
+ "id": 82,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[sum]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1h"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "meta": {
+ "std_deviation": false,
+ "std_deviation_bounds_lower": false,
+ "std_deviation_bounds_upper": false,
+ "sum": true
+ },
+ "settings": {
+ "script": "_value * 4",
+ "sigma": "3"
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by extended stats (sum)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 57
+ },
+ "id": 84,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[sum]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "1h"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "meta": {
+ "std_deviation": false,
+ "std_deviation_bounds_lower": false,
+ "std_deviation_bounds_upper": false,
+ "sum": true
+ },
+ "settings": {
+ "script": "_value * 4",
+ "sigma": "3"
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by extended stats (sum) (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 65
+ },
+ "id": 83,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[count]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "10m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "meta": {
+ "avg": true,
+ "count": true,
+ "std_deviation": false,
+ "std_deviation_bounds_lower": false,
+ "std_deviation_bounds_upper": false,
+ "sum": false
+ },
+ "settings": {
+ "script": "_value * 4",
+ "sigma": "3"
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by extended stats (count,avg)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 65
+ },
+ "id": 86,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[count]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "10m"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "meta": {
+ "avg": true,
+ "count": true,
+ "std_deviation": false,
+ "std_deviation_bounds_lower": false,
+ "std_deviation_bounds_upper": false,
+ "sum": false
+ },
+ "settings": {
+ "script": "_value * 4",
+ "sigma": "3"
+ },
+ "type": "extended_stats"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by extended stats (count,avg) (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Terms order by extended stats",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 9
+ },
+ "id": 64,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 26
+ },
+ "id": 85,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[25.0]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "settings": {
+ "percents": [
+ "25",
+ "50",
+ "75",
+ "95",
+ "99"
+ ],
+ "script": "_value * 2"
+ },
+ "type": "percentiles"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by percentile",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 26
+ },
+ "id": 87,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[25.0]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "settings": {
+ "percents": [
+ "25",
+ "50",
+ "75",
+ "95",
+ "99"
+ ],
+ "script": "_value * 2"
+ },
+ "type": "percentiles"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by percentile (backend)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 34
+ },
+ "id": 88,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[99.0]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "percents": [
+ "99"
+ ]
+ },
+ "type": "percentiles"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Terms order by percentile (99)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 34
+ },
+ "id": 90,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "1[99.0]",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "percents": [
+ "99"
+ ]
+ },
+ "type": "percentiles"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "B",
+ "type": "math"
+ }
+ ],
+ "title": "Terms order by percentile (99) (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Terms order by percentile",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 10
+ },
+ "id": 65,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 11
+ },
+ "id": 89,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "New script format",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "script": "_value * 2"
+ },
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "alias": "Old script format",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "hide": false,
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "script": "_value * 1.5"
+ },
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "B",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Old & new script format",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 11
+ },
+ "id": 91,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "New script format",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "script": "_value * 2"
+ },
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "alias": "Old script format",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "hide": false,
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "settings": {
+ "script": "_value * 1.5"
+ },
+ "type": "avg"
+ }
+ ],
+ "query": "",
+ "refId": "B",
+ "timeField": "@timestamp"
+ },
+ {
+ "datasource": {
+ "name": "Expression",
+ "type": "__expr__",
+ "uid": "__expr__"
+ },
+ "expression": "0",
+ "hide": false,
+ "refId": "C",
+ "type": "math"
+ }
+ ],
+ "title": "Old & new script format (backend)",
+ "type": "timeseries"
+ }
+ ],
+ "title": "Inline scripts",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 11
+ },
+ "id": 66,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "inspect": false
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 28
+ },
+ "id": 92,
+ "options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
+ },
+ "showHeader": true
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "size": "500"
+ },
+ "type": "raw_document"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Raw documents in table",
+ "transformations": [
+ {
+ "id": "extractFields",
+ "options": {
+ "format": "json",
+ "replace": true,
+ "source": "A"
+ }
+ }
+ ],
+ "type": "table"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "inspect": false
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 36
+ },
+ "id": 93,
+ "options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
+ },
+ "showHeader": true
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "size": "10"
+ },
+ "type": "raw_data"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Raw data",
+ "transformations": [],
+ "type": "table"
+ }
+ ],
+ "title": "Raw data and documents",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 12
+ },
+ "id": 67,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 21
+ },
+ "id": 95,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "limit": "10"
+ },
+ "type": "logs"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Logs",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 29
+ },
+ "id": 94,
+ "options": {
+ "dedupStrategy": "none",
+ "enableLogDetails": true,
+ "prettifyLogMessage": false,
+ "showCommonLabels": false,
+ "showLabels": false,
+ "showTime": false,
+ "sortOrder": "Descending",
+ "wrapLogMessage": false
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "limit": "10"
+ },
+ "type": "logs"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Logs",
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "inspect": false
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 37
+ },
+ "id": 96,
+ "options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
+ },
+ "showHeader": true
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "limit": "10"
+ },
+ "type": "logs"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Logs",
+ "type": "table"
+ }
+ ],
+ "title": "Logs",
+ "type": "row"
+ }
+ ],
+ "refresh": "",
+ "schemaVersion": 38,
+ "style": "dark",
+ "tags": [
+ "gdev",
+ "elasticsearch",
+ "datasource-test"
+ ],
+ "templating": {
+ "list": []
+ },
+ "time": {
+ "from": "now-6h",
+ "to": "now"
+ },
+ "timepicker": {},
+ "timezone": "",
+ "title": "Datasource tests - Elasticsearch migration",
+ "uid": "es_migration",
+ "version": 1,
+ "weekStart": ""
+}
diff --git a/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_simple.json b/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_simple.json
new file mode 100644
index 00000000000..3a95e86e807
--- /dev/null
+++ b/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_simple.json
@@ -0,0 +1,1128 @@
+{
+ "annotations": {
+ "list": [
+ {
+ "builtIn": 1,
+ "datasource": {
+ "type": "grafana",
+ "uid": "-- Grafana --"
+ },
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "type": "dashboard"
+ }
+ ]
+ },
+ "editable": true,
+ "fiscalYearStartMonth": 0,
+ "graphTooltip": 0,
+ "links": [],
+ "liveNow": false,
+ "panels": [
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 0
+ },
+ "id": 1,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "2",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "asc",
+ "orderBy": "1",
+ "size": "5"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "3",
+ "settings": {
+ "interval": "auto",
+ "min_doc_count": "0",
+ "timeZone": "utc",
+ "trimEdges": "0"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "max"
+ }
+ ],
+ "query": "*",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Top 5 servers",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 0
+ },
+ "id": 2,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "bucketAggs": [
+ {
+ "field": "metric",
+ "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"
+ }
+ ],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "dsType": "elasticsearch",
+ "metrics": [
+ {
+ "field": "value",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "metric:cpu",
+ "refId": "A",
+ "target": "",
+ "timeField": "@timestamp"
+ },
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "metric",
+ "id": "3",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto"
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "hide": false,
+ "metrics": [
+ {
+ "field": "float",
+ "id": "1",
+ "type": "avg"
+ }
+ ],
+ "query": "metric:latency",
+ "refId": "B",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Average metrics",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 8
+ },
+ "id": 3,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "{{metric}}",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "5m",
+ "min_doc_count": 0,
+ "trimEdges": 0
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "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"
+ }
+ ],
+ "title": "Percentiles & metric filter",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 8
+ },
+ "id": 4,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "alias": "{{metric}}",
+ "bucketAggs": [
+ {
+ "field": "@timestamp",
+ "id": "2",
+ "settings": {
+ "interval": "auto",
+ "min_doc_count": 0,
+ "trimEdges": 0
+ },
+ "type": "date_histogram"
+ }
+ ],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "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"
+ }
+ ],
+ "title": "Standard dev",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "inspect": false
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 7,
+ "w": 24,
+ "x": 0,
+ "y": 16
+ },
+ "id": 5,
+ "options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
+ },
+ "showHeader": true
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "hostname",
+ "id": "2",
+ "settings": {
+ "min_doc_count": 1,
+ "order": "asc",
+ "orderBy": "_term",
+ "size": "0"
+ },
+ "type": "terms"
+ },
+ {
+ "field": "level",
+ "id": "5",
+ "settings": {
+ "min_doc_count": "1",
+ "order": "desc",
+ "orderBy": "_term",
+ "size": "10"
+ },
+ "type": "terms"
+ }
+ ],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "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"
+ }
+ ],
+ "query": "",
+ "refId": "B",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "ES metrics",
+ "type": "table"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 10,
+ "w": 24,
+ "x": 0,
+ "y": 23
+ },
+ "id": 10,
+ "options": {
+ "controls": {
+ "mouseWheelZoom": true,
+ "showAttribution": true,
+ "showDebug": false,
+ "showMeasure": false,
+ "showScale": false,
+ "showZoom": true
+ },
+ "layers": [
+ {
+ "config": {
+ "showLegend": true,
+ "style": {
+ "color": {
+ "fixed": "dark-green"
+ },
+ "opacity": 0.4,
+ "rotation": {
+ "fixed": 0,
+ "max": 360,
+ "min": -360,
+ "mode": "mod"
+ },
+ "size": {
+ "fixed": 5,
+ "max": 15,
+ "min": 2
+ },
+ "symbol": {
+ "fixed": "img/icons/marker/circle.svg",
+ "mode": "fixed"
+ },
+ "textConfig": {
+ "fontSize": 12,
+ "offsetX": 0,
+ "offsetY": 0,
+ "textAlign": "center",
+ "textBaseline": "middle"
+ }
+ }
+ },
+ "location": {
+ "mode": "auto"
+ },
+ "name": "Layer 1",
+ "tooltip": true,
+ "type": "markers"
+ }
+ ],
+ "tooltip": {
+ "mode": "details"
+ },
+ "view": {
+ "allLayers": true,
+ "id": "zero",
+ "lat": 0,
+ "lon": 0,
+ "zoom": 1
+ }
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [
+ {
+ "field": "location",
+ "id": "2",
+ "settings": {
+ "precision": "3"
+ },
+ "type": "geohash_grid"
+ }
+ ],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "metrics": [
+ {
+ "id": "1",
+ "type": "count"
+ }
+ ],
+ "query": "",
+ "refId": "A",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Location with count in Geomap",
+ "transformations": [
+ {
+ "id": "organize",
+ "options": {
+ "excludeByName": {},
+ "indexByName": {},
+ "renameByName": {
+ "location": "geohash"
+ }
+ }
+ }
+ ],
+ "type": "geomap"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "gridPos": {
+ "h": 6,
+ "w": 12,
+ "x": 0,
+ "y": 33
+ },
+ "id": 6,
+ "options": {
+ "dedupStrategy": "none",
+ "enableLogDetails": true,
+ "prettifyLogMessage": false,
+ "showCommonLabels": false,
+ "showLabels": false,
+ "showTime": false,
+ "sortOrder": "Descending",
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "dsType": "elasticsearch",
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "limit": "500"
+ },
+ "type": "logs"
+ }
+ ],
+ "query": "",
+ "refId": "B",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Logs",
+ "transformations": [],
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "gridPos": {
+ "h": 6,
+ "w": 12,
+ "x": 12,
+ "y": 33
+ },
+ "id": 9,
+ "options": {
+ "dedupStrategy": "none",
+ "enableLogDetails": true,
+ "prettifyLogMessage": false,
+ "showCommonLabels": false,
+ "showLabels": false,
+ "showTime": false,
+ "sortOrder": "Descending",
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "dsType": "elasticsearch",
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "limit": "500"
+ },
+ "type": "logs"
+ }
+ ],
+ "query": "",
+ "refId": "B",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Logs reordered",
+ "transformations": [
+ {
+ "id": "organize",
+ "options": {
+ "excludeByName": {},
+ "indexByName": {
+ "@timestamp": 0,
+ "_id": 3,
+ "_index": 4,
+ "_source": 5,
+ "_type": 6,
+ "counter": 7,
+ "description": 8,
+ "float": 9,
+ "highlight": 10,
+ "hostname": 11,
+ "label": 12,
+ "level": 1,
+ "line": 2,
+ "location": 13,
+ "metric": 14,
+ "shapes": 15,
+ "sort": 16,
+ "value": 17
+ },
+ "renameByName": {}
+ }
+ }
+ ],
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "inspect": false
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 7,
+ "w": 24,
+ "x": 0,
+ "y": 39
+ },
+ "id": 8,
+ "options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
+ },
+ "showHeader": true
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "dsType": "elasticsearch",
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "size": "10"
+ },
+ "type": "raw_data"
+ }
+ ],
+ "query": "",
+ "refId": "B",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Raw data in table",
+ "transformations": [],
+ "type": "table"
+ },
+ {
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "inspect": false
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 7,
+ "w": 24,
+ "x": 0,
+ "y": 46
+ },
+ "id": 7,
+ "options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
+ },
+ "showHeader": true
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "alias": "",
+ "bucketAggs": [],
+ "datasource": {
+ "type": "elasticsearch",
+ "uid": "gdev-elasticsearch"
+ },
+ "dsType": "elasticsearch",
+ "metrics": [
+ {
+ "id": "1",
+ "settings": {
+ "size": "500"
+ },
+ "type": "raw_document"
+ }
+ ],
+ "query": "",
+ "refId": "B",
+ "timeField": "@timestamp"
+ }
+ ],
+ "title": "Raw document with json transformation in table",
+ "transformations": [
+ {
+ "id": "extractFields",
+ "options": {
+ "format": "json",
+ "replace": true,
+ "source": "B"
+ }
+ }
+ ],
+ "type": "table"
+ }
+ ],
+ "refresh": "",
+ "schemaVersion": 38,
+ "style": "dark",
+ "tags": [
+ "gdev",
+ "elasticsearch",
+ "datasource-test"
+ ],
+ "templating": {
+ "list": []
+ },
+ "time": {
+ "from": "now-6h",
+ "to": "now"
+ },
+ "timepicker": {},
+ "timezone": "",
+ "title": "Datasource tests - Elasticsearch simple",
+ "uid": "es_simple",
+ "version": 1,
+ "weekStart": ""
+}
diff --git a/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_v7.json b/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_v7.json
deleted file mode 100644
index 02b3ced02f6..00000000000
--- a/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_v7.json
+++ /dev/null
@@ -1,736 +0,0 @@
-{
- "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": "gdev-elasticsearch-v7-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": 1591027717495,
- "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-v7-metrics",
- "editable": true,
- "error": false,
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "hiddenSeries": false,
- "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",
- "options": {
- "dataLinks": []
- },
- "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-v7-metrics",
- "editable": true,
- "error": false,
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "grid": {},
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 0,
- "y": 7
- },
- "hiddenSeries": false,
- "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",
- "options": {
- "dataLinks": []
- },
- "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-v7-metrics",
- "editable": true,
- "error": false,
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "grid": {},
- "gridPos": {
- "h": 6,
- "w": 12,
- "x": 12,
- "y": 7
- },
- "hiddenSeries": false,
- "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",
- "options": {
- "dataLinks": []
- },
- "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-v7-metrics",
- "editable": true,
- "error": false,
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "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": [
- {
- "align": "auto",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "@timestamp",
- "type": "date"
- },
- {
- "align": "auto",
- "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-old"
- },
- {
- "columns": [
- {
- "text": "@timestamp",
- "value": "@timestamp"
- },
- {
- "text": "@message",
- "value": "@message"
- },
- {
- "text": "tags",
- "value": "tags"
- },
- {
- "text": "description",
- "value": "description"
- }
- ],
- "datasource": "gdev-elasticsearch-v7-logs",
- "editable": true,
- "error": false,
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "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": [
- {
- "align": "auto",
- "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-old"
- },
- {
- "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-v7-metrics",
- "decimals": 0,
- "esGeoPoint": "@location",
- "esMetric": "Average",
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "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": 25,
- "style": "dark",
- "tags": ["elasticsearch", "gdev", "datasource-test"],
- "templating": {
- "list": [
- {
- "datasource": "gdev-elasticsearch-v7-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 v7",
- "uid": "Y-RvmuRWk",
- "version": 1
-}
diff --git a/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_v7_filebeat.json b/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_v7_filebeat.json
deleted file mode 100644
index a5003193b11..00000000000
--- a/devenv/dev-dashboards/datasource-elasticsearch/elasticsearch_v7_filebeat.json
+++ /dev/null
@@ -1,241 +0,0 @@
-{
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "iteration": 1591027736516,
- "links": [
- {
- "asDropdown": true,
- "icon": "external link",
- "tags": ["gdev", "elasticsearch", "datasource-test"],
- "title": "Dashboards",
- "type": "dashboards"
- }
- ],
- "panels": [
- {
- "aliasColors": {
- "error": "red"
- },
- "bars": true,
- "dashLength": 10,
- "dashes": false,
- "datasource": "gdev-elasticsearch-v7-filebeat",
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "hiddenSeries": false,
- "id": 4,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "bucketAggs": [
- {
- "fake": true,
- "field": "fields.level",
- "id": "3",
- "settings": {
- "min_doc_count": 1,
- "order": "desc",
- "orderBy": "_term",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "5m",
- "min_doc_count": 1,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- }
- ],
- "query": "fields.app:grafana",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Panel Title",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "datasource": "gdev-elasticsearch-v7-filebeat",
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "gridPos": {
- "h": 22,
- "w": 24,
- "x": 0,
- "y": 5
- },
- "id": 2,
- "links": [],
- "options": {
- "showLabels": false,
- "showTime": true,
- "sortOrder": "Descending",
- "wrapLogMessage": true
- },
- "targets": [
- {
- "bucketAggs": [
- {
- "$$hashKey": "object:522",
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "metrics": [
- {
- "$$hashKey": "object:484",
- "field": "select field",
- "id": "1",
- "meta": {},
- "settings": {},
- "type": "logs"
- }
- ],
- "query": "fields.app:grafana",
- "refId": "A",
- "timeField": "@timestamp"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Panel Title",
- "type": "logs"
- }
- ],
- "schemaVersion": 25,
- "style": "dark",
- "tags": ["elasticsearch", "gdev", "datasource-test"],
- "templating": {
- "list": [
- {
- "datasource": "gdev-elasticsearch-v7-filebeat",
- "filters": [],
- "hide": 0,
- "label": "",
- "name": "Filters",
- "skipUrlSync": false,
- "type": "adhoc"
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
- "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
- },
- "timezone": "",
- "title": "Datasource tests - Elasticsearch v7 Filebeat",
- "uid": "M94gguRWz",
- "version": 1
-}
diff --git a/devenv/dev-dashboards/panel-common/shared_queries.json b/devenv/dev-dashboards/panel-common/shared_queries.json
index b29485f4c3f..a4804559089 100644
--- a/devenv/dev-dashboards/panel-common/shared_queries.json
+++ b/devenv/dev-dashboards/panel-common/shared_queries.json
@@ -3,7 +3,10 @@
"list": [
{
"builtIn": 1,
- "datasource": "-- Grafana --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
@@ -13,17 +16,69 @@
]
},
"editable": true,
- "gnetId": null,
+ "fiscalYearStartMonth": 0,
"graphTooltip": 0,
"links": [],
+ "liveNow": false,
"panels": [
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "fill": 0,
- "fillGradient": 6,
+ "datasource": {
+ "type": "testdata",
+ "uid": "PD8C576611E62080A"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 60,
+ "gradientMode": "opacity",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 6,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "always",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "links": [],
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
+ },
+ "overrides": []
+ },
"gridPos": {
"h": 15,
"w": 12,
@@ -31,89 +86,79 @@
"y": 0
},
"id": 2,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "dataLinks": []
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pointradius": 2,
- "points": true,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "9.5.0-pre",
"targets": [
{
+ "datasource": {
+ "type": "testdata",
+ "uid": "PD8C576611E62080A"
+ },
"refId": "A",
"scenarioId": "csv_metric_values",
"stringInput": "1,20,90,30,5,0,100"
},
{
+ "datasource": {
+ "type": "testdata",
+ "uid": "PD8C576611E62080A"
+ },
"refId": "B",
"scenarioId": "csv_metric_values",
"stringInput": "1,20,90,30,5,-100,200"
},
{
+ "datasource": {
+ "type": "testdata",
+ "uid": "PD8C576611E62080A"
+ },
"refId": "C",
"scenarioId": "csv_metric_values",
"stringInput": "2.5,3.5,4.5,10.5,20.5,21.5,19.5"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Raw Data Graph",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "datasource": "-- Dashboard --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Dashboard --"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "max": 100,
+ "min": 0,
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
"gridPos": {
"h": 5,
"w": 12,
@@ -122,44 +167,59 @@
},
"id": 4,
"options": {
- "fieldOptions": {
- "calcs": ["lastNotNull"],
- "defaults": {
- "mappings": [],
- "max": 100,
- "min": 0,
- "thresholds": [
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showThresholdLabels": false,
+ "showThresholdMarkers": true
+ },
+ "pluginVersion": "9.5.0-pre",
+ "targets": [
+ {
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Dashboard --"
+ },
+ "panelId": 2,
+ "refId": "A"
+ }
+ ],
+ "title": "Last non-null",
+ "type": "gauge"
+ },
+ {
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Dashboard --"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "max": 100,
+ "min": 0,
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
"value": 80
}
]
- },
- "override": {},
- "values": false
+ }
},
- "orientation": "auto",
- "showThresholdLabels": false,
- "showThresholdMarkers": true
+ "overrides": []
},
- "pluginVersion": "6.4.0-pre",
- "targets": [
- {
- "panelId": 2,
- "refId": "A"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Last non-null",
- "type": "gauge"
- },
- {
- "datasource": "-- Dashboard --",
"gridPos": {
"h": 5,
"w": 12,
@@ -168,63 +228,49 @@
},
"id": 6,
"options": {
- "fieldOptions": {
- "calcs": ["min"],
- "defaults": {
- "mappings": [],
- "max": 100,
- "min": 0,
- "thresholds": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "override": {},
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "min"
+ ],
+ "fields": "",
"values": false
},
- "orientation": "auto",
"showThresholdLabels": false,
"showThresholdMarkers": true
},
- "pluginVersion": "6.4.0-pre",
+ "pluginVersion": "9.5.0-pre",
"targets": [
{
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Dashboard --"
+ },
"panelId": 2,
"refId": "A"
}
],
- "timeFrom": null,
- "timeShift": null,
"title": "min",
"type": "gauge"
},
{
- "datasource": "-- Dashboard --",
- "gridPos": {
- "h": 5,
- "w": 12,
- "x": 12,
- "y": 10
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Dashboard --"
},
- "id": 5,
- "options": {
- "displayMode": "basic",
- "fieldOptions": {
- "calcs": ["max"],
- "defaults": {
- "mappings": [],
- "max": 200,
- "min": 0,
- "thresholds": [
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "max": 200,
+ "min": 0,
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "blue",
@@ -235,28 +281,102 @@
"value": 120
}
]
- },
- "override": {},
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 5,
+ "w": 12,
+ "x": 12,
+ "y": 10
+ },
+ "id": 5,
+ "options": {
+ "displayMode": "basic",
+ "minVizHeight": 10,
+ "minVizWidth": 0,
+ "orientation": "vertical",
+ "reduceOptions": {
+ "calcs": [
+ "max"
+ ],
+ "fields": "",
"values": false
},
- "orientation": "vertical"
+ "showUnfilled": true,
+ "valueMode": "color"
},
- "pluginVersion": "6.4.0-pre",
+ "pluginVersion": "9.5.0-pre",
"targets": [
{
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Dashboard --"
+ },
"panelId": 2,
"refId": "A"
}
],
- "timeFrom": null,
- "timeShift": null,
"title": "Max",
"type": "bargauge"
},
{
- "columns": [],
- "datasource": "-- Dashboard --",
- "fontSize": "100%",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Dashboard --"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "custom": {
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "inspect": false
+ },
+ "decimals": 2,
+ "displayName": "",
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
+ },
+ "overrides": [
+ {
+ "matcher": {
+ "id": "byName",
+ "options": "Time"
+ },
+ "properties": [
+ {
+ "id": "displayName",
+ "value": "Time"
+ },
+ {
+ "id": "unit",
+ "value": "time: YYYY-MM-DD HH:mm:ss"
+ },
+ {
+ "id": "custom.align"
+ }
+ ]
+ }
+ ]
+ },
"gridPos": {
"h": 10,
"w": 24,
@@ -264,47 +384,49 @@
"y": 15
},
"id": 8,
- "options": {},
- "pageSize": null,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": true
- },
- "styles": [
- {
- "alias": "Time",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
+ "options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
},
- {
- "alias": "",
- "colorMode": null,
- "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
+ "showHeader": true,
+ "showRowNums": false
+ },
+ "pluginVersion": "9.5.0-pre",
"targets": [
{
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Dashboard --"
+ },
"panelId": 2,
"refId": "A"
}
],
- "timeFrom": null,
- "timeShift": null,
- "title": "Panel Title",
- "transform": "timeseries_to_columns",
+ "title": "The data from graph above with seriesToColumns transform",
+ "transformations": [
+ {
+ "id": "seriesToColumns",
+ "options": {
+ "reducers": []
+ }
+ }
+ ],
"type": "table"
}
],
- "schemaVersion": 19,
+ "refresh": "",
+ "schemaVersion": 38,
"style": "dark",
- "tags": ["gdev", "datasource-test"],
+ "tags": [
+ "gdev",
+ "datasource-test"
+ ],
"templating": {
"list": []
},
@@ -313,10 +435,22 @@
"to": "now"
},
"timepicker": {
- "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"]
+ "refresh_intervals": [
+ "5s",
+ "10s",
+ "30s",
+ "1m",
+ "5m",
+ "15m",
+ "30m",
+ "1h",
+ "2h",
+ "1d"
+ ]
},
"timezone": "",
"title": "Datasource tests - Shared Queries",
"uid": "ZqZnVvFZz",
- "version": 10
-}
+ "version": 8,
+ "weekStart": ""
+}
\ No newline at end of file
diff --git a/devenv/docker/blocks/elastic/data/data.js b/devenv/docker/blocks/elastic/data/data.js
index 50a9eea1488..efff9370005 100644
--- a/devenv/docker/blocks/elastic/data/data.js
+++ b/devenv/docker/blocks/elastic/data/data.js
@@ -81,6 +81,18 @@ async function elasticSetupIndexTemplate() {
},
shapes: {
type: 'nested',
+ },
+ hostname: {
+ type: 'keyword',
+ },
+ value: {
+ type: 'integer',
+ },
+ metric: {
+ type: 'keyword',
+ },
+ description: {
+ type: 'text',
}
},
},
@@ -119,6 +131,10 @@ function getRandomLogItem(counter, timestamp) {
{"type": "triangle"},
{"type": "square"},
],
+ hostname: chooseRandomElement(['hostname1', 'hostname2', 'hostname3', 'hostname4', 'hostname5', 'hostname6']),
+ value: counter,
+ metric: chooseRandomElement(['cpu', 'memory', 'latency']),
+ description: "this is description"
};
}
diff --git a/devenv/jsonnet/dev-dashboards.libsonnet b/devenv/jsonnet/dev-dashboards.libsonnet
index ff4d81e4622..78eb25255c1 100644
--- a/devenv/jsonnet/dev-dashboards.libsonnet
+++ b/devenv/jsonnet/dev-dashboards.libsonnet
@@ -163,21 +163,21 @@ local dashboard = grafana.dashboard;
id: 0,
}
},
- dashboard.new('elasticsearch_compare', import '../dev-dashboards/datasource-elasticsearch/elasticsearch_compare.json') +
+ dashboard.new('elasticsearch_complex', import '../dev-dashboards/datasource-elasticsearch/elasticsearch_complex.json') +
resource.addMetadata('folder', 'dev-dashboards') +
{
spec+: {
id: 0,
}
},
- dashboard.new('elasticsearch_v7', import '../dev-dashboards/datasource-elasticsearch/elasticsearch_v7.json') +
+ dashboard.new('elasticsearch_migration', import '../dev-dashboards/datasource-elasticsearch/elasticsearch_migration.json') +
resource.addMetadata('folder', 'dev-dashboards') +
{
spec+: {
id: 0,
}
},
- dashboard.new('elasticsearch_v7_filebeat', import '../dev-dashboards/datasource-elasticsearch/elasticsearch_v7_filebeat.json') +
+ dashboard.new('elasticsearch_simple', import '../dev-dashboards/datasource-elasticsearch/elasticsearch_simple.json') +
resource.addMetadata('folder', 'dev-dashboards') +
{
spec+: {
diff --git a/docs/sources/administration/data-source-management/index.md b/docs/sources/administration/data-source-management/index.md
index c51e53d282b..aff513500ea 100644
--- a/docs/sources/administration/data-source-management/index.md
+++ b/docs/sources/administration/data-source-management/index.md
@@ -46,7 +46,8 @@ By default, data sources in an organization can be queried by any user in that o
You can assign data source permissions to users, teams, and roles which will allow access to query or edit the data source.
-1. Navigate to **Administration > Data sources**.
+1. Click **Connections** in the left-side menu.
+1. Under Your connections, click **Data sources**.
1. Select the data source to which you want to assign permissions.
1. On the Permissions tab, click **Add a permission**.
1. Select **User**, **Team**, or **Role**.
@@ -58,7 +59,8 @@ You can assign data source permissions to users, teams, and roles which will all
### Edit data source permissions for users, teams, or roles
-1. Navigate to **Administration > Data sources**.
+1. Click **Connections** in the left-side menu.
+1. Under Your connections, click **Data sources**.
1. Select the data source for which you want to edit permissions.
1. On the Permissions tab, find the user, team, or role permission you want to update.
1. Select a different option in the **Permission** dropdown.
@@ -67,7 +69,8 @@ You can assign data source permissions to users, teams, and roles which will all
### Remove data source permissions for users, teams, or roles
-1. Navigate to **Administration > Data sources**.
+1. Click **Connections** in the left-side menu.
+1. Under Your connections, click **Data sources**.
1. Select the data source from which you want to remove permissions.
1. On the Permissions tab, find the user, team, or role permission you want to remove.
1. Click the **X** next to the permission.
@@ -122,9 +125,10 @@ You must be an Org admin or Grafana admin to enable query caching for a data sou
By default, data source queries are not cached. To enable query caching for a single data source:
-1. On the left-side menu, click **Administration > Data sources**.
+1. Click **Connections** in the left-side menu.
+1. Under Your Connections, click **Data sources**.
1. In the data source list, click the data source that you want to turn on caching for.
-1. Open the Cache tab.
+1. Go to the Cache tab.
1. Click **Enable**.
1. (Optional) Choose custom TTLs for the data source's queries and resources caching. If you skip this step, then Grafana uses the default TTL.
@@ -140,9 +144,10 @@ To configure global settings for query caching, refer to the [Query caching sect
To disable query caching for a single data source:
-1. On the left-side menu, click **Administration > Data sources**.
+1. Click **Connections** in the left-side menu.
+1. Under Your Connections, click **Data sources**.
1. In the data source list, click the data source that you want to turn off caching for.
-1. In the Cache tab, click **Disable**.
+1. On the Cache tab, click **Disable**.
To disable query caching for an entire Grafana instance, set the `enabled` flag to `false` in the [Query caching section of Enterprise Configuration]({{< relref "../../setup-grafana/configure-grafana/enterprise-configuration/#caching" >}}). You will no longer see the Cache tab on any data sources, and no data source queries will be cached.
@@ -152,7 +157,8 @@ If you experience performance issues or repeated queries become slower to execut
> **Note:** This action impacts all cache-enabled data sources. If you are using Memcached, the system clears all data from the Memcached instance.
-1. On the left-side menu, click **Administration > Data sources**.
+1. Click **Connections** in the left-side menu.
+1. Under Your Connections, click **Data sources**.
1. In the data source list, click the data source that you want to clear the cache for.
1. In the Cache tab, click **Clear cache**.
diff --git a/docs/sources/administration/plugin-management/index.md b/docs/sources/administration/plugin-management/index.md
index 6ca96b2baa3..6e3eff53e43 100644
--- a/docs/sources/administration/plugin-management/index.md
+++ b/docs/sources/administration/plugin-management/index.md
@@ -77,7 +77,7 @@ Before following the steps below, make sure you are logged in as a Grafana admin
-- Administrators can find the Plugin catalog at **Configuration > Plugins**.
+- Administrators can find the Plugin catalog at **Administration > Plugins**.
### Browse plugins
diff --git a/docs/sources/administration/roles-and-permissions/access-control/custom-role-actions-scopes/index.md b/docs/sources/administration/roles-and-permissions/access-control/custom-role-actions-scopes/index.md
index 33c22c8a913..5176af499f4 100644
--- a/docs/sources/administration/roles-and-permissions/access-control/custom-role-actions-scopes/index.md
+++ b/docs/sources/administration/roles-and-permissions/access-control/custom-role-actions-scopes/index.md
@@ -207,3 +207,4 @@ The following list contains role-based access control scopes.
| `settings:*` | Restrict an action to a subset of settings. For example, `settings:*` matches all settings, `settings:auth.saml:*` matches all SAML settings, and `settings:auth.saml:enabled` matches the enable property on the SAML settings. |
| `teams:*`
`teams:id:*` | Restrict an action to a set of teams from an organization. For example, `teams:*` matches any team and `teams:id:1` matches the team whose ID is `1`. |
| `users:*`
`users:id:*` | Restrict an action to a set of users from an organization. For example, `users:*` matches any user and `users:id:1` matches the user whose ID is `1`. |
+| `n/a` | `n/a` means not applicable. If an action has `n/a` specified for the scope, then the action does not require a scope. For example, the `teams:create` action does not require a scope and allows users to create teams. |
diff --git a/docs/sources/alerting/manage-notifications/template-notifications/using-go-templating-language.md b/docs/sources/alerting/manage-notifications/template-notifications/using-go-templating-language.md
index b6529d4f7b2..a1b5267c338 100644
--- a/docs/sources/alerting/manage-notifications/template-notifications/using-go-templating-language.md
+++ b/docs/sources/alerting/manage-notifications/template-notifications/using-go-templating-language.md
@@ -71,6 +71,16 @@ The name of the annotation is {{ .Name }}, and the value is {{ .Value }}
{{ end }}
```
+## The index function
+
+To print a specific annotation or label use the `index` function.
+
+```
+{{ range .Alerts }}
+The name of the alert is {{ index .Labels "alertname" }}
+{{ end }}
+```
+
## If statements
You can use if statements in templates. For example, to print `There are no alerts` if there are no alerts in `.Alerts` you would write the following:
diff --git a/docs/sources/dashboards/build-dashboards/manage-library-panels/index.md b/docs/sources/dashboards/build-dashboards/manage-library-panels/index.md
index ab1c8e1f06f..56d67efafca 100644
--- a/docs/sources/dashboards/build-dashboards/manage-library-panels/index.md
+++ b/docs/sources/dashboards/build-dashboards/manage-library-panels/index.md
@@ -25,8 +25,8 @@ When you create a library panel, the panel on the source dashboard is converted
1. Open a panel in edit mode.
1. In the panel display options, click the down arrow option to bring changes to the visualization.
- {{< figure src="/static/img/docs/library-panels/create-lib-panel-from-edit-8-0.png" class="docs-image--no-shadow" max-width= "800px" caption="Screenshot of the edit panel" >}}
-1. Click the **Library panels** option, and then click **Create library panel** to open the create dialog.
+ {{< figure src="/media/docs/grafana/panels-visualizations/screenshot-create-lib-panel-from-edit-9-5.png" class="docs-image--no-shadow" max-width= "800px" >}}
+1. Click **Library panels**, and then click **+ Create library panel** to open the create dialog.
1. In **Library panel name**, enter the name.
1. In **Save in folder**, select the folder to save the library panel.
1. Click **Create library panel** to save your changes.
@@ -34,14 +34,16 @@ When you create a library panel, the panel on the source dashboard is converted
Once created, you can modify the library panel using any dashboard on which it appears. After you save the changes, all instances of the library panel reflect these modifications.
-{{< figure src="/static/img/docs/library-panels/create-from-more-8-0.png" class="docs-image--no-shadow" max-width= "900px" caption="Screenshot of the edit panel" >}}
+You can also create a library panel directly from the edit menu of any panel.
+
+{{< figure src="/media/docs/grafana/panels-visualizations/screenshot-create-from-more-9-5.png" class="docs-image--no-shadow" max-width= "900px" >}}
## Add a library panel to a dashboard
Add a Grafana library panel to a dashboard when you want to provide visualizations to other dashboard users.
1. Click **Dashboards** in the left-side menu.
-1. Click **New** and select **New Dashboard**.
+1. Click **New** and select **New Dashboard** in the dropdown.
1. On the empty dashboard, click **+ Import library panel**.
You will see a list of your library panels.
@@ -60,6 +62,7 @@ Unlink a library panel when you want to make a change to the panel and not affec
1. Hover over any part of the panel to display the actions menu on the top right corner.
1. Click the menu and select **Edit**.
1. Click **Unlink** on the top right corner of the page.
+1. Click **Yes, unlink**.
## View a list of library panels
@@ -69,7 +72,7 @@ You can view a list of available library panels and search for a library panel.
1. Click **Library panels**.
You can see a list of previously defined library panels.
- {{< figure src="/static/img/docs/library-panels/library-panel-list-8-0.png" class="docs-image--no-shadow" max-width= "900px" caption="Screenshot of the edit panel" >}}
+ {{< figure src="/media/docs/grafana/panels-visualizations/screenshot-library-panel-list-9-5.png" class="docs-image--no-shadow" max-width= "900px" >}}
1. Search for a specific library panel if you know its name.
diff --git a/docs/sources/dashboards/build-dashboards/manage-version-history/index.md b/docs/sources/dashboards/build-dashboards/manage-version-history/index.md
index 8ab7439f047..c2b8e3fa286 100644
--- a/docs/sources/dashboards/build-dashboards/manage-version-history/index.md
+++ b/docs/sources/dashboards/build-dashboards/manage-version-history/index.md
@@ -17,7 +17,7 @@ weight: 400
Whenever you save a version of your dashboard, a copy of that version is saved so that previous versions of your dashboard are never lost. A list of these versions is available by entering the dashboard settings and then selecting "Versions" in the left side menu.
-
+
The dashboard version history feature lets you compare and restore to previously saved dashboard versions.
@@ -25,20 +25,18 @@ The dashboard version history feature lets you compare and restore to previously
To compare two dashboard versions, select the two versions from the list that you wish to compare. Once selected, the "Compare versions" button will become clickable. Click the button to view the diff between the two versions.
-
+
Upon clicking the button, you'll be brought to the diff view. By default, you'll see a textual summary of the changes, like in the image below.
-
+
-If you want to view the diff of the raw JSON that represents your dashboard, you can do that as well by clicking the "View JSON Diff" button at the bottom.
-
-If you want to restore to the version you are diffing against, you can do so by clicking the "Restore to version \
+
After restoring to a previous version, a new version will be created containing the same exact data as the previous version, only with a different version number. This is indicated in the "Notes column" for the row in the new dashboard version. This is done simply to ensure your previous dashboard versions are not affected by the change.
diff --git a/docs/sources/dashboards/create-manage-playlists/index.md b/docs/sources/dashboards/create-manage-playlists/index.md
index e3c12996a26..9be403a304d 100644
--- a/docs/sources/dashboards/create-manage-playlists/index.md
+++ b/docs/sources/dashboards/create-manage-playlists/index.md
@@ -26,21 +26,22 @@ Use the information in this section to access existing playlists. Start and cont
### Access a playlist
-1. Hover your cursor over Grafana’s side menu.
-1. Click **Playlists**. You will see a list of existing playlists.
+1. Click **Dashboards** in the left-side menu.
+1. Click **Playlists** to see a list of existing playlists.
### Start a playlist
-You can start a playlist in five different view modes. View mode determine how the menus and navigation bar appear on the dashboards.
+You can start a playlist in five different view modes. View modes determine how the menus and navigation bar appear on the dashboards.
By default, each dashboard is displayed for the amount of time entered in the Interval field, which you set when you create or edit a playlist. After you start a playlist, you can control it with the navbar at the top of the page.
-1. [Access](#access-playlist) the playlist page to see a list of existing playlists.
-1. Find the playlist you want to start, then click **Start playlist**. The start playlist dialog opens.
-1. Select one of the five playlist modes available based on the information in the following table.
-1. Click **Start
+
#### Relative time range
diff --git a/docs/sources/dashboards/variables/add-template-variables/index.md b/docs/sources/dashboards/variables/add-template-variables/index.md
index d26e4b0e434..deda7868f77 100644
--- a/docs/sources/dashboards/variables/add-template-variables/index.md
+++ b/docs/sources/dashboards/variables/add-template-variables/index.md
@@ -44,17 +44,17 @@ weight: 100
The following table lists the types of variables shipped with Grafana.
-| Variable type | Description |
-| :---------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Query | Query-generated list of values such as metric names, server names, sensor IDs, data centers, and so on. [Add a query variable]({{< relref "#add-a-query-variable" >}}). |
-| Custom | Define the variable options manually using a comma-separated list. [Add a custom variable]({{< relref "#add-a-custom-variable" >}}). |
-| Text box | Display a free text input field with an optional default value. [Add a text box variable]({{< relref "#add-a-text-box-variable" >}}). |
-| Constant | Define a hidden constant. [Add a constant variable]({{< relref "#add-a-constant-variable" >}}). |
-| Data source | Quickly change the data source for an entire dashboard. [Add a data source variable]({{< relref "#add-a-data-source-variable" >}}). |
-| Interval | Interval variables represent time spans. [Add an interval variable]({{< relref "#add-an-interval-variable" >}}). |
-| Ad hoc filters | Key/value filters that are automatically added to all metric queries for a data source (InfluxDB, Prometheus, and Elasticsearch only). [Add ad hoc filters]({{< relref "#add-ad-hoc-filters" >}}). |
-| Global variables | Built-in variables that can be used in expressions in the query editor. Refer to [Global variables]({{< relref "#global-variables" >}}). |
-| Chained variables | Variable queries can contain other variables. Refer to [Chained variables]({{< relref "#chained-variables" >}}). |
+| Variable type | Description |
+| :---------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Query | Query-generated list of values such as metric names, server names, sensor IDs, data centers, and so on. [Add a query variable]({{< relref "#add-a-query-variable" >}}). |
+| Custom | Define the variable options manually using a comma-separated list. [Add a custom variable]({{< relref "#add-a-custom-variable" >}}). |
+| Text box | Display a free text input field with an optional default value. [Add a text box variable]({{< relref "#add-a-text-box-variable" >}}). |
+| Constant | Define a hidden constant. [Add a constant variable]({{< relref "#add-a-constant-variable" >}}). |
+| Data source | Quickly change the data source for an entire dashboard. [Add a data source variable]({{< relref "#add-a-data-source-variable" >}}). |
+| Interval | Interval variables represent time spans. [Add an interval variable]({{< relref "#add-an-interval-variable" >}}). |
+| Ad hoc filters | Key/value filters that are automatically added to all metric queries for a data source (Prometheus, Loki, InfluxDB, and Elasticsearch only). [Add ad hoc filters]({{< relref "#add-ad-hoc-filters" >}}). |
+| Global variables | Built-in variables that can be used in expressions in the query editor. Refer to [Global variables]({{< relref "#global-variables" >}}). |
+| Chained variables | Variable queries can contain other variables. Refer to [Chained variables]({{< relref "#chained-variables" >}}). |
## Enter General options
@@ -194,7 +194,7 @@ Ad hoc filters are one of the most complex and flexible variable options availab
Interpolating a variable with multiple values selected is tricky as it is not straight forward how to format the multiple values into a string that is valid in the given context where the variable is used. Grafana tries to solve this by allowing each data source plugin to inform the templating interpolation engine what format to use for multiple values.
-> **Note:** The **Custom all value** option on the variable must be blank for Grafana to format all values into a single string. If leave it blank, then the Grafana concatenates (adds together) all the values in the query. Something like `value1,value2,value3`. If a custom `all` value is used, then instead the value will be something like `*` or `all`.
+> **Note:** The **Custom all value** option on the variable must be blank for Grafana to format all values into a single string. If it is left blank, then Grafana concatenates (adds together) all the values in the query. Something like `value1,value2,value3`. If a custom `all` value is used, then instead the value will be something like `*` or `all`.
#### Multi-value variables with a Graphite data source
@@ -281,6 +281,8 @@ This variable is the `$__interval` variable in milliseconds, not a time interval
This variable is only available in the Singlestat panel and can be used in the prefix or suffix fields on the Options tab. The variable will be replaced with the series name or alias.
+> **Note:** The Singlestat panel is no longer available from Grafana 8.0.
+
### $\_\_org
This variable is the ID of the current organization.
@@ -398,7 +400,7 @@ apps.fakesite.web_server_01.cpu.*
#### InfluxDB example
-In this example, you have several data centers. Each data center has a different subset of hosts. It is based on the [InfluxDB Templated](https://play.grafana.org/d/000000002/influxdb-templated?orgId=1).
+In this example, you have several data centers. Each data center has a different subset of hosts. It is based on the [InfluxDB Templated](https://play.grafana.org/d/000000002/influxdb-templated?orgId=1) dashboard.
In this example, when the user changes the value of the `datacenter` variable, it changes the dropdown options returned by the `host` variable. The `host` variable uses the **Multi-value** option and **Include all option**, allowing users to select some or all options presented at any time. The `datacenter` does not use either option, so you can only select one data center at a time.
@@ -407,7 +409,7 @@ In this example, when the user changes the value of the `datacenter` variable, i
The query for this variable basically says, "Give me all the data centers that exist."
```
-SHOW TAG VALUES WITH KEY = "datacenter"
+SHOW TAG VALUES WITH KEY = "datacenter"
```
The values returned are `America`, `Africa`, `Asia`, and `Europe`.
diff --git a/docs/sources/datasources/alertmanager/_index.md b/docs/sources/datasources/alertmanager/_index.md
index 0e69a550f71..3c4ac6b793d 100644
--- a/docs/sources/datasources/alertmanager/_index.md
+++ b/docs/sources/datasources/alertmanager/_index.md
@@ -28,24 +28,25 @@ When using Prometheus, contact points and notification policies are read-only in
## Configure the data source
-**To access the data source configuration page:**
+To configure basic settings for the data source, complete the following steps:
-1. Select the **Data sources** section from the **Administration** menu
-2. Select the **Alertmanager** data source
+1. Click **Connections** in the left-side menu.
+1. Under Your connections, click **Data sources**.
+1. Enter `Alertmanager` in the search bar.
+1. Click **Alertmanager**.
-Set the data source's basic configuration options carefully:
+ The **Settings** tab of the data source is displayed.
-| Name | Description |
-| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| **Name** | Sets the name you use to refer to the data source |
-| **Default** | Sets whether the data source is pre-selected for new panels and queries |
-| **Alertmanager** | |
-| **Implementation** | Alertmanager implementation. **Mimir**, **Cortex,** and **Prometheus** are supported |
-| **Receive Grafana Alerts** | When enabled the Alertmanager receives alert instances from Grafana-managed alert rules. **Important:** It works only if Grafana alerting is configured to send its alert instances to external Alertmanagers |
-| **HTTP** | |
-| **URL** | Sets the HTTP protocol, IP, and port of your Alertmanager instance, such as `https://alertmanager.example.org:9093` |
-| **Access** | Only **Server** access mode is functional |
-| | |
+1. Set the data source's basic configuration options:
+
+ | Name | Description |
+ | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+ | **Name** | Sets the name you use to refer to the data source |
+ | **Default** | Sets whether the data source is pre-selected for new panels and queries |
+ | **Alertmanager Implementation** | Alertmanager implementation. **Mimir**, **Cortex,** and **Prometheus** are supported |
+ | **Receive Grafana Alerts** | When enabled the Alertmanager receives alert instances from Grafana-managed alert rules. **Important:** It works only if Grafana alerting is configured to send its alert instances to external Alertmanagers |
+ | **HTTP URL** | Sets the HTTP protocol, IP, and port of your Alertmanager instance, such as `https://alertmanager.example.org:9093` |
+ | **Access** | Only **Server** access mode is functional |
## Provision the Alertmanager data source
diff --git a/docs/sources/datasources/aws-cloudwatch/_index.md b/docs/sources/datasources/aws-cloudwatch/_index.md
index 3bb9a4160ef..ab5b0372780 100644
--- a/docs/sources/datasources/aws-cloudwatch/_index.md
+++ b/docs/sources/datasources/aws-cloudwatch/_index.md
@@ -31,11 +31,12 @@ Once you've added the data source, you can [configure it]({{< relref "#configure
## Configure the data source
-**To access the data source configuration page:**
+1. Click **Connections** in the left-side menu.
+1. Under Your connections, click **Data sources**.
+1. Enter `CloudWatch` in the search bar.
+1. Click **CloudWatch**.
-1. Hover the cursor over the **Configuration** (gear) icon.
-1. Select **Data Sources**.
-1. Select the CloudWatch data source.
+ The **Settings** tab of the data source is displayed.
### Configure AWS authentication
@@ -49,7 +50,7 @@ For authentication options and configuration details, refer to [AWS authenticati
To read CloudWatch metrics and EC2 tags, instances, regions, and alarms, you must grant Grafana permissions via IAM.
You can attach these permissions to the IAM role or IAM user you configured in [AWS authentication]({{< relref "./aws-authentication/" >}}).
-**Metrics-only:**
+##### Metrics-only permissions
```json
{
@@ -84,7 +85,7 @@ You can attach these permissions to the IAM role or IAM user you configured in [
}
```
-**Logs-only:**
+##### Logs-only permissions
```json
{
@@ -119,7 +120,7 @@ You can attach these permissions to the IAM role or IAM user you configured in [
}
```
-**Metrics and Logs:**
+##### Metrics and logs permissions
```json
{
@@ -167,7 +168,7 @@ You can attach these permissions to the IAM role or IAM user you configured in [
}
```
-**Cross-account observability: (see below) **
+##### Cross-account observability permissions
```json
{
@@ -234,7 +235,7 @@ For more information about provisioning, and for available configuration options
#### Provisioning examples
-**Using AWS SDK (default):**
+##### Using AWS SDK (default)
```yaml
apiVersion: 1
@@ -246,7 +247,7 @@ datasources:
defaultRegion: eu-west-2
```
-**Using credentials' profile name (non-default):**
+##### Using credentials' profile name (non-default)
```yaml
apiVersion: 1
@@ -261,7 +262,7 @@ datasources:
profile: secondary
```
-**Using accessKey and secretKey:**
+##### Using accessKey and secretKey
```yaml
apiVersion: 1
@@ -277,7 +278,7 @@ datasources:
secretKey: '
| {traceId} | +
+ Extend the Grafana experience with panel plugins and apps. To find more data sources go to{' '} + Connections. +
+ ) : ( +Extend the Grafana experience with panel plugins and apps.
+ ); + return ( +