How to send different log to multiple syslog server
Let say i have 2 syslog server and i want to send debug log to server1 and info log to server 2.
What i have done is i added
As well as add a send to syslog rule under log handler.
The result i got is i receive both info and debug on each server instead. Mind advise me what i do wrong?
Re: How to send different log to multiple syslog server
Make sure that you point to the correct syslog levels in your Log handler's. Additionally make sure that in the rsyslog.conf you exclude the lower levels for sending syslog to the higher levels like this one:
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.
Community Help Hub
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.