Home › Install guides › Install a log collector
Install guide · Log IntelligenceInstall 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 12 November 2026 · Latest version: https://uplivra.com/guides/log-collector.html
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 logs | Stored per day | 90 days | 365 days | Suggested log disk |
|---|---|---|---|---|
| 25 | 0.4 GB | 36 GB | 150 GB | 250 GB SSD |
| 100 | 1.6 GB | 146 GB | 590 GB | 1 TB SSD |
| 500 | 8 GB | 730 GB | 3 TB | 4 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:
| Rule | Keep | Always searchable |
|---|---|---|
| PCI DSS 10.5.1 | 12 months | The last 3 months |
| HIPAA (documentation rule, often applied to logs) | 6 years | Your choice; keep older years off-site |
| SOC 2 | Usually 12 months | — |
| CIS Controls 8.10 | 90 days | 90 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:
mkfs.ext4 -L uplivra-logs /dev/sdb
mkdir -p /var/lib/uplivra-logs
echo 'LABEL=uplivra-logs /var/lib/uplivra-logs ext4 defaults,noatime 0 2' | tee -a /etc/fstab
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 (bash install.sh, as root). Then:
| Question | Answer |
|---|---|
| What should this computer be? | Log collector, or Collector and log collector |
| Number of devices sending logs | Your estimate. Setup shows the storage it needs |
| Days of logs to keep | 365 for PCI DSS; 90 for CIS; 2190 for six years |
| Folder for log storage | /var/lib/uplivra-logs (the disk from step 1) |
| Connect to your Uplivra server now? | yes if you can paste the setup code here; no to connect after setup from the management page or with uplivra join (see Connecting after setup) |
| Server address and setup code | From Uplivra: Settings › Sites and collectors › your site › Connect a collector |
| Trust the server's certificate | Check 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.
- Clean-up when the disk is full: at 85% full (you can change it), the oldest days are deleted to make room, never the protected period. If only protected days are left, new messages stop at 95% and Uplivra warns you.
- Never delete logs: turn automatic deletion off entirely. Nothing is ever deleted, not even past the retention period. When the disk reaches the clean-up level, the collector stops storing new messages and raises a warning, so send logs elsewhere (log forwarding or an off-site copy, below) to keep them, and add disk before it fills.
- 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.


DNS names for logs and traps
Collectors look up the DNS name (PTR record) of each sender, and of IP addresses inside messages and traps, and show it in its own DNS name column next to the IP address (the address is always shown). Searches and alerts match names too.
For names of your own devices, the collector must use your internal DNS servers (usually your domain controllers), and they need reverse lookup zones with PTR records for your devices (for example 10.in-addr.arpa), or automatic PTR updates from DHCP. Public DNS doesn't know your internal names. No PTR record? The DNS name column is simply empty.


Choose per site in Settings › Sites under DNS names for logs and traps: every address, private addresses only, or off. Uplivra warns on the site if a collector can't reach a DNS server.
Send logs to your SIEM, syslog server or S3 (log forwarding)
Uplivra can pass on a copy of every syslog message and SNMP trap your collectors receive, as well as keeping its own. Set it up once for all collectors in Settings › Logs › Log forwarding, then Add a destination:
| Destination | Use it for | What's sent |
|---|---|---|
| Syslog server or SIEM | Graylog, Splunk, Wazuh, QRadar, ArcSight, rsyslog, syslog-ng, Microsoft Sentinel's syslog agent | Each message as RFC 5424 (or RFC 3164 or JSON) over TLS (recommended, port 6514), TCP or UDP (514). The device stays the host name (its DNS name when known); the IP address, DNS name and collector are in structured data |
| HTTPS collector | Splunk HTTP Event Collector, Elastic, Datadog, Sumo Logic, anything that takes JSON lines | Batches of JSON lines, or Splunk HEC events, with your token. HTTPS only |
| Amazon S3 or S3-compatible | Long-term, cheap archive (AWS, Backblaze B2, Wasabi, MinIO), optionally with Object Lock | A gzip file of JSON lines every 5 minutes per collector: folder/collector/YYYY/MM/DD/HHMMSS-NNN.ndjson.gz |
| Azure Blob Storage | The same, in Azure | The same files, with a SAS URL that allows create and write |


For each destination choose what to send (syslog messages, SNMP traps, and the collectors' own warnings and errors), the least serious level to send, and which sites' collectors send it (none ticked means every site). Send a test message has a collector of your choice send one message, so you test the real network path. The page shows, for every collector, how many messages were sent, how many are waiting, any dropped and the last problem.
Good to know:
- Collectors send from their own network: allow them through to the destination (TCP 6514 for TLS syslog, 514 for TCP/UDP, 443 for HTTPS and object storage).
- Forwarding never slows Uplivra down. Each destination has its own queue on the collector (up to 50,000 messages); if a destination is down for long, the oldest waiting messages for it are dropped and counted.
- Masking rules apply before forwarding, so passwords and other masked text aren't sent on.
- Passwords, tokens and keys are stored encrypted on the server and sent only to the collectors that use them, over their encrypted connection; they're never shown again on the page.
- This is separate from off-site archive copies (Step 4), which copy a log collector's own encrypted archive files.
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
uplivra logs verify
It checks every archive file against the hash chain and reports any file that's missing or altered. Other useful commands:
uplivra logs usage # size, rate and days until full
uplivra logs search -text "failed password" -from 2026-09-01
Troubleshooting
| What you see | What to do |
|---|---|
| No messages arrive | Check "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 messages | Fix the device's clock or time zone; Uplivra also records when each message arrived |