Suricata Telegraf Input PluginUse This InfluxDB Integration for Free
Suricata is an open source threat detection engine that powers intrusion detection systems (IDS) and intrusion prevention systems (IPS). These systems protect your network by monitoring it for threats. They inspect traffic and identify and report security issues. This plugin takes internal data output by the Suricata IDS/IPS engine and formats it for Telegraf.
Why use the Suricata Telegraf Input Plugin?
The Suricata Telegraf Input Plugin lets you monitor internal performance counters of Suricata, including captured traffic volume, memory usage, uptime, flow counters, and more. It can also report Suricata IDS/IPS alerts. It takes the JSON data output by Suricata and processes it for easy use in Telegraf. This allows you to monitor statistics on how Suricata functions on your network and take action against security threats.
How to monitor Suricata using the Telegraf plugin
Suricata outputs a log with statistics in JSON format. To configure this plugin and capture that output for use with Telegraf, you can create an additional output in the Suricata configuration file. You set that as your source, choose a delimiter for flattening field keys, and set whether you also want to detect alert logs. FreeBSD users should check their local buffer size to ensure it has enough memory to transmit Suricata data without truncating it. The plugin cannot process truncated data properly. The Suricata plugin allows you to monitor Suricata on your network to get a clear view of how it detects and stops security threats.
Key Suricata metrics to use for monitoring
Some of the important Suricata metrics that you should proactively monitor include:
Globalfor global statistics (if enabled), thread IDs (e.g.
W#03-enp0s31f6) for thread-specific statistics