Repository navigation
New User Checklist
Step-by-step checklist for deploying the pfSense SIEM stack from scratch. It tells you what to verify at each stage; the commands themselves live in QUICK_START.md and the install guides linked from each step.
Full detail: Hardware Requirements.
SIEM Server:
- CPU: 4+ cores recommended (2 minimum)
- RAM: 16 GB minimum, 32 GB recommended
- Disk: 100 GB+ SSD (500 GB+ for 30-day retention on busy networks); no SD cards
- Network: static IP address configured
pfSense Firewall:
- pfSense 2.7.2+ installed (2.8.1 tested; 2.9.0 supported, see pfSense Upgrade Guide)
- Suricata package installed, rules downloaded, enabled on at least one interface
- SSH enabled (System > Advanced > Secure Shell)
- Optional: ntopng or pfBlockerNG with a MaxMind key, for GeoIP (GeoIP Setup)
- pfSense → SIEM server: UDP 5140 allowed (Logstash input)
- Workstation → SIEM server: TCP 3000 (Grafana) and TCP 9200 (OpenSearch, used by
setup.sh) - Workstation → pfSense: TCP 22 (SSH)
- NTP configured on both systems (time sync matters for the dashboards)
On SIEM Server:
- Ubuntu 24.04 LTS installed (tested; 22.04 should work)
- Root or sudo access and Internet connectivity for package downloads
-
gitinstalled
On the workstation you run the scripts from (can be the SIEM server itself):
-
bash,ssh,scp,curl,jq,python3available
Follow QUICK_START.md steps 1-3. Check off as you go:
- Repository cloned:
git clone https://github.com/ChiefGyk3D/pfsense-siem-stack.git -
config.envcreated fromconfig.env.example - Required variables set:
SIEM_HOST,PFSENSE_HOST,PFSENSE_USER(defaultadmin) - Required:
GRAFANA_ADMIN_PASSset to the real Grafana password (adminis refused);RETENTION_DAYSreviewed (default 30)
-
ssh-copy-id admin@<PFSENSE_IP>done — the scripts never prompt for passwords -
ssh admin@<PFSENSE_IP> 'echo ok'works without a password prompt
-
./scripts/preflight.shpasses (config.env, SSH to both hosts, Python on pfSense, OpenSearch reachability, GeoIP presence). Fix every ✗ before continuing; ⚠ for OpenSearch is expected beforeinstall.shhas run.
-
sudo ./install.shcompleted on the SIEM server (OpenSearch 2.19.4 in/opt/opensearch, Logstash 8.19.7, Grafana 12.3.0) — manual alternative: SIEM Stack Installation -
systemctl status opensearch logstash grafana-serverall active -
curl -s http://localhost:9200 | jq .version.numberreturns2.19.4
-
./setup.shcompleted without errors (it re-runs preflight, installs the OpenSearch index template, deploys the Logstash pipeline, deploys forwarder + rc.d service + watchdog to pfSense, imports the Suricata dashboards, verifies data flow) -
ssh admin@<PFSENSE_IP> 'service suricata_forwarder.sh status'reports running -
ssh admin@<PFSENSE_IP> 'grep suricata-forwarder-watchdog /etc/crontab'shows the every-minute entry (installed through the Cron package) - Event count increasing:
curl -s http://localhost:9200/suricata-*/_count | jq .count
Detail: Dashboard Installation.
- Login at
http://<SIEM_IP>:3000works (admin/ yourGRAFANA_ADMIN_PASS) - Password changed if still
admin
-
OpenSearch-Suricata(indexsuricata-*, time field@timestamp) exists and tests green -
OpenSearch-pfBlockerNG(indexpfblockerng-*) exists —setup.shcreates it; tests green once Telegraf sends data - Optional: InfluxDB datasource
pfsense(databasepfsense) — only for the pfSense system dashboard
setup.sh imports the two Suricata dashboards through the Grafana API. Confirm, and import manually only if missing:
- Suricata IDS/IPS —
dashboards/Suricata_IDS_IPS.json(UIDsuricata_ids_ips) athttp://<SIEM_IP>:3000/d/suricata_ids_ips - Suricata Per-Interface —
dashboards/Suricata_Per_Interface.json(UIDsuricata_per_interface); interface dropdown lists your interfaces - Optional: pfSense System & pfBlockerNG —
dashboards/pfsense_pfblockerng_system.json, imported manually with the InfluxDB and OpenSearch-pfBlockerNG datasources (Telegraf pfBlockerNG Setup)
-
./scripts/status.sh— all checks green (OpenSearch, Logstash, Grafana, forwarder on pfSense, watchdog cron, recent data) - Recent data timestamp within the last 5 minutes
- Events over time, event type and protocol distributions populated
- Top source/destination IPs populated
- GeoIP map shows external sources (needs a GeoLite2-City DB on pfSense — see GeoIP Setup; may take a few minutes)
If panels are empty: wait 2-3 minutes, check the time range, then run
./scripts/diagnose-and-repair.sh. See Dashboard No Data Fix.
- From a machine behind pfSense:
curl http://testmyids.com - Within ~30 seconds an alert (e.g. "ET POLICY curl User-Agent Detected") appears in the alerts table
Follow the Suricata Optimization Guide:
- Read "Phase 1: Starting Out"; enable the core ET rule categories
- Stay in IDS mode (alert only) for the first weeks
- Review log retention/rotation on pfSense
- Optional deeper monitoring per Forwarder Monitoring Guide (
./scripts/setup_forwarder_monitoring.sh) - Test recovery:
ssh admin@<PFSENSE_IP> 'pkill -f forward-suricata-eve.py'— the watchdog restarts it within a minute
- Retention policy applied:
setup.shappliesRETENTION_DAYSfrom config.env (default 30). To change it later run./scripts/configure-retention-policy.sh <DAYS>— it takes the day count as an argument (default 90 when omitted) and does not prompt - Disk usage checked:
df -h /opt/opensearch/data
- Grafana admin password changed from default; additional users created if multi-user
- OpenSearch listens on
127.0.0.1only (install.shdefault; the API has no authentication). Upgraded from an older install? Checknetwork.hostin/opt/opensearch/config/opensearch.ymland delete leftoverufw allow 9200/tcprules (sudo ufw status numbered). UDP 5140 and Grafana are limited toLOGSTASH_ALLOWED_SOURCES/GRAFANA_ALLOWED_SOURCES. - Logstash UDP 5140 restricted to the pfSense IP (
sudo ufw allow from <PFSENSE_IP> to any port 5140 proto udp) - Grafana 3000 restricted to your management network
- SSH key-based auth only on pfSense
-
config.envbacked up (contains your settings and Grafana password) - Grafana dashboards exported periodically (Dashboard settings → JSON Model, or the API)
- OpenSearch index template saved:
curl -s http://localhost:9200/_index_template/suricata-template > suricata-template-backup.json - pfSense configuration backed up (Diagnostics > Backup & Restore). Note: the forwarder files on pfSense are not in that backup — re-run
./setup.shafter a restore
- Read Troubleshooting Guide
- Bookmark Suricata Optimization Guide
- Keep notes on false positives for tuning
- Check dashboard for unusual activity and new alert signatures
- Verify data is flowing:
./scripts/status.sh
- Review CPU/memory on pfSense; review false positives
- Check disk space:
df -h /opt/opensearch/data - Confirm Suricata rule updates are running
- Update SIEM stack packages (
apt) and pfSense packages - Export dashboard backups; review retention vs disk usage
- Re-run
./setup.sh --forwarder-onlyand then./scripts/status.sh. The forwarder and rc.d service are outsideconfig.xmland can be removed by an upgrade or package reinstall (the Cron-package watchdog entry is insideconfig.xmland survives). See pfSense Upgrade Guide.
- Review security posture based on alerts
- Confirm the GeoLite2 database on pfSense is still updating (ntopng/pfBlockerNG)
- Test disaster recovery (restore pfSense config, re-run
./setup.sh)
| Symptom | First thing to try | Detail |
|---|---|---|
| Dashboard shows "No data" |
./scripts/status.sh, then ./scripts/diagnose-and-repair.sh
|
Dashboard No Data Fix |
| Forwarder not running |
ssh admin@<PFSENSE_IP> 'service suricata_forwarder.sh restart' (or wait a minute for the watchdog) |
Forwarder Installation |
| Data stops at midnight UTC |
./scripts/install-opensearch-config.sh (or re-run ./setup.sh) |
OpenSearch Auto-Create |
| High CPU on pfSense | Reduce rule count, disable low-value interfaces | Suricata Optimization Guide |
| Disk filling up |
./scripts/configure-retention-policy.sh <DAYS>; check curl -s 'http://localhost:9200/_cat/indices/suricata-*?v&s=store.size:desc'
|
Multi-Interface Retention |
| Too many false positives | Disable noisy SIDs, add suppressions | Suricata Optimization Guide |
| Everything on the SIEM needs a restart | ./scripts/restart-services.sh |
Logs: SIEM — sudo journalctl -u logstash -f, sudo journalctl -u opensearch -f;
pfSense — ssh admin@<PFSENSE_IP> 'tail -f /var/log/system.log | grep suricata'.
- Quick start: QUICK_START.md
- Documentation hub: DOCUMENTATION_INDEX.md
- Troubleshooting: TROUBLESHOOTING.md
- GeoIP Setup: GEOIP_SETUP.md
- Issues and discussions: https://github.com/ChiefGyk3D/pfsense-siem-stack
- Suricata Docs: https://suricata.readthedocs.io/
- Learn your baseline (week 1) — review alerts daily, document legitimate traffic patterns
- Tune rules (weeks 2-4) — disable noisy false positives, focus on high/critical severity
- Consider IPS mode (month 2+) — one interface at a time; see the optimization guide's "IDS vs IPS Mode"
- Expand monitoring (month 3+) — more interfaces, Grafana alerting, other integrations
- Share your experience — improvements and dashboard customizations are welcome on GitHub
- All Phase 1 steps completed
- All Phase 2 steps completed
- All Phase 3 validation passed
- Security hardening reviewed (especially OpenSearch exposure)
- Maintenance schedule understood
Installation Date: _______________
Installed By: _______________
pfSense Version: _______________
SIEM Server: _______________
Notes:
(Add any environment-specific notes here)
Source: docs/install/NEW_USER_CHECKLIST.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