For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Logs

Capture, search and follow the log entries of your project — every request, command and trigger, one request flow at a time.

The Logs module records what happens in your project: each request to the Hub and the API (http:request / http:response), the commands and queries it ran, triggers that were skipped, and the work Norbix does in the background. You search the entries in Cloud, open one entry to see the whole request flow it belongs to, and keep the entries in your own database with the Norbix Logging integration.

Enable the module

Open a project and choose Logs in the left menu. While the module is off, Cloud shows the Norbix Logs page with the ENABLE LOGS button. You need a project role that can manage modules (the logging:manage permission, for example Owner or Administrator).

The Norbix Logs enable page: See what's happening with:, three benefits, the card Where should your logs be stored? and the ENABLE LOGS button
Logs → enable page, shown while the module is off.

Logging is opt-in: turning the module on alone stores nothing. The first time you enable it, the card Where should your logs be stored? has the check box Save logs to my default database. Tick it — Norbix then creates a Norbix Logging integration in your project's default database and tests it, so entries show up in Cloud at once. The check box is there only when the project has a default database (Database → Integrations); without one, the card says No default database yet and you add Norbix Logging later.

The card Where should your logs be stored? with Save logs to my default database ticked, and the ENABLE LOGS button
Save logs to my default database is ticked.

After ENABLE LOGS, Cloud opens the Logs list and shows the Logs menu: Logs (See project logs), Integrations (Third-Party Integrations), Settings (Logs settings). The list fills as soon as the project is used.

After ENABLE LOGS: the Logs list with its filters and the Logs menu Logs, Integrations, Settings
After ENABLE LOGS: the Logs list and the Logs menu.

To turn the module off again, see Settings.

Module map

Screen
What it is for

Search the entries by level, module, correlation id, event code, text and date; open one to see its request flow.

Where the entries go. Norbix Logging keeps them in your database and is the only provider that delivers today; test, disable or delete an integration. Logging has no default integration.

Two log filters, Clean all logs, and turning the module off.

Your first log entries

  1. Enable the module with Save logs to my default database ticked — or add Norbix Logging later and test it. An integration receives entries only when it is enabled and its last test passed.

  2. Use your project: call the API from your app, save a record, run a trigger. For example, publishing the books collection writes an http:request entry, two command entries and an http:response entry, all with one correlation id.

  3. Open Logs, filter by Level, Event Code or Search, and press the timestamp of an entry.

  4. Read the request flow: every entry with the same correlation id, oldest first, with its metadata.

  5. When the list gets too long, use the filters on Settings.

Use it from code

Every Do it from code block in the Logs pages uses this client. Install @norbix.ai/ts (see SDK install) and set NORBIX_API_KEY to a project API key.

The CLI lines use the generic norbix hub logs … commands of @norbix.ai/cli (signed in with norbix login, project id in NORBIX_PROJECT_ID):

The client sends the project id with every call (the norbix-project-id header), so the requests do not repeat it. The CLI does the same with the project of norbix login --project …, norbix config set projectId … or NORBIX_PROJECT_ID. The short commands norbix logs list, norbix logs trail <correlation id> and norbix logs settings work too.

Integrations concept · Errors · SDK · CLI · API

Last updated