Skip to main content

Audit logs

With Audit Logs, you can take the data Informer's logs produce and use Informer to create Reports or Queries from it, like any other data, all within your instance. For example, you can create Visuals showing which Datasets are used the most and when they are queried.

Creating a Dataset from an audit log

note

Before using Audit Logs for reporting, you must create an Informer Datasource. See Creating an Informer Datasource.

The System Audit feature stores the data it records in a schema called Audit on the Informer Datasource. After enabling System Audits, the data Informer collects is available to make Datasets. Create a Dataset from either the Query Audit or the Requests Audit data:

  1. Click the New button.
  2. Select New Dataset, then Dataset Designer.
The New menu opened to the Dataset submenu, with Dataset Designer highlighted
Opening the Dataset Designer.
  1. Enter a name for the new Dataset.
  2. Select an Informer Datasource under Select Datasource.
  3. In Mappings, locate Query Log or Request Log depending on the data you want, and click Save.
The Dataset Designer dialog with a name, an Informer Datasource, and the Query Log Mapping selected
Creating a Dataset for Query Logs.

After creating the Dataset, use the audit logs to generate Reports or run Queries against it, like any other Dataset. See Creating a Dataset for more on Dataset behavior.

When making a Dataset for Query Logs, the recommendation is to deselect the Payload and Payload Text Fields unless the Dataset needs them. These Fields produce large strings of data that can make the Dataset difficult to understand.

Also available through the REST API
Everything on this page is built on Informer's public REST API, the same one the product uses, so your scripts and integrations can do it too. Developer reference: Datasets.