Grafana dashboard: Grafana Dashboard for Veeam ONE Audit Events
Description: Grafana Dashboard for Veeam ONE Audit Events (v12 and above)

This Dashboard works natively by using telegraf and the win_eventlog plugin, use the configuration that you can find under the collector config, restart telegraf, and that's it.

The Dashboard will highlight the most concerning areas, like Infrastructure edits, failed logins to both Web Client, and Windows Client, Most popular Reports, etc.

Then download or import this Dashboard to your Grafana, and you should see something similar to the next:
Dark theme
![alt tag](https://jorgedelacruz.uk/wp-content/uploads/2024/02/grafana-veeamone-audit-001.jpg)

Light theme
![alt tag](https://jorgedelacruz.uk/wp-content/uploads/2024/02/grafana-veeamone-audit-002.jpg)

{
  "__inputs": [
    {
      "name": "DS_INFLUXDB",
      "label": "InfluxDB",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__elements": {},
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "9.3.2"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "logs",
      "name": "Logs",
      "version": ""
    },
    {
      "type": "panel",
      "id": "piechart",
      "name": "Pie chart",
      "version": ""
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "Grafana Dashboard for Veeam ONE Audit Events (v12 and above)",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byFrameRefID",
              "options": "A"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 0,
        "y": 0
      },
      "id": 3,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"LevelText\"] == \"Error\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"10006\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Message\")\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> group(columns: [\"Computer\",\"_field\"])\r\n  |> yield(name: \"last\")\r\n  |> count()",
          "refId": "A"
        }
      ],
      "title": "Login failures",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "Channel {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Level",
              "OpcodeText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "_time": "Timestamp",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Message",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Host"
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byFrameRefID",
              "options": "A"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-green",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 4,
        "y": 0
      },
      "id": 4,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"4\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Message\")\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\"])\r\n  |> group(columns: [\"Computer\",\"_field\"])\r\n  |> yield(name: \"last\")\r\n  |> count()",
          "refId": "A"
        }
      ],
      "title": "Successful login",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "Channel {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Level",
              "OpcodeText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "_time": "Timestamp",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Message",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Host"
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byFrameRefID",
              "options": "A"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 8,
        "y": 0
      },
      "id": 6,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"2\" or r[\"EventID\"] == \"3\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Message\")\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> group(columns: [\"Computer\",\"_field\"])\r\n  |> yield(name: \"last\")\r\n  |> count()",
          "refId": "A"
        }
      ],
      "title": "Infrastructure Changes",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "Channel {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Level",
              "OpcodeText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "_time": "Timestamp",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Message",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Host"
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byFrameRefID",
              "options": "A"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 12,
        "y": 0
      },
      "id": 10,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"3\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Message\")\r\n  |> filter(fn: (r) => r._value =~ /added(.*)/)\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\"])\r\n  |> group(columns: [\"Computer\",\"_field\"])\r\n  |> yield(name: \"last\")\r\n  |> count()",
          "refId": "A"
        }
      ],
      "title": "Infrastructure Add-ins",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "Channel {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Level",
              "OpcodeText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "_time": "Timestamp",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Message",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Host"
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byFrameRefID",
              "options": "A"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-orange",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 16,
        "y": 0
      },
      "id": 8,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"3\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Message\")\r\n  |> filter(fn: (r) => r._value =~ /removed(.*)/)\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\"])\r\n  |> group(columns: [\"Computer\",\"_field\"])\r\n  |> yield(name: \"last\")\r\n  |> count()",
          "refId": "A"
        }
      ],
      "title": "Infrastructure Deletions",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "Channel {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Level",
              "OpcodeText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "_time": "Timestamp",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Message",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Host"
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byFrameRefID",
              "options": "A"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 20,
        "y": 0
      },
      "id": 7,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"8\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Message\")\r\n  |> filter(fn: (r) => r._value =~ /Report template(.*)/)\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\"])\r\n  |> group(columns: [\"Computer\",\"_field\"])\r\n  |> yield(name: \"last\")\r\n  |> count()",
          "refId": "A"
        }
      ],
      "title": "Reports viewed",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "Channel {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Level",
              "OpcodeText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "_time": "Timestamp",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Message",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Host"
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            }
          },
          "displayName": "${__field.labels.UserName}",
          "mappings": [],
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byFrameRefID",
              "options": "A"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byFrameRefID",
              "options": "B"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-green",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 0,
        "y": 4
      },
      "id": 12,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "displayLabels": [],
        "legend": {
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "values": [
            "value"
          ]
        },
        "pieType": "donut",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "hide": false,
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\" and r[\"LevelText\"] == \"Error\" and r[\"EventID\"] == \"10006\" and r[\"_field\"] == \"Data_4\")\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)  \r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> yield(name: \"last\")\r\n  |> group(columns: [\"UserName\"])\r\n  |> duplicate(column: \"_value\", as: \"UserName\")\r\n  |> filter(fn: (r) => r[\"UserName\"] =~ /${username:regex}/) \r\n  |> group(columns: [\"UserName\"])\r\n  |> count()\r\n",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "hide": false,
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"4\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Data_4\")\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> yield(name: \"last\")\r\n  |> group(columns: [\"UserName\"])\r\n  |> duplicate(column: \"_value\", as: \"UserName\")\r\n  |> filter(fn: (r) => r[\"UserName\"] =~ /${username:regex}/) \r\n  |> group(columns: [\"UserName\"])\r\n  |> count()\r\n",
          "refId": "B"
        }
      ],
      "title": "Authentication Overview",
      "transformations": [],
      "type": "piechart"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            }
          },
          "displayName": "${__field.labels.UserName}",
          "mappings": [],
          "min": 0,
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 8,
        "y": 4
      },
      "id": 13,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "displayLabels": [],
        "legend": {
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "values": [
            "value"
          ]
        },
        "pieType": "donut",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"2\" or r[\"EventID\"] == \"3\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Data_4\")\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> yield(name: \"last\")\r\n  |> duplicate(column: \"_value\", as: \"UserName\")\r\n  |> filter(fn: (r) => r[\"UserName\"] =~ /${username:regex}/) \r\n  |> group(columns: [\"UserName\"])\r\n  |> count()",
          "refId": "A"
        }
      ],
      "title": "Infrastructure Changes Audit",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "Channel {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Level",
              "OpcodeText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "_time": "Timestamp",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Message",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Host"
            }
          }
        }
      ],
      "type": "piechart"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            }
          },
          "mappings": [
            {
              "options": {
                "pattern": "\"([^\"]*)\"",
                "result": {
                  "index": 0
                }
              },
              "type": "regex"
            }
          ],
          "min": 0,
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 16,
        "y": 4
      },
      "id": 14,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "displayLabels": [],
        "legend": {
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "values": [
            "value"
          ]
        },
        "pieType": "donut",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"8\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Message\")\r\n  |> filter(fn: (r) => r._value =~ /Report template(.*)/)\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> yield(name: \"last\")\r\n  |> duplicate(column: \"_value\", as: \"Report\")\r\n  |> group(columns: [\"Report\"])\r\n  |> count()",
          "refId": "A"
        }
      ],
      "title": "Viewed Reports",
      "transformations": [
        {
          "id": "renameByRegex",
          "options": {
            "regex": "/_value Report template \"([^\"]*)\" was viewed./",
            "renamePattern": "$1"
          }
        }
      ],
      "type": "piechart"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-red",
            "mode": "fixed"
          },
          "custom": {
            "align": "auto",
            "displayMode": "auto",
            "filterable": true,
            "inspect": true
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Message"
            },
            "properties": [
              {
                "id": "custom.minWidth",
                "value": 400
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "IP Address"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 120
              },
              {
                "id": "custom.align",
                "value": "center"
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Timestamp"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 180
              },
              {
                "id": "unit",
                "value": "dateTimeAsLocalNoDateIfToday"
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Veeam ONE Server"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 310
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 0,
        "y": 12
      },
      "id": 2,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "footer": {
          "enablePagination": true,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "frameIndex": 3,
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Timestamp"
          }
        ]
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "hide": false,
          "query": "querya = from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"LevelText\"] == \"Error\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"10006\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Message\")\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> group(columns: [\"Computer\",\"_field\"])\r\nqueryb = from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"LevelText\"] == \"Error\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"10006\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Data_5\")\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> group(columns: [\"Computer\",\"_field\"])\r\n  |> duplicate(column: \"_value\", as: \"IP\")\r\n  overview = union(tables: [querya, queryb])\r\n  |> pivot(rowKey: [\"_time\"], columnKey: [\"_field\"], valueColumn: \"_value\")\r\n  overview\r\n  |> group(columns: [\"Computer\",\"LevelText\",\"_field\"])",
          "refId": "A"
        }
      ],
      "title": "Authentication anomalies - Login failures details",
      "transformations": [
        {
          "id": "labelsToFields",
          "options": {
            "keepLabels": [
              "Computer"
            ],
            "mode": "columns"
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Data_5\"}": false,
              "_value": false,
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Data_5\"}": true,
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Data_5\"}": false
            },
            "indexByName": {
              "Computer": 3,
              "Data_5": 2,
              "Message": 1,
              "_time": 0
            },
            "renameByName": {
              "Channel {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "Computer": "Veeam ONE Server",
              "Data_5": "IP Address",
              "IP {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Data_5\"}": "IP",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Data_5\"}": "Level",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Level",
              "Message": "Message",
              "OpcodeText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "_time": "Timestamp",
              "_value": "",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Data_5\"}": "IP Address",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Message",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Data_5\"}": "Host",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Host"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "auto",
            "displayMode": "auto",
            "filterable": true,
            "inspect": true
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Message"
            },
            "properties": [
              {
                "id": "custom.minWidth",
                "value": 500
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Level"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 80
              },
              {
                "id": "custom.align",
                "value": "center"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Timestamp"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 180
              },
              {
                "id": "unit",
                "value": "dateTimeAsLocalNoDateIfToday"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 12,
        "y": 12
      },
      "id": 9,
      "interval": "15s",
      "maxDataPoints": 100000,
      "options": {
        "footer": {
          "enablePagination": true,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "frameIndex": 0,
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Timestamp"
          }
        ]
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"2\" or r[\"EventID\"] == \"3\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Message\")\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> group(columns: [\"Computer\",\"_field\"])\r\n  |> yield(name: \"last\")",
          "refId": "A"
        }
      ],
      "title": "Infrastructure Changes details",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "Channel {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Level",
              "OpcodeText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "_time": "Timestamp",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Message",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Host"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "gridPos": {
        "h": 9,
        "w": 24,
        "x": 0,
        "y": 23
      },
      "id": 5,
      "interval": "15s",
      "maxDataPoints": 1000000,
      "options": {
        "dedupStrategy": "none",
        "enableLogDetails": true,
        "prettifyLogMessage": true,
        "showCommonLabels": false,
        "showLabels": false,
        "showTime": false,
        "sortOrder": "Descending",
        "wrapLogMessage": true
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Message\")\r\n  |> filter(fn: (r) => r._value !~ /Internal(.*)/)\r\n  |> filter(fn: (r) => r[\"Computer\"] =~ /${veeamoneserver:regex}/)\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> yield(name: \"last\")",
          "refId": "A"
        }
      ],
      "title": "Event Logs - Extended level",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "Channel {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "LevelText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Level",
              "OpcodeText {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "",
              "_time": "Timestamp",
              "_value {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Message",
              "host {Computer=\"veeamone.jorgedelacruz.es\", _field=\"Message\"}": "Host"
            }
          }
        }
      ],
      "type": "logs"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 37,
  "style": "dark",
  "tags": [
    "veeam",
    "veeam one"
  ],
  "templating": {
    "list": [
      {
        "current": {},
        "datasource": {
          "type": "influxdb",
          "uid": "${DS_INFLUXDB}"
        },
        "definition": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> keep(columns: [\"Computer\"])\r\n  |> distinct(column: \"Computer\")\r\n  |> group()\r\n",
        "description": "Choose the Veeam ONE Server you want to see Audit Events",
        "hide": 0,
        "includeAll": true,
        "label": "Veeam ONE Server",
        "multi": true,
        "name": "veeamoneserver",
        "options": [],
        "query": "from(bucket: v.defaultBucket)\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> keep(columns: [\"Computer\"])\r\n  |> distinct(column: \"Computer\")\r\n  |> group()\r\n",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "current": {},
        "datasource": {
          "type": "influxdb",
          "uid": "${DS_INFLUXDB}"
        },
        "definition": "querya = from(bucket: \"telegraf\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\" and r[\"LevelText\"] == \"Error\" and r[\"EventID\"] == \"10006\" and r[\"_field\"] == \"Data_4\")\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> group(columns: [\"UserName\"])\r\n  |> duplicate(column: \"_value\", as: \"UserName\")\r\n  |> distinct(column: \"UserName\")\r\n  |> group()\r\nqueryb =   from(bucket: \"telegraf\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"2\" or r[\"EventID\"] == \"3\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Data_4\")\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> group(columns: [\"UserName\"])\r\n  |> duplicate(column: \"_value\", as: \"UserName\")\r\n  |> distinct(column: \"UserName\")\r\n  |> group()\r\n\r\noverview = union(tables: [querya, queryb])\r\n \r\noverview",
        "description": "Choose the Username from what you want to see Audit Events",
        "hide": 0,
        "includeAll": true,
        "label": "Username",
        "multi": true,
        "name": "username",
        "options": [],
        "query": "querya = from(bucket: \"telegraf\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\" and r[\"LevelText\"] == \"Error\" and r[\"EventID\"] == \"10006\" and r[\"_field\"] == \"Data_4\")\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> group(columns: [\"UserName\"])\r\n  |> duplicate(column: \"_value\", as: \"UserName\")\r\n  |> distinct(column: \"UserName\")\r\n  |> group()\r\nqueryb =   from(bucket: \"telegraf\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"win_eventlog\")\r\n  |> filter(fn: (r) => r[\"EventID\"] == \"2\" or r[\"EventID\"] == \"3\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"Data_4\")\r\n  |> drop(columns: [\"EventID\",\"Level\",\"Opcode\",\"Task\",\"_start\",\"_stop\",\"_measurement\",\"Source\",\"Channel\",\"Keywords\",\"OpcodeText\"])\r\n  |> group(columns: [\"UserName\"])\r\n  |> duplicate(column: \"_value\", as: \"UserName\")\r\n  |> distinct(column: \"UserName\")\r\n  |> group()\r\n\r\noverview = union(tables: [querya, queryb])\r\n \r\noverview",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      }
    ]
  },
  "time": {
    "from": "now-30d",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Grafana Dashboard for Veeam ONE Audit Events",
  "uid": "ujlV2zAVz",
  "version": 17,
  "weekStart": "",
  "gnetId": 18054
}