I want to configure log rotate on my syslog server where there is a directory called /syslog inside this directory there are couple of folders with different hostnames and there i can see syslog.log on each folders
My intention is to configure log rotate and keep 90days data and remove rest of the files and need to add this in cron to run weekly once
I am using log4j syslog appender to redirect the application logs to the solaris syslog.
However, I am facing issue in formatting. It is not able to interpret new line characters and is printing \n as it is.
I have odd problem with syslog local7, my syslog configure the syslog to be written to
it's working just fine for years but recent days one device syslog message written on console and I don't know why this one device syslog on console but other hundreds of devices syslog still written on the file. my question question is how I can stop that?
I'm not entirely sure about this, but it appears that syslog.log is just a log of syslog-ng occurences, which isn't that useful. Maybe configuring it to /var/log/everything.log or messages.log would be more useful. I'm not sure what log was the original intention and or whether "systemlog" or "syslog" is the name of a more useful log in other distros.
I want to get all of the syslog,which is under the catalogue of var/adm/syslog,in order to do something about correlation analysis.
But for days,I can not find anything about that,who can help me?
Thank you very much!
I have a firewalled router that connects to two virtual Lans. The first lan is an administration network and the second a DMZ. My virtual machines in the DMZ need to send syslog messages to a syslog vm in the admin vlan. In order to do this i must enable a rule from the DMZ to my admin network for syslog.