Skip to main content

Logs

A Logs data source lets you browse and search log files. It reads each log in small pieces, so a log of any size opens at once, and it splits every line into a time, a level, a logger and a message.

New interface

The Logs type and its Log Preview tab are in the new interface. Switch to V2 to create and use them.


Where the log files are​

Pick a source: an Amazon S3 or Azure Blob connection that already exists in DataDios. Optionally enter a folder inside it (Folder path) and change the Log extensions to list.


What the folder listing shows​

DataDios lists the files in the folder and its sub-folders that look like logs, and the folders that lead to one.

  • Which files count as logs. Files ending in .log, .out or .err, and their rotated copies (app.log.1). Change the list with Log extensions. Files that end in .gz are listed but cannot be read yet.
  • Symbolic links are skipped. A link can point anywhere, so it is never listed or followed.
  • Limits. A listing holds at most 5,000 log files. If the folder holds more, the listing fails instead of showing a part of it; point Folder path at a deeper folder. DataDios opens at most 5,000 folders and goes at most 8 levels down. The message that comes with the listing says how many folders it did not open and names the first five; the logs inside them are not shown. DataDios reads at most 200,000 names (files and folders) in one listing; past that it stops, shows what it has and says in the message that the listing is incomplete, so point Folder path at a deeper folder.
  • Folders you cannot read are left out, counted and named (the first five) in the same message.

What a line looks like​

DataDios works out the format of each log by itself: ISO timestamps, JSON on each line, web server access logs, syslog and pipe-separated lines, and the PostgreSQL server log in its default format:

2026-11-17 10:23:46.001 UTC [4480] ERROR:  relation "orders" does not exist

For a PostgreSQL line, the process number (4480) is shown as the logger. A line that starts with user@database after the process number is read too. PostgreSQL's own levels are folded into the four the level filter offers: PANIC counts as an error, and LOG and NOTICE count as info.

Time zones​

A PostgreSQL stamp can end in a time zone. DataDios reads a numeric offset (+03, -0530) and these names: UTC, GMT, WET, WEST, CET, CEST, EET, EEST, EST, EDT, MST, MDT, PST, PDT and JST. Time filters use the real moment, so a line stamped 10:24 CEST matches 08:24 UTC.

A zone name not in that list, such as IST or CST (each names more than one zone), is read as UTC. If your server logs in such a zone, set its log_timezone to an offset or to UTC.

A log line that matches no format is shown as part of the record above it, so a stack trace stays with its error.