syslog exabgp

106 views
Skip to first unread message

Ke Sai

unread,
Jun 14, 2018, 10:03:17 AM6/14/18
to exabgp-users
Currently our env writes logs to a file "destination = /var/log/exabgp/exabgp.log" w/o any timestamps.  I want to configure it for syslog.  Does anyone have a basic config for this?  I do not have a test environment to test this which makes things a little bit harder.

Here is my current exabgp.conf for syslog-ng

# ExaBGP
destination exabgp {
        file(
                "/var/log/exabgp/exabgp.log"
                group("_bgpd")
                perm(0666)
        );
};


filter f_exabgp {
        program("exabgp"); # <== not sure if I need this or not?
};

log {
        source(s_src);
        filter(f_exabgp);
        destination(exabgp);
};

Thomas Mangin

unread,
Jun 14, 2018, 10:07:36 AM6/14/18
to exabgp...@googlegroups.com
Hello,

Not being a user of syslog-ng this is a stab in the dark:
Use "host:127.0.0.1" as the log destination and make sure syslog-ng is listening locally.

Good luck,

Thomas
Reply all
Reply to author
Forward
0 new messages