Enable Agent Logs Globally Readable

The Sysdig agent generates log entries in /opt/draios/logs/draios.log. By default, only accounts with superuser credentials can read the agent logs.

To allow all the users access and read the agent logs, use the following configuration:

log:
  globally_readable: true

This option can be combined with the facility to change the agent log location or used independently. For example:

log:
  location: new_directory
  globally_readable: true

Now, all the users can read agent logs from /opt/draios/new_directory/draios.log.