Enable access to log content

To enable existing instances of OneAgent to access log content, log into the monitored host and set:

AppLogContentAccess = true

On Linux:

  • DESK OneAgent versions 103 and later:
    /var/lib/desk/oneagent/agent/config/ruxitagentloganalytics.conf

  • DESK OneAgent versions 102 and earlier:
    /var/lib/ruxit/agent/config/ruxitagentloganalytics.conf

On Windows:

  • DESK OneAgent versions 103 and later:
    C:\ProgramData\desk\oneagent\agent\config\ruxitagentloganalytics.conf

  • DESK OneAgent versions 102 and earlier:
    C:\ProgramData\ruxit\agent\config\ruxitagentloganalytics.conf

DESK OneAgent restart is not required.

New installations

By default, Log Monitoring is enabled by your DESK administrator during DESK OneAgent installation. If you don't want to allow access to log files on a particular host, you can disable Log Monitoring for that host during DESK OneAgent installation. In the Linux installation example below, note the Enable access to monitored processes log files content on this host switch. Disable this setting to turn off log access for this host. The DESK OneAgent installer for Windows provides the same option.

For both operating systems, DESK OneAgent installation provides support for the APP_LOG_CONTENT_ACCESS parameter, which sets log access to either enabled or disabled based on the state of this switch.