Safe to Delete

Suricata Network IDS/IPS Capture Logs (/var/log/suricata)

Quick Answer: Suricata Intrusion Detection System writes packet capture logs (eve.json, pcap files) to /var/log/suricata. Learn how to clean Suricata logs.

Bottom Line: It is safe to delete old Suricata log archives (eve.json.*, .pcap). Suricata logs network security alerts and packet captures to /var/log/suricata.


Why Do Suricata PCAP Logs Exist?

Suricata is a high-performance Network Threat Detection engine that inspects network traffic for malicious signatures, DDoS vectors, and exploit payloads.

  • Primary Purpose: Network packet inspection, EVE JSON telemetry, and PCAP raw packet recording.
  • Storage Growth: High-bandwidth 1Gbps/10Gbps server interfaces generate 5 GB to 50 GB+ of log data daily.

What Happens If You Delete Suricata Logs?

  • System Safety:Safe to Delete. Network IDS threat inspection remains fully operational.
  • Reclaimed Storage: Reclaims 5 GB to 50 GB+ of server disk space.

How to Clean Suricata Logs

# Delete rotated EVE JSON logs and PCAP captures
sudo rm -f /var/log/suricata/eve.json.* /var/log/suricata/*.pcap.*

Frequently Asked Questions (FAQ)

How do I limit Suricata log file sizes?

Configure logrotate for Suricata in /etc/logrotate.d/suricata with rotate 7 and daily parameters.

Discussion

Loading authentication...

Related in linux

Linux Audit Framework Log Directory (/var/log/audit)

The Linux auditd service records security events, file access traces, and user commands in /var/log/audit. Learn how to clean auditd log files safely.

Safe to Delete

Fail2ban Ban History Database (/var/lib/fail2ban/fail2ban.sqlite3)

Fail2ban intrusion prevention daemon logs banned IP addresses and SSH brute-force attempts in fail2ban.sqlite3. Clearing Fail2ban database is safe.

Safe to Delete

GNOME Desktop File Indexer Database (~/.local/share/tracker/data)

GNOME Tracker caches desktop search index databases. Resetting the tracker database is safe.

Safe to Delete
Back to all files