12-06-2010 05:29 AM
Hello,
We are running CiscoWorks RME 4.3 and forwarding syslog messages to another syslog server. To forward messages we use script from https://supportforums.cisco.com/docs/DOC-11592
All is working great at the begining of month. With growing of syslog.log file, forwarded messages are delayed more and more. Because of Syslog Analyzer monthly reports we have log rotate at every 1st day of month.
So question:
Is it possible to write syslogs to two different files? One which will rotate as described above, and other which will be used by syslog_forward.pl and rotated every day?
Thanks in advance!
Regards!
Marko
Solved! Go to Solution.
12-12-2010 01:31 PM
You cannot do this on Windows with the LMS syslog server. All messages will be written to one file. Logrot in LMS can archive the log files instead of just rotating them. This way, you can keep messages as long as you want. Just specify a non-zero number of backups when configuring Log Rotation. The archived files will be created with a numeric extension (e.g. syslog.log.1, syslog.log.2, etc.). Those files can be further archived manually to long-term storage.
12-20-2010 11:29 AM
You could change the listening port by following the direction in this post:
12-12-2010 01:31 PM
You cannot do this on Windows with the LMS syslog server. All messages will be written to one file. Logrot in LMS can archive the log files instead of just rotating them. This way, you can keep messages as long as you want. Just specify a non-zero number of backups when configuring Log Rotation. The archived files will be created with a numeric extension (e.g. syslog.log.1, syslog.log.2, etc.). Those files can be further archived manually to long-term storage.
12-20-2010 07:50 AM
Thanks for the explanation.
As solution with two syslog files is not possible, is it possible to change syslog port for Common Syslog Collector?
By default it is UDP 514, I would like to change it to something like 1514, but I can't find anywhere how to do it.
Thanks in advance!
Regards,
--
Marko
12-20-2010 11:29 AM
You could change the listening port by following the direction in this post:
12-21-2010 06:10 AM
Hello,
Thanks for the link. That is exactly what I needed for workaround solution to work. Now I will have Kiwi Syslog Deamon on UDP 514 and CiscoWorks on UDP 1514. I will use Kiwi to forward (with spoofing) syslog messages to CiscoWorks and ArcSight.
Thanks!
Kind regards,
--
Marko
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide