Fix bad export

This commit is contained in:
Mark Nellemann 2022-10-28 10:49:17 +02:00
parent 997158f17b
commit 8151af7772
2 changed files with 155 additions and 73 deletions

View file

@ -1,4 +1,53 @@
{
"__inputs": [
{
"name": "DS_SYSMON",
"label": "sysmon",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.6"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
@ -25,14 +74,14 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 8,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"gridPos": {
"h": 3,
@ -50,7 +99,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"refId": "A"
}
@ -61,7 +110,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -109,7 +158,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -306,7 +355,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -454,7 +503,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -676,7 +725,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -761,7 +810,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -853,7 +902,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -991,7 +1040,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -1136,7 +1185,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -1218,7 +1267,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -1400,7 +1449,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"fieldConfig": {
"defaults": {
@ -1479,7 +1528,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -1565,7 +1614,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -1661,7 +1710,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -1753,7 +1802,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -1834,7 +1883,7 @@
"alias": "$tag_name",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -1914,7 +1963,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"fieldConfig": {
"defaults": {
@ -1994,7 +2043,7 @@
"alias": "$tag_name",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -2074,7 +2123,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -2155,7 +2204,7 @@
"alias": "$tag_name ($col)",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -2229,7 +2278,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -2310,7 +2359,7 @@
"alias": "$tag_name ($col)",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -2378,7 +2427,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"fieldConfig": {
"defaults": {
@ -2458,7 +2507,7 @@
"alias": "$tag_name($tag_pid)",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -2532,7 +2581,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"fieldConfig": {
"defaults": {
@ -2611,7 +2660,7 @@
"alias": "$tag_name($tag_pid)",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -2676,7 +2725,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"fieldConfig": {
"defaults": {
@ -2758,7 +2807,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -2868,7 +2917,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -2956,7 +3005,7 @@
"alias": "$tag_mount",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -3045,14 +3094,10 @@
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "vps01.nellemann.biz",
"value": "vps01.nellemann.biz"
},
"current": {},
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"definition": "SHOW TAG VALUES FROM \"base_memory\" WITH KEY = \"hostname\" WHERE time > now() - 60m",
"hide": 0,
@ -3074,7 +3119,7 @@
]
},
"time": {
"from": "now-2d",
"from": "now-6h",
"to": "now-30s"
},
"timepicker": {
@ -3093,6 +3138,6 @@
"timezone": "",
"title": "Sysmon - Host Overview",
"uid": "QkVPjseMt",
"version": 4,
"version": 5,
"weekStart": ""
}

View file

@ -1,4 +1,53 @@
{
"__inputs": [
{
"name": "DS_SYSMON",
"label": "sysmon",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.6"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
@ -25,14 +74,14 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"gridPos": {
"h": 3,
@ -50,7 +99,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"refId": "A"
}
@ -88,7 +137,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -138,7 +187,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -236,7 +285,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"fieldConfig": {
"defaults": {
@ -309,7 +358,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -395,7 +444,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"fieldConfig": {
"defaults": {
@ -468,7 +517,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -554,7 +603,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -631,7 +680,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -733,7 +782,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"description": "",
"fieldConfig": {
@ -817,7 +866,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"groupBy": [
{
@ -916,14 +965,10 @@
"templating": {
"list": [
{
"current": {
"selected": true,
"text": "mini",
"value": "mini"
},
"current": {},
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"definition": "SHOW TAG VALUES FROM \"base_memory\" WITH KEY = \"hostname\" WHERE time > now() - 60m",
"hide": 0,
@ -943,14 +988,10 @@
"useTags": false
},
{
"current": {
"selected": false,
"text": "java",
"value": "java"
},
"current": {},
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"definition": "SHOW TAG VALUES FROM \"base_process\" WITH KEY = \"name\" WHERE hostname =~ /$hostname/AND time > now() - 60m",
"hide": 0,
@ -967,14 +1008,10 @@
"type": "query"
},
{
"current": {
"selected": false,
"text": "All",
"value": "$__all"
},
"current": {},
"datasource": {
"type": "influxdb",
"uid": "jzYL6mnVk"
"uid": "${DS_SYSMON}"
},
"definition": "SELECT DISTINCT(\"pid\") FROM (SELECT * FROM \"base_process\" WHERE time > now() - 60m AND \"hostname\" =~ /$hostname/ AND \"name\" =~ /$process/)",
"hide": 0,
@ -1012,6 +1049,6 @@
"timezone": "",
"title": "Sysmon - Process Explorer",
"uid": "Vjut5mS7k",
"version": 2,
"version": 3,
"weekStart": ""
}