Repository navigation
Quick Start
Get Suricata dashboards running in Grafana. Budget 30–60 minutes for a from-scratch deployment (10 minutes if your SIEM server is already running).
Hardware/hosts you need (see Hardware Requirements):
- pfSense CE 2.7.2+ (2.8.1 tested; 2.9.0 works — read the Upgrade Guide first) with Suricata installed and enabled on at least one interface, and SSH enabled (System → Advanced → Secure Shell)
- A Linux server (Ubuntu 24.04 LTS recommended) for the SIEM stack — 16 GB RAM minimum, 32 GB recommended, 100 GB+ SSD for logs
-
A workstation (can be the SIEM server itself) with
bash,ssh,curl,jq, andpython3to run the scripts from
Honest expectations:
- SSH key-based auth to pfSense is required (
ssh-copy-id) — the scripts never prompt for passwords - GeoIP enrichment (the attack map) needs a MaxMind GeoLite2 database on pfSense — optional, see GeoIP Setup
- pfBlockerNG panels need Telegraf configured separately — see Telegraf pfBlockerNG Pipeline
git clone https://github.com/ChiefGyk3D/pfsense-siem-stack.git
cd pfsense-siem-stack
cp config.env.example config.env
nano config.envSet at least:
SIEM_HOST=192.168.1.10 # Your SIEM server (OpenSearch/Logstash/Grafana)
PFSENSE_HOST=192.168.1.1 # Your pfSense firewall
PFSENSE_USER=admin # SSH user for pfSense (default admin account)Set up SSH keys, then verify everything with the preflight check:
ssh-copy-id admin@192.168.1.1 # pfSense
./scripts/preflight.shPreflight validates config.env, SSH access to pfSense and the SIEM server, Python on
pfSense, OpenSearch reachability, and GeoIP presence — fix any ✗ before continuing.
(setup.sh also runs it automatically; skip with --skip-preflight if you must.)
setup.sh works against any reachable OpenSearch 2.x and Grafana 12.x — set their
addresses in config.env. The recommended server side is
siem-docker-stack (Docker, hot/warm
tiers, Wazuh); an existing cluster works too.
If you have nothing yet and want a single bare-metal box, the manual path is:
sudo ./install.sh # Ubuntu 24.04: OpenSearch 2.x, Logstash 8.x, Grafana + OpenSearch pluginDetails and what it does not secure: SIEM Stack Installation.
./setup.shThe installer will:
- Run preflight + prerequisite checks — OpenSearch, Grafana, SSH, Suricata EVE logs
- Configure OpenSearch — index templates (keyword, ip, geo_point) and auto-create
- Deploy Logstash config — flat JSON parsing pipeline (via SSH to SIEM server)
-
Deploy forwarder to pfSense — detects the Python interpreter, installs the rc.d service (
suricata_forwarder.sh) and the watchdog cron - Import dashboards — IDS/IPS and Per-Interface dashboards via the Grafana API
- Verify data flow — confirm events are appearing in OpenSearch
Navigate to http://<your-siem>:3000/d/suricata_ids_ips — you should see events within
a minute or two.
If setup.sh could not reach Grafana, import manually (Grafana → Dashboards → Import):
-
dashboards/Suricata_IDS_IPS.json— OpenSearch datasource -
dashboards/Suricata_Per_Interface.json— OpenSearch datasource -
dashboards/pfsense_pfblockerng_system.json— InfluxDB + OpenSearch-pfBlockerNG datasources (needs Telegraf)
Details: Dashboard Installation.
./scripts/status.sh # Check all component status
./scripts/diagnose-and-repair.sh # Auto-diagnose problems
./scripts/configure-retention-policy.sh # Set index retention (default 30 days)
./pfsense-siem # Interactive management consoleVerify the forwarder on pfSense:
ssh admin@<pfsense> 'service suricata_forwarder.sh status'- Full documentation hub: docs/DOCUMENTATION_INDEX.md
- Tune Suricata rules (do this — the defaults are noisy): Suricata Optimization Guide
- Something broken? Troubleshooting Guide
- Step-by-step validation: New User Checklist
If you prefer to install each component separately instead of using setup.sh:
-
OpenSearch config:
./scripts/install-opensearch-config.sh -
Logstash config: Copy
config/logstash-suricata.confto/etc/logstash/conf.d/suricata.conf -
Forwarder: Copy
scripts/forward-suricata-eve.pyto pfSense at/usr/local/bin/— see pfSense Forwarder Installation -
Dashboards: Import
dashboards/Suricata_IDS_IPS.jsonin Grafana UI → Dashboards → Import
Source: QUICK_START.md. This wiki is generated from the repository on every push to main; edit the source file and open a pull request rather than editing the wiki page.
This wiki is generated from the Markdown files in pfsense-siem-stack on every push to main. Edits made here are overwritten; edit the source file named at the bottom of each page and open a pull request. Placeholders used throughout: admin@<PFSENSE_IP> is your pfSense SSH login, <SIEM_IP> your SIEM server, interface names like igc0 are examples. Licensed MPL 2.0.
Getting started
Suricata
pfBlockerNG
Telegraf
pfSense platform
- Upgrading pfSense ⭐
- Filterlog Stops After Rotation
- Traffic Shaping Guide
- Shaping Optimization Notes
- October 2026 Tuning Results
- CrowdSec (exploratory)
SIEM: deploy
- Quick Start
- New User Checklist
- SIEM Server Installation
- Forwarder Installation
- GeoIP Setup
- Dashboard Installation
SIEM: operate
- Management Console
- Forwarder Operations and Watchdog
- Multi-Interface and Retention
- Scripts Reference
SIEM: fix