Keep the logs your devices send to Korthveil in an S3 bucket instead of on the firewall. It works with Amazon S3, an S3 app on a TrueNAS, MinIO, or any S3-compatible service.
- The firewall encrypts every block of messages before it leaves.
- Only a small, bounded buffer stays on the firewall, so a busy network never fills its disk.
- Searches and exports read older messages back from the bucket.
You need:
- the Syslog server add-in, receiving logs (Monitoring › Logs & audit › Syslog server);
- an S3 destination: a bucket, a folder (prefix), and a key that may list, write, read, and delete in that folder. To make one:
- add it under System › Backup & restore › Schedules & delivery › Destinations;
- for Amazon S3, the guided AWS sign-in (System › Storage & power › Network storage › Amazon S3 archive) makes the bucket, folder, and a limited key for you (see "Amazon S3 archive with AWS sign-in");
- about 5 minutes.
How it works
devices ──syslog──▶ Korthveil firewall S3 bucket
┌───────────────────────────────────────┐ HTTPS ┌──────────────────────────────┐
│ open block (≤ 4,000 messages, 5 min) │ │ <folder>/syslog/<firewall>/ │
│ ↓ closes │ │ 2026/11/05/<block>.kvlog │
│ encrypt (AES-256-GCM, firewall's key) │ ────────▶ │ … one object per block │
│ ↓ upload confirmed: local copy gone │ │ <folder>/korthveil-keys/ │
│ upload queue only while S3 is down │ │ <key id>.kvkey (recovery) │
│ index + read cache (small, bounded) │ ◀──────── │ │
└───────────────────────────────────────┘ search └──────────────────────────────┘
Set it up
- Open Monitoring › Logs & audit › Syslog server › Settings.
- In Storage location, choose Amazon S3 / S3-compatible: <your destination> (s3://bucket/folder/). Network volumes (iSCSI, NVMe/TCP, SAN, NFS, SMB, TrueNAS) are in the same list.
- Press Test the bucket. The firewall writes an encrypted test file, reads it back, and deletes it. Fix what it reports before you go on: the key, the bucket, or the endpoint's certificate.
- Optional: type a recovery passphrase of at least 20 characters, and keep it outside the firewall. With it and the bucket, the logs can be decrypted even if the firewall is lost.
- Check the limits. The defaults suit most sites:
- Close a block after: 5 minutes. Data reaches S3 at least this often, even when it is quiet.
- Upload queue on the firewall: 256 MB. This is where blocks wait while S3 does not answer.
- Read cache: 64 MB, in memory, for searches over older messages.
- Keep free on the firewall's disk: 15 %, and never less than 1 GiB.
- Keep messages (days) and Storage limit: these now apply to the data in S3, up to 64 TB.
- Save to pending changes, then commit the pending changes.

After the commit, messages already on the firewall move up to the bucket, oldest first. The Object storage panel shows the progress.
What you see
- Object storage panel: what is in S3 (objects, bytes); the upload queue and its limit; what is on the firewall; the last upload; the read cache; and anything dropped.

- Messages: when results come from S3, a note says so. If S3 does not answer during a search, the note says how many stored blocks could not be read; the rest of the results still show.
- Top bar: the storage light is green while S3 answers and blinks while blocks are uploaded or read. Hover over it for the details.

When S3 cannot be reached
- New blocks wait in the upload queue on the firewall, and the firewall keeps retrying, from every 5 seconds up to every 5 minutes.
- If the queue reaches its limit, or the disk reaches the free-space floor, the oldest waiting blocks are dropped to make room. This keeps the firewall from filling up.
- Every dropped block and message is counted on the page.
- The add-in turns degraded and raises an alert: "syslog: N messages dropped because S3 was unreachable and the local buffer was full".
- After 10 minutes without a successful upload, the add-in is degraded too, so you hear about an outage before anything is lost.
- When S3 answers again, the queue empties by itself.
The S3 destination
The destination (System › Backup & restore › Schedules & delivery › Destinations) holds the bucket, region, folder, and the key. The secret key is never shown again after it is saved.

Failover pairs
- The standby firewall receives the same settings through failover sync. It stores its own collected logs in the same bucket, in its own folder:
<folder>/syslog/<standby name>/…. - Each firewall's index and Delete all collected logs cover only that firewall's own logs. To empty the bucket completely, delete on both firewalls, or delete the folder in the bucket.
TrueNAS, MinIO, and other S3-compatible services
- Make the destination with the service's address as Endpoint (for example
https://truenas.lan:9000), and turn on Path-style addresses. - If the service uses its own or a self-signed certificate, paste its CA certificate (PEM) into Endpoint's CA on the destination. The firewall trusts it only for that destination.
- The region is usually
us-east-1.
Moving away from S3
- Choose another Storage location and commit. The blocks move back down to the firewall or the volume, but only if they fit its storage limit and leave the free space.
- If they do not fit, they stay in S3, still searchable, and the page says why. Raise the limit, shorten the retention, or keep S3.
- An object store that still holds collected logs cannot be removed. Move the logs first, then remove it.
- If a store is removed anyway (for example while the syslog server was off), nothing can read its logs from the firewall any more. From 1.4.1 the syslog server then forgets them and says so once, at the top of its page: how many messages, from when to when, and which store. The objects stay in the bucket: delete them there if you no longer need them. Before 1.4.1 it kept trying to move them every 10 seconds, counted as a fault, and the top bar showed an S3 storage with no name.

Keys and security
- The key that encrypts the logs is made by the firewall and kept in its database, never in the bucket. Back it up with the Firewall keys section of a backup. The page shows only a key ID.
- The S3 key stays in the firewall's configuration as a secret. It is never shown, logged, or given to the add-in.
- Server-side encryption (SSE-S3 or SSE-KMS), when set on the destination, is added on top.
- In FIPS mode, the upload check uses SHA-256 instead of MD5.
Tested
On a real Amazon S3 bucket (Korthveil 1.1.69, November 2026):
- 152,897 messages were stored as 137 encrypted blocks (3.8 MB) in the bucket, with nothing left on the firewall.
- The bucket test (write, read back, delete) passed, and searches read older messages back from S3.
- Delete all collected logs removed the firewall's 137 blocks from the bucket.