Logs
The Logs section gathers in one place the logs of Neti and of the programs it relies on (nginx, PHP, fail2ban, CrowdSec, acme.sh, WireGuard, the system), so that you can understand what is happening without opening a shell: why a certificate does not arrive, why a site answers with an error, who was blocked, what a background job did. The logs are read-only: nothing can be changed or deleted from this section.
Where: menu Logs. It needs the permission view.logs
(View logs (certificates, sites, email, security, background jobs, system)). Admins always have it; for the
other users tick it among the additional permissions in Settings → Users: no
other role includes it.

How the page is organized
From top to bottom: the title with the link open in a window ↗; the row of tabs, one per subject; the toolbar with the source and the filters; a line of information about the source being read; the dark area with the lines of the log, the most recent at the bottom.
Tab, source and filters stay as you left them, even after closing the page: they are remembered by the browser.
Tabs and sources
Each tab groups the logs of one subject; inside a tab you choose the Source in the first selector of the toolbar. The list of sources is fixed: the page cannot read any other file of the server. A source whose file does not exist on the server is not listed (for example the CrowdSec log when CrowdSec is not installed); the logs written by Neti itself are always listed and, until their first line is written, show This log does not exist yet: no activity recorded. Sources marked system journal are read from the journal of systemd for that service.
Certificates
- Issue and renewal for the chosen domain
- The log of the issue and of the renewals of the certificate of one domain. Choose the domain in the
Domain selector. This is where to look when a certificate requested from
Certificates or from Routing does not arrive. File:
/var/lib/neti/certjobs/<domain>.log. - Automatic renewals (acme.sh)
- What acme.sh does when it renews certificates by itself. File:
/var/log/neti/acme.log. - Automatic renewals (added DNS zones)
- The automatic renewals of the certificates validated through the DNS zones added after the first one. File:
/var/log/neti/acme-zones.log. - Console certificate (requests and renewals)
- Requests, renewals, uploads and switches of the
certificate of the console, with the output of acme.sh:
/var/log/neti/console-cert.log. - acme.sh installation
- The output of the installation of the acme.sh component.
Sites
- Traffic of the chosen domain
- Every request received for one published service, one line each: see
Format of a traffic line. Choose the domain. File:
/var/log/nginx/sites/<domain>.access.log. - Errors of the chosen domain
- The errors nginx recorded for that service: backend unreachable or too slow, connection refused, TLS problems
towards the backend. File:
/var/log/nginx/sites/<domain>.error.log. - Gate exceptions of the chosen domain
- The requests that arrived at the gate exceptions of that service,
one line each: see Format of a gate exception line. File:
/var/log/nginx/sites/<domain>.exc.log. - Errors of all sites
- The general error log of nginx, with the errors of all the services together. File:
/var/log/nginx/error.log. - Generic traffic (scans, IPs with no domain)
- The general access log of nginx: besides the requests to the services, it contains the requests that did not
name a published domain, typically automated scanners that try the bare IP address. File:
/var/log/nginx/access.log. - nginx service (starts, reloads)
- The system journal of nginx: starts, stops, reloads of the configuration and the errors that prevent it from starting.
Console
- Console sign-ins
- The failed sign-ins to the console: one line per wrong code or wrong password, in the form
<date> neti <event> email=<what was typed> ip=<address>. It is the file fail2ban reads to ban those who insist. File:/var/log/neti/auth.log. - Console requests
- The access log of the console port: the requests of the console users and, above all, the attempts of those
who knock on the port without knowing the path (answered with status 444, that is no answer). File:
/var/log/nginx/neti_access.log. - Console errors
- The nginx errors of the console port. File:
/var/log/nginx/neti_error.log. - PHP
- The log of PHP-FPM, which runs the console and the gates: warnings and errors of the PHP processes.
- PHP service
- The system journal of the PHP-FPM service: starts, restarts, failures.
- Emails sent by Neti (codes, notifications, tests)
- One line for every email Neti tried to send: access codes, probe alerts, update and SSH access emails, test
emails. Each line has the date, the outcome, the recipient (
to=), the subject (subject=), what sent it (via=), the SMTP server used (server=), the duration in milliseconds (ms=) and, when the delivery failed, the reason (err=). The text of the email is never recorded, because it contains the codes. File:/var/log/neti/mail.log. - Local mail of the server (exim)
- The log of exim, the mail program of Debian that delivers the messages of the system itself (cron, automatic
updates). File:
/var/log/exim4/mainlog. - exim service
- The system journal of exim.
DNS
- Record operations (Cloudflare, OVHcloud)
- The operations Neti performs on DNS records at the providers of the configured zones: every creation, change
and deletion with the record and the new address, the outcome and who did it; reads are logged only when they
fail. Credentials are never recorded. File:
/var/log/neti/dns.log.
Security
- fail2ban (bans and unbans)
- The log of fail2ban: addresses found, banned and unbanned, with the jail that did it. Every
Ban has a red dot in front, every Unban a green dot. File:
/var/log/fail2ban.log. - CrowdSec (decisions)
- The log of CrowdSec: the scenarios triggered and the bans decided (lines such as 4h ban on Ip …,
marked with a red dot). File:
/var/log/crowdsec.log. - CrowdSec, firewall bouncer
- The log of the component that applies the decisions of CrowdSec to the firewall: decisions applied
(decisions added, red dot: addresses now blocked) and removed (decisions deleted, green dot:
addresses unblocked). File:
/var/log/crowdsec-firewall-bouncer.log. - CrowdSec, local API
- The log of the local API of CrowdSec. File:
/var/log/crowdsec_api.log. - fail2ban service, CrowdSec service
- The system journals of the two services: starts, stops and configuration errors.
Background jobs
The work Neti does by itself, on a schedule or when you start the installation of a component.
- Closing of expired remote access
- The job that closes the temporary accesses of Remote access when their time
is up. File:
/var/log/neti/ssh-reap.log. - Probes (errors of the every-minute run)
- The errors of the job that runs the probes every minute. Normally empty. File:
/var/log/neti/probes.err. - Cloudflare IP refresh
- The periodic update of the list of Cloudflare addresses. File:
/var/log/neti/cf-refresh.log. - GeoIP update
- The periodic update of the GeoIP database. File:
/var/log/neti/geoip-update.log. - Tor node list update
- The periodic update of the list of Tor exit nodes. File:
/var/log/neti/tor-update.log. - CrowdSec installation, GeoIP installation, fail2ban installation, Neti system files installation
- The output of the installation or repair of each component, started from the console. Look here when an
installation ends with an error. Files in
/var/lib/neti/jobs/. - cron
- The system journal of cron, which starts the scheduled jobs.
System
- WireGuard
- The system journal of the WireGuard interface of Neti: starts and errors of the tunnel.
- Server SSH
- The system journal of the SSH service of the Neti machine: connections accepted and refused.
- Automatic updates
- The log of the automatic security updates of Debian. File:
/var/log/unattended-upgrades/unattended-upgrades.log. - Automatic updates service
- The system journal of the same service.
- Installed and upgraded packages
- The log of the package manager: which packages were installed, upgraded or removed, and when. File:
/var/log/dpkg.log. - Updates from the console (last job)
- The output of the last update started from Settings → Updates.
- Network
- The system journal of the network service of the machine.
Activity
The two lists of the Activity section, read from the database of Neti instead of a file, with the same filters as the other logs. They go much further back than the Activity page: the last 20,000 records of each.
- Actions done from the console
- The activity log: date and time, user, action, detail, address. See Activity log.
- Gate and access events
- The gate events: date and time, type, email, country, address, detail. See Types of event.
Toolbar: source and filters
- Source (first selector)
- The log to read, among those of the current tab. The page remembers the last source used in each tab.
- Domain (second selector)
- Default all domains. The list contains the domains of the published services (with their
wwwname when it is active), followed by the domains that only have a certificate log. Its effect depends on the source. For the sources "of the chosen domain" (certificate issue, traffic, errors and gate exceptions of a site) there is one file per domain and the selector chooses which: without a domain the page shows Choose a domain with the list of the domains that have a log. For every other source it works as a filter: only the lines that mention that domain are kept. - search (all words)
- Keeps only the lines that contain all the words you type, in any order, without distinction between
upper and lower case. The words are highlighted in the lines. The result updates as you type. Useful words: an
IP address, an email, a status such as
502, a piece of a path. For file and journal sources at most six terms are used, counting the domain filter. - errors only
- Keeps only the lines that look like errors or warnings: those containing words such as error, fail, warn, denied, refused, timeout, unreachable, ban, invalid, the requests answered with a 4xx or 5xx status, the requests where the backend answered 5xx, and the failed emails and DNS operations.
- Lines (third selector)
- How many of the most recent matching lines to show: 200, 500 (default), 1000 or 2000.
- follow
- Reloads the log by itself every 3 seconds, like
tail -f. While you are at the bottom of the area, the view stays on the newest lines; if you scroll up to read, it does not jump. The refresh pauses while the browser tab is in the background. Useful while you issue a certificate, put a service into production or test a gate exception. - ↻ refresh
- Reloads the log once.
- download
- Saves the lines currently shown (after the filters) to a text file named after the source and the domain, for
example
neti-site-access_-app.example.com.log. Remember that it may contain IP addresses and email addresses.
The information line and the lines of the log
The line above the dark area tells what you are reading: the path of the file (or journal: and the name of the service, or database), its size, last written with the time of the last line added, and how many lines matched the filters (lines found), followed by showing the last and a number when they are more than the lines requested.
Colors help to read quickly:
- In traffic logs, requests answered with a 4xx status are yellow and those with a 5xx status (or where the backend answered 5xx) are red.
- In the other logs, lines that look like errors are red, warnings (including bans and rate limits) yellow, and successful operations (a certificate issued, a reload completed, an unban) green.
- A red dot marks a ban and a green dot an unban, in the fail2ban and CrowdSec logs.
- The words of the search and the domain used as filter are highlighted.
Messages you can find in place of the lines: Choose a domain (the source needs one); This log does not exist yet: no activity recorded (nothing has ever been written to it); No lines. (the log is empty); No lines with these filters. (loosen the search); missing permission or session expired: reload the page.
Format of a traffic line
The source Traffic of the chosen domain has one line per request, with these fields in order:
2026-11-20T10:15:02+01:00 203.0.113.7 "app.example.com" "GET /login HTTP/2.0" 200 5123 rt=0.042 up=10.9.0.5:8080 us=200 ut=0.040 "-" "Mozilla/5.0 ..."
| Field | Meaning |
|---|---|
| Date and time | When the request ended, with the time zone of the server. |
| Address | The IP address of the visitor: the real one, also when the service is behind the Cloudflare proxy. |
| Domain | The host name requested, in quotes. |
| Request | Method, path and protocol, in quotes. |
| Status | The HTTP status sent to the visitor. |
| Bytes | The size of the body of the answer. |
rt | Request time: the total time, in seconds, from the first byte received from the visitor to the last byte sent. It includes the time of the backend and the speed of the visitor's connection. |
up | Upstream: the address and port of the backend that Neti contacted. A dash means no backend was contacted: Neti answered by itself (for example with the redirect to the gate). |
us | Upstream status: the HTTP status the backend answered with. |
ut | Upstream time: how long the backend took to answer, in seconds. |
| Referer | The page the request came from, in quotes; a dash when absent. |
| User agent | The program that made the request, as it declares itself, in quotes. |
How to read them together:
- The visitor got 502 or 504 and
usis empty (a dash) or itself an error: the problem is the backend, which did not answer, refused the connection or took too long. Check the backend and, if it is reached through WireGuard, the tunnel. us=200: the backend answered; whatever the visitor sees comes from the application.rtmuch larger thanut: the backend was fast and the time went into the transfer to the visitor (large answer or slow connection).utlarge: the application is slow in producing the answer.
Format of a gate exception line
The source Gate exceptions of the chosen domain has one line for every request that arrived at an address covered by a gate exception. The fields:
| Field | Meaning |
|---|---|
| Date and time | When the request arrived. |
x | The number of the exception that handled the request. |
ip | The address of the visitor. |
m | The HTTP method. |
s | The status sent to the visitor. |
us | The status the backend answered with, when the request reached it. |
v | The reason of the refusal by the rules of the exception: method, content type, origin, size. Empty when the request was within the rules. |
rl | The outcome of the request limit per address. |
a | The outcome of the checks of Neti on the address: ban, honeypot, Tor. |
n | The declared length of the body of the request. |
| Path | The address requested, in quotes. |
o | The origin declared by the browser (header Origin). |
| User agent | The program that made the request, in quotes. |
ct | The content type of the request. |
sf | The fetch mode declared by the browser (header Sec-Fetch-Mode): it tells a form submission from a fetch/XHR call. |
ah | The headers a browser asks permission for in a CORS preflight request. |
When the exception is in observe mode, a line carries the reason but the request was let through: it shows what would have been refused. The link view log ↗ under an exception in the card of the service opens this source in a separate window, already on the right domain and limited to that exception (the information line then starts with exception only:); it does not change the filters you saved in the Logs page.
Open in a window
open in a window ↗, next to the title, opens the logs in a separate browser window without the menu and without the help column, to keep next to the console while you work: for example the traffic of a service with follow on in one window, and Routing in the other. The window uses the same sign-in as the console: if the session expires, sign in again from the console.
Confidentiality
Before being shown, the lines pass through a filter that hides tokens, API keys, passwords and private keys
(replaced by ***). Email addresses and IP addresses stay visible: they are needed to understand who
did what. For this reason the permission to see the logs should be given only to people who may see who visits
your services.
How long logs are kept
- Traffic, errors and gate exceptions of each site
- 14 days (rotated every day).
- General nginx logs (errors of all sites, generic traffic, console requests and errors)
- 14 days, by the standard rotation of nginx on Debian.
- Logs of Neti (console sign-ins, emails, DNS operations, acme.sh, background jobs)
- About 90 days (rotated every week, 13 weeks kept).
- Certificate logs per domain and installation logs of the components
- About 90 days (rotated every month, 3 months kept).
- System logs and journals (fail2ban, CrowdSec, exim, packages, services)
- According to the settings of Debian for each program.
- Activity (database)
- See Activity → How long records are kept.
Older files are compressed and then deleted automatically. The page reads the current file and the one of the previous period (the day, week or month before), up to the last 6 MB of each; journals are read up to their last 20,000 lines. To go further back, read the compressed files on the server.
How to find out why a certificate does not arrive
- Open Logs, tab Certificates, source Issue and renewal for the chosen domain.
- Choose the domain in the Domain selector and tick follow.
- Start the issue again from Certificates or Routing and read the lines as they arrive; the red ones give the reason (DNS record not found, port 80 not reachable, credentials of the DNS provider refused).
How to find out why a site answers 502 or 504
- Tab Sites, source Traffic of the chosen domain, choose the domain and tick errors only.
- Look at
up,usandutof the red lines: see Format of a traffic line. - Switch the source to Errors of the chosen domain to read the exact error nginx got from the backend (connection refused, timeout, no route).
How to find out why an address was blocked
- Tab Security, source fail2ban (bans and unbans); type the address in the search field. The line with the red dot names the jail that banned it.
- If nothing is found, repeat with the source CrowdSec (decisions).
- For bans decided by Neti itself (honeypot, bursts), search the address in tab Activity, source Gate and access events.
Troubleshooting
- No readable source: the system agent is not responding
- The page reads the logs through the agent of Neti, which did not answer. The message carries the error. Check the state of the system components in the console and retry.
- A source I expect is not in the list
- Its file does not exist on this server: the program is not installed or has never written a line.
- The Logs entry is not in my menu
- Your user lacks the permission
view.logs: an Admin can add it in Settings → Users. - The lines stopped updating
- Check that follow is ticked and that the window is in the foreground; if the message is missing permission or session expired, reload the page and sign in again.
- I search for something that happened weeks ago and find nothing
- The page reads the current file and the previous one only, and the site logs are kept 14 days: see How long logs are kept.
Good to know
- Very long lines are cut at 4000 characters.
- Times inside the lines are those written by each program, normally in the time zone of the server.
- Opening the Logs page from a link of another page (such as view log ↗ of a gate exception) does not change the tab and the filters remembered for your normal use of the page.
- The same files can be read from a root shell on the server, at the paths given for each source.