O othmane el kheiar New Member Mar 3, 2023 20 1 3 Nov 23, 2023 #1 Hi, I recently found the maximum search date in 'tracking center' it's just a month. Can you help me to extend this duration to 3 months or 6 months? Thank you. Attachments P.jpg 402.4 KB · Views: 8
Hi, I recently found the maximum search date in 'tracking center' it's just a month. Can you help me to extend this duration to 3 months or 6 months? Thank you.
dcsapak Proxmox Staff Member Staff member Feb 1, 2016 10,219 1,501 273 36 Vienna Nov 23, 2023 #2 see for example this thread: https://forum.proxmox.com/threads/logrotate-and-tracking-center.135837/ you have to adapt your logrotate config to save more than 30 days of syslog
see for example this thread: https://forum.proxmox.com/threads/logrotate-and-tracking-center.135837/ you have to adapt your logrotate config to save more than 30 days of syslog
O othmane el kheiar New Member Mar 3, 2023 20 1 3 Nov 23, 2023 #3 Hi, I can't find logrotate config file to save more than 30 days in 'tracking center' Can you help me to apply this configuration?
Hi, I can't find logrotate config file to save more than 30 days in 'tracking center' Can you help me to apply this configuration?
S sb-jw Famous Member Jan 23, 2018 1,843 294 128 33 Nov 23, 2023 #4 othmane el kheiar said: Can you help me to apply this configuration? Click to expand... You didn't read the linked post, it's all in there You need to adapt the following file accordingly: /etc/logrotate.d/rsyslog For example (rotate 12 and weekly): Code: /var/log/syslog /var/log/mail.log /var/log/kern.log /var/log/auth.log /var/log/user.log /var/log/cron.log { rotate 12 weekly missingok notifempty compress delaycompress sharedscripts postrotate /usr/lib/rsyslog/rsyslog-rotate endscript } Reactions: Stoiko Ivanov and othmane el kheiar
othmane el kheiar said: Can you help me to apply this configuration? Click to expand... You didn't read the linked post, it's all in there You need to adapt the following file accordingly: /etc/logrotate.d/rsyslog For example (rotate 12 and weekly): Code: /var/log/syslog /var/log/mail.log /var/log/kern.log /var/log/auth.log /var/log/user.log /var/log/cron.log { rotate 12 weekly missingok notifempty compress delaycompress sharedscripts postrotate /usr/lib/rsyslog/rsyslog-rotate endscript }