cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
808
Views
0
Helpful
3
Replies

Ciscoworks 3.1 syslog.log filtering

Erik Molnar
Level 1
Level 1

Hello Cisco community!

I would like to ask a question about syslog.log file in Ciscoworks 3.1.

I was able to forward my syslog messages to another syslog server ( with a syslog-agent forwarding the content of the syslog.log file ), but in the syslog.log file there is other syslog messages that i don't want to forward ( about processes and other things ). I only want to forward the syslog messages that the devices's sent to CW.

Can i somehow filter out in Ciscoworks the messages that i don't want to forward?

Thanks for help.

1 Accepted Solution

Accepted Solutions

yjdabear
VIP Alumni
VIP Alumni

I think the RME syslog filters only apply to what/how CiscoWorks reads from syslog.log into its own database. They don't control what goes into or gets forwarded out of the raw syslog.log itself. What you could do is to 1) set up a separate log file with a dedicated logging facility+level in syslog.conf for devices whose logs you do want to forward, 2) configure all your devices to log to that facility+level, 3) point the forwarding agent & CiscoWorks LMS to read from the separate log file.

View solution in original post

3 Replies 3

yjdabear
VIP Alumni
VIP Alumni

I think the RME syslog filters only apply to what/how CiscoWorks reads from syslog.log into its own database. They don't control what goes into or gets forwarded out of the raw syslog.log itself. What you could do is to 1) set up a separate log file with a dedicated logging facility+level in syslog.conf for devices whose logs you do want to forward, 2) configure all your devices to log to that facility+level, 3) point the forwarding agent & CiscoWorks LMS to read from the separate log file.

Erik Molnar
Level 1
Level 1

Thanks for the fast reply!

I guessed that it will be the best to create a separate file where syslog will send the messages i want to, but i could not find the syslog.conf on my ciscoworks installation ( Windows ).

Can you help me?

You mean you can't find the syslog.log file? A trip to regedit may be in order:

http://www.cisco.com/en/US/products/sw/cscowork/ps2073/products_tech_note09186a00800a7275.shtml

On a Windows System, the location is defined in the registry [ which can be viewed from regedit]:

\system\currentControlSet\Services\CRMlog\Parameters

LogFile = "CSCOpx\log\syslog.log"

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: