On Thu, 17 Dec 2015, Muhammad Asif wrote:

Hi Guys,

I have a rsyslog server which is receiving logs from different sources and
then sending to fluentd. Problem is that our rsyslog sending logs to
fluentd and also writing all logs in syslog file which increases to 20GB.
I don't want to write coming logs in syslog. How can i achieve my goal.

short answer, change your config to not write to the file.

long answer, we can't tell you exactly how to change your config without knowing more about it.

either remove the lines that write to the file if you don't want anything there, or have a 'if..then' statement in your config that does a stop after the log is written to fluentd and before it's written to the file to only not write to the file sometimes.

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