Change the Agent Log Directory
The Sysdig agent generates log entries in
The agent will rotate the log file when it reaches 10MB in size, keeping
the 10 most recent log files archived with a date-stamp appended to the
You can change the default location as follows:
log: location: new_directory
By default, this location is rooted in the agent install path:
/opt/draios/. Therefore, the new log location for the given example would be
You cannot write agent logs outside of the agent install path.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.