Uplivra

Home › Install guides › Install a log collector

Install guide · Log Intelligence

Install a log collector

Set up a computer that receives syslog from your firewalls, switches and servers and keeps it encrypted, searchable and tamper-evident, with off-site copies. Includes how much storage you need.

Uplivra Technologies LLC · Guide for Uplivra 26.10 · Updated 25 September 2026 · Latest version: https://uplivra.com/guides/log-collector.html

Download this guide as a PDF

Separate computer, or together with a collector?

The same Uplivra program can be a collector, a log collector, or both. We recommend a separate computer (or virtual machine) with its own disk for logs:

  • a burst of log messages can never fill the disk the collector or server needs;
  • you can size and back up the log disk on its own;
  • in a PCI or HIPAA environment the log store is easier to protect.

Collector and log collector on one computer is fine for small sites (up to about 25 devices sending logs), as long as the logs go on their own disk.

How much storage you need

Uplivra keeps logs compressed. A typical mix of firewalls, switches and servers sends about 3 messages a second per device; after compression, each message takes about 60 bytes on disk.

Devices sending logsStored per day90 days365 daysSuggested log disk
250.4 GB36 GB150 GB250 GB SSD
1001.6 GB146 GB590 GB1 TB SSD
5008 GB730 GB3 TB4 TB, or 1 TB with off-site archive

These are estimates: a firewall that logs every allowed connection can send ten times more. Setup does this calculation for your numbers, and after a week Uplivra shows your real volume and how many days until the disk is full.

How long to keep logs:

RuleKeepAlways searchable
PCI DSS 10.5.112 monthsThe last 3 months
HIPAA (documentation rule, often applied to logs)6 yearsYour choice; keep older years off-site
SOC 2Usually 12 months—
CIS Controls 8.1090 days90 days

Computer: for up to 100 messages a second (about 30 devices), 2 CPU cores, 8 GB memory and a 500 GB SSD. For 1,000 a second, 4–6 cores, 16 GB and 2 TB. Always use SSD; never a Raspberry Pi's SD card.

Step 1: Add a disk for logs

In your virtual machine settings, add a second disk of the size above. On the Linux computer, find it and prepare it (this erases that disk, so check the name):

lsblk

The new disk is the one with no partitions, for example sdb. Then:

sudo mkfs.ext4 -L uplivra-logs /dev/sdb
sudo mkdir -p /var/lib/uplivra-logs
echo 'LABEL=uplivra-logs /var/lib/uplivra-logs ext4 defaults,noatime 0 2' | sudo tee -a /etc/fstab
sudo mount -a
df -h /var/lib/uplivra-logs

The last line should show the new disk's size.

Step 2: Install

Follow steps 1–3 of Install the Uplivra server to copy and start the installer (sudo bash install.sh). Then:

QuestionAnswer
What should this computer be?Log collector, or Collector and log collector
Number of devices sending logsYour estimate. Setup shows the storage it needs
Days of logs to keep365 for PCI DSS; 90 for CIS; 2190 for six years
Folder for log storage/var/lib/uplivra-logs (the disk from step 1)
Server address and setup codeFrom Uplivra: Settings › Sites and collectors › your site › Connect a collector
Trust the server's certificateCheck the fingerprint matches the one Uplivra shows, or choose your CA

The network and time questions are the same as for the server. Correct time matters for logs: point it at the same time servers as your devices.

Step 3: Send logs to it

On the site's page in Uplivra (Settings › Sites and collectors), tick Receive syslog here and save. Then point each device's syslog at the log collector's address, port 514 (UDP or TCP). Settings › Sites and collectors › How to send logs from common devices has the exact settings for common firewalls, switches, Windows and Linux.

Messages appear under Logs within a minute.

Step 4: Set retention, warnings and off-site copies

Open the log collector's page (Settings › Sites and collectors, click its name):

  • Retention: pick Recommended, PCI DSS, HIPAA, CIS Controls or your own numbers. The protected period is never deleted to make room; Uplivra warns you instead.
  • Warning level: a warning when the disk is 75% full (you can change it) or will fill within 30 days.
  • Off-site copy: Amazon S3 (turn on Object Lock on the bucket so copies can't be deleted early), Azure Blob Storage with a SAS link, S3-compatible storage such as Backblaze B2, Wasabi or MinIO, or a network folder. Click Test before saving.
The log storage settings on a collector's page.
The log storage settings on a collector's page. Demo data

Encryption and the log key

Every hourly archive is encrypted with AES-256-GCM. The key is created on the log collector and a copy is kept, encrypted, on your Uplivra server, so a failed log collector doesn't lose your logs. An administrator can download the key from the collector's page (your password is asked again, and the download is recorded). Keep a copy offline, for example in your password manager or safe: without it, off-site copies can't be read.

Check the archive hasn't been changed

sudo uplivra logs verify

It checks every archive file against the hash chain and reports any file that's missing or altered. Other useful commands:

sudo uplivra logs usage                                    # size, rate and days until full
sudo uplivra logs search -text "failed password" -from 2026-09-01

Troubleshooting

What you seeWhat to do
No messages arriveCheck "Receive syslog here" is ticked, the device points at the right address and port, and nothing blocks UDP/TCP 514
"The log disk is 80% full" (or any warning)Add disk space, shorten retention (outside the protected period), or turn on off-site copies
"The log archive is full"New messages are being dropped. Add space now
Wrong times on messagesFix the device's clock or time zone; Uplivra also records when each message arrived