Grafana Dashboard for User Audit VB365


Grafana Dashboard for User Audit for Restore Portal of Veeam Backup for Microsoft 365
Last updated: 3 months ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 9

Reviews: 0

  • veeam-microsoft-365-audit-004.jpg
  • veeam-microsoft-365-audit-001.jpg

Just download the latest required script version from GitHub and change the Configuration section within your details:

# Configurations
# Endpoint URL for InfluxDB
veeamInfluxDBURL="http://YOURINFLUXSERVERIP" #Your InfluxDB Server, http://FQDN or https://FQDN if using SSL
veeamInfluxDBPort="8086" #Default Port
veeamInfluxDBBucket="veeam" # InfluxDB bucket name (not ID)
veeamInfluxDBToken="TOKEN" # InfluxDB access token with read/write privileges for the bucket
veeamInfluxDBOrg="ORG NAME" # InfluxDB organisation name (not ID)

# Endpoint Configuration for Azure AD
ApplicationID="YOURAPPLICATIONID" # You can find these on your VB365 Server, on the Restore Portal, or in Azure
TenatDomainName="YOURTENANTDOMAINNAME" # Easy to find this on the next URL -
AccessSecret="YOURACCESSSECRET" # Create a new Client secret under your Veeam Restore Portal App registrations in Azure

Once the changes are done, make the script executable with chmod:

chmod +x

The output of the command should be something like the next, without errors:

Writing veeam_microsoft365_auditPolicy to InfluxDB
HTTP/2 204 
x-influxdb-build: OSS
x-influxdb-version: 2.1.1
date: Wed, 15 Dec 2021 16:14:56 GMT

If so, please now add this script to your crontab, like for example every 30 minutes:

*/30 * * * * /home/oper/ >> /var/log/veeam_microsoft365_audit.log 2>&1

Then download or import this Dashboard to your Grafana, and you should see something similar to the next: alt tag

Get this dashboard: