Skip to main content
Bronto keeps an audit trail of user management in every organisation. It records who invited, changed, deactivated, reactivated, or deleted a user, who changed a team, and who granted or revoked access to an organisation. You search the audit trail like any other log data. The audit trail is in the user-management dataset of the .audit-trail collection.

What the audit trail records

Bronto records one event each time a user or API key successfully makes one of these changes, in the Bronto app or through the Bronto API. Requests that fail aren’t recorded. The event_type field is the HTTP method of the request followed by _user, so several actions share an event type. The resource.info field tells them apart. The audit trail doesn’t record sign-in or sign-out events. If your users sign in through SSO, your identity provider’s sign-in logs record them.

Event fields

Example event

An administrator changes a user’s last name in the Bronto app:
Changes made with an API key identify the key, not a person. Keep a record of who owns each API key so you can trace these changes to an individual. See API Keys.

Search the audit trail

In the Bronto app

  1. Go to Logs.
  2. Under Select, open Datasets, expand the .audit-trail collection, and select the user-management dataset.
  3. Choose a time range.
  4. In Filter, enter a query. See the sample queries below and Search Syntax.
Click an event to see all its fields. See Log Search.

With the Search API

Use the Search API with from_expr set to "collection" IN ('.audit-trail') AND "dataset" IN ('user-management'). Use the API host for your region: api.eu.bronto.io or api.us.bronto.io. This request returns the users deleted in the last 7 days:
To search an exact time window, use from_ts and to_ts (Unix epoch milliseconds) instead of time_range.

Sample queries

Use these filters in the Filter box or as the where parameter of the Search API. Leave the filter empty to see every change in the time range. Users invited:
Changes to one user:
To find a user’s ID, open the user in Settings > Users. The ID is the last part of the page URL. Users deactivated or reactivated:
Users deleted:
Everything one person changed:
Changes made with an API key:

Retention and access

The audit trail is kept for the retention period in your Bronto contract, which is 12 months by default. Any role that can search log data can search the audit trail. To limit who can read it, use dataset restrictions: for example, deny the .audit-trail collection to every role except an administrator or auditor role. See Access Control.