cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

Can I change the default OneAgent log directory on installation\working?

Hello.

I want to customize installation of my OneAgent.

I can change the installation directory with the parameter: INSTALL_PATH -> /monitoring/

How can I change log directory default - /var/log/dynatrace to /monitoring/log/

Is it possible or not?

I searched the forum and find this topic? Any updates?

Regards,

Alexander

3 REPLIES 3

skrystosik
DynaMight Guru
DynaMight Guru

There is no update for this. The only idea I have (and tested) is overwrite log directory with symbolic link to path of your choice, but this can be done manual only (or via ansible). So it cannot be done during installation.

Sebastian


Regards, Sebastian

Tomasz_Gajger
Dynatrace Champion
Dynatrace Champion

Hi Alexander,

The default log directory used by OneAgent is /opt/dynatrace/oneagent/log, not /var/log/dynatrace.

Currently it is not possible to change just the logs location, you need to change the entire installation path via INSTALL_PATH parameter.

I encourage you to share your opinion under the following Product Idea: https://community.dynatrace.com/t5/Dynatrace-product-ideas/RFE-Allow-Alternate-Log-Path-for-Oneagent... 

Please also note that the workaround mentioned by Sebastian would be an unsupported modification of our installation structure.

Regards,
Tomasz

 

Thank you, Tomasz.

I have already voted for this.

It is clear.


Featured Posts