HI team,
I have grafana which is running at version 7.3.5 so i want to enable the audit logs for that i just refereed from here Audit a Grafana instance | Grafana documentation I didnt find any [auditing] option in .ini file so i have customized it and manually added that option it has enabled audit log
but I didn’t found any logs in that specified path.
Do i need to change any thing different
In default.ini file
[auditing]
enabled = true
loggers = file
[auditing.logs.file]
path = /grafana-popo/grafana/data/log/
max_files = 5
In logs
t=2020-12-18T03:57:16+0000 lvl=info msg="Starting Grafana" logger=server version=7.3.5 commit=11f316f88a branch=HEAD compiled=2020-12-09T16:02:57+0000
t=2020-12-18T03:57:16+0000 lvl=info msg="Config loaded from" logger=settings file=/usr/local/grafana/conf/defaults.ini
t=2020-12-18T03:57:16+0000 lvl=info msg="Config loaded from" logger=settings file=/usr/local/grafana/conf/defaults.ini
t=2020-12-18T03:57:16+0000 lvl=info msg="Path Home" logger=settings path=/usr/local/grafana
t=2020-12-18T03:57:16+0000 lvl=info msg="Path Data" logger=settings path=grafana-popo/grafana/data
t=2020-12-18T03:57:16+0000 lvl=info msg="Path Logs" logger=settings path=/grafana-popo/grafana/data/log
t=2020-12-18T03:57:16+0000 lvl=info msg="Path Plugins" logger=settings path=/grafana-popo/grafana/data/plugins
t=2020-12-18T03:57:16+0000 lvl=info msg="Path Provisioning" logger=settings path=/usr/local/grafana/conf/provisioning
t=2020-12-18T03:57:16+0000 lvl=info msg="App mode production" logger=settings
t=2020-12-18T03:57:16+0000 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3
t=2020-12-18T03:57:16+0000 lvl=warn msg="SQLite database file has broader permissions than it should" logger=sqlstore path=/grafana-popo/grafana/data/grafana.db mode=-rw-r--r-- expected=-rw-r-----
t=2020-12-18T03:57:16+0000 lvl=info msg="Starting DB migrations" logger=migrator
t=2020-12-18T03:57:17+0000 lvl=info msg="Starting plugin search" logger=plugins
t=2020-12-18T03:57:17+0000 lvl=info msg="Registering plugin" logger=plugins id=input
t=2020-12-18T03:57:17+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=https subUrl= socket=