Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Remote syslog

    TNSR
    2
    3
    1252
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      ComplexNurd last edited by

      Is remote syslog possible with TNSR? I couldn't really find any detail in the guides to suggest it's possible but am I mising something has anyone else managed to get this working.

      We want to be able to monitor events like login events, BGP status changes etc.

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        TNSR itself doesn't have any configuration options to set that up but you can manually configure it at the OS level however you like.

        The exact procedures may vary based on what version you are running since the underlying OS may change (e.g. CentOS 7, CentOS 8, or Ubuntu on the upcoming version of TNSR), but there are tutorials around the web for all of those.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        C 1 Reply Last reply Reply Quote 0
        • C
          ComplexNurd @jimp last edited by

          @jimp Thanks, I have since found that out.

          Heads up for anyone else trying to get this working on CentOS, the information you are looking for to get this working is to specify the NetworkNamespace="dataplane" in your rsyslog.conf configuration. This would have been a useful tip as it goes off the typical, basic, default config in rsyslog and specific for the TNSR config.

          example config for my rsyslog.conf that work for me in CentOS 8:-
          action(type="omfwd"
          queue.filename="tnsr_syslog"
          queue.maxdiskspace="1g"
          queue.saveonshutdown="on"
          queue.type="LinkedList"
          action.resumeRetryCount="-1"
          Target="example.com" Port="514" Protocol="udp" NetworkNamespace="dataplane")

          1 Reply Last reply Reply Quote 0
          • First post
            Last post