Logs - CPNV-ES-MAS3-X/Pandora-Containerization GitHub Wiki
Pandora FMS Options
In Setup > General setup we activated the console and audit logs.
Log files
#Basic
/run/log
/dev/log
/var/log
/var/log/php8.0-fpm.log
/var/log/syslog
/var/log/apache2/error.log
/var/log/apache2/access.log
/var/log/apache2/other_vhosts_access.log
/var/log/auth.log
/var/log/kern.log
/var/log/mysql/error.log
/var/log/alternatives.log
/var/log/mail.log
/var/log/apt/history.log
/var/lib/apache2/conf/enabled_by_maint/other-vhosts-access-log
#Pandora or linked to it
/var/log/pandora/pandora_agent.log
/var/log/pandora/pandora_snmptrap.log
/var/log/pandora/pandora_server.log
/var/log/pandora/web_socket.log
/var/spool/postfix/public/postlog
/var/spool/postfix/dev/log
/var/www/html/pandora_console/log/audit.log
/var/www/html/pandora_console/log/cron.log
/var/www/html/pandora_console/log/console.log
/var/www/html/pandora_console/vendor/psr/log
/usr/share/pandora_agent/plugins/grep_log
#Others
/etc/logrotate.d/rsyslog
/etc/logrotate.d/bootlog
Logs rotate
SRC : https://pandorafms.com/community/knowledge-base/rotate-a-file/
Not implemented but should be possible according to the source above
In the path /etc/logrotate.d/ you can create a file in order to rotate any log as
(Path where you have the log){
weekly
missingok
size 300000
rotate 3
maxage 90
compress
notifempty
copytruncate
create 660 pandora apache
su root apache
}