Well. Just configure logrorate correctly.. it can also compress logfiles.
Eero On Tue, Jun 16, 2020 at 10:25 AM Suhail Siddiqui, HCL via rsyslog < [email protected]> wrote: > Hi , > My syslog servers stores remote log in this format . > > [v766245@l00lnx1130 06]$ pwd > /var/log/HOSTS/system-10.60.28.60/2020/06 > [v766245@l00lnx1130 06]$ ll > total 0 > drwxr-xr-x. 2 root root 26 Jun 12 15:48 12 > drwxr-xr-x. 2 root root 26 Jun 13 00:02 13 > drwxr-xr-x. 2 root root 26 Jun 14 00:01 14 > drwxr-xr-x. 2 root root 26 Jun 15 00:00 15 > drwxr-xr-x. 2 root root 26 Jun 16 00:05 16 > [v766245@l00lnx1130 06]$ > > > I wanted to delete any logs older then 90 days , when try with find > command it will delete all the old years and current years/month directory > , please help me to fix this to maintain the space utilization. > > Best Regards, > Suhail Siddiqui > Service Delivery - Datacenter Services > HCL Technologies Ltd. - UPM Partner for IT Services > Mob: +91-9717193941<%20%20> > > > ________________________________ > Please note. The information contained in this message is confidential and > is intended only for the use of the individual named above and others who > have been specially authorized to receive it. If you are not the intended > recipient, you are hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. The attachments have > been scanned for viruses prior to leaving our E-mail system. UPM-Kymmene > Corporation shall not be liable for any consequences of any virus being > passed on. > _______________________________________________ > rsyslog mailing list > https://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > _______________________________________________ rsyslog mailing list https://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

