Connection issues with FreePBX

Hello everyone,
I’m having trouble connecting my FreePBX to Grafana Cloud. I followed the configuration guide on the page, but I always receive an error.

Jan 21 15:04:56 freepbx.sangoma.local grafana-agent[22518]: ts=2024-01-21T15:04:56.824007265Z caller=filetarget.go:371 level=error component=logs logs_config=integrations msg=“failed to start tailer” error=“open /var/log/asterisk/full: permission denied” filename=/var/log/asterisk/full

I’ve already changed the permissions on the folder.

The FreePBX version is FreePBX,
the Asterisk engine version is 18.16.0
the server is an image provided by Sangoma.

Any help is greatly appreciated. Thanks in advance.

Hi - Can you pls confirm if the file at “/var/log/asterisk/full” exists.

Also you would need to make sure the user through which you are running the grafana-agent service has permissions to access file “/var/log/asterisk/full”