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

    Suricata - send logs to remote syslog server including payload in the msg without barnyard2

    Scheduled Pinned Locked Moved IDS/IPS
    2 Posts 2 Posters 2.3k Views
    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.
    • mav3rickM
      mav3rick
      last edited by

      Hi,

      I see that in the new versions of pfsense barnyard2 is not included anymore, i would like to ask if there is an option to send suricata alerts with payload included to to a remote syslog server without barnyard2?

      1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by

        There is an option to send Suricata alerts to syslog (the pfSense system log). There is no direct remote syslog option within Suricata itself. The upstream package does not support that either best I recall. But you can configure pfSense to send its logs to a remote syslog server.

        However, syslog on pfSense will- by default- truncate all messages to a max of 480 bytes. That is usually not big enough to fully capture payload info.

        Most users that are serious about obtaining logging data from Suricata stand up an ELK or Graylog setup on a third host. Then configure Suricata to log to EVE JSON format and use a third-party process to export those logs off the pfSense box to a remote host. Something like the filebeat package on FreeBSD. Here are some examples:

        1. https://www.diaryfolio.com/2020/07/elastic-beats-on-pfsense-installation.html.
        2. https://docs.logz.io/shipping/security-sources/pfsense.html.
        3. https://psychogun.github.io/docs/linux/ELK-stack-on-Ubuntu-with-pfSense/.

        There are many other examples available if you search Google with "filebeat pfSense" or "elk pfSense", etc.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.