On Tue, 26 Nov 2019, Emilio Anzalone via rsyslog wrote:

  how can i send the same log to different paths? i must edit the
  /etc/rsyslog.conf or i have to redirect the log from the destination folder
  to the new folder?
  -

you edit rsyslog.conf to have it write the logs somewhere else

  if i have 28Gb/day and i have to keep it for 6 months, which is the best
  practise to store it? (how many rotate, what time to start the crontab,etc)

this is completely up to you and your organization, there are so may ways to do it that there is not a simple 'best practices'

with that sort of volume, I like to rotate the logs frequently (I've even done every minute) so that when I need to search the files I can limit the search and none of the files get huge.

compress the files as you rotate them, don't keep too many files in a directory (I like to do YYYY/MM/DD/log-hhMM type organization)

what do you do with these logs? are you commonly looking at subsets of them? or do you just keep them because the policy says you should?

how do you back these up? how do you replicate them offsite? (encrypting them and storing them in AWS S3 as class Glacier is cheap, highly redundant storage, but it costs if you actually need to retrieve the data, so it's great for a 'just in case' archive, but not for an archive that you commonly use)

in other words, we need to know a lot more about what you do with the data before e can make good suggestions.

David Lang
_______________________________________________
rsyslog mailing list
http://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.

Reply via email to