Audit#
The audit records what each user does in Empowerment Center: when they signed in and from where, the failed attempts, each query to the client database with its SQL and the values of its parameters, the changes to data, workbooks, metadata, scheduling, deliveries and administration. It answers “who did this?”, “what did this user query?” and “what happened last night?”.
Before you start#
- You need the System administration privilege. Whoever does not have it does not see the Audit entry and, if they open its address, the page tells them “The audit log is consulted by system administrators.”.
- Open the audit from the sidebar, in Administration › Audit (
/admin/audit). - With the own database in PostgreSQL, the audit uses the
pg_trgmextension to search text, which is installed with the own database (see Installation). With the own database in Oracle it is not needed, and Contains searches without a text index (see Search, filter and export).


What an entry is#
Each thing that is recorded is an entry, with:
| Field | What it is |
|---|---|
| Date and time | When it happened, in the local time of whoever is looking. |
| Category and Action | What kind of thing it is and what was done (see What is recorded). |
| Outcome | Successful or Failed (a rejected sign-in attempt, a job that failed, a denied query…). |
| User | The login of whoever did it, at that moment. In administration, whoever administered; the affected user goes in the object. |
| Channel | How they acted: their session, a scheduled task, a delivery, the API… and the reference of what launched it. |
| Connection, Address and Object | On which connection, from which IP address and on which object (a workbook, a table, a user…). |
| Description | A sentence in Spanish, written by the server when it records the entry, whatever the language of whoever reads it: «Consulta del documento 'Importe por zona' del libro 'Ventas': 3 filas en 12 ms». |
| Data | What is specific to each action: identifiers, counts, states. |
| SQL and values | Only in queries: the statement, the values of its parameters, the rows and the duration. |
| Job | The job that produced it, to see its queries and its end together. |
What is deleted cannot be looked up afterwards, so each entry keeps the names needed to understand it.
How the chapter is organized#
- What is recorded: the categories and actions, the channels and what is not recorded.
- Search, filter and export: the filters, including and excluding from an entry, the detail with the SQL and the export to CSV.
- Retention and sending to a SIEM: how long each category is kept, how it is purged, turning off query logging and the log lines for a syslog or a SIEM.
Principles#
- Only System administration sees the audit. There is no “my activity” view for each user.
- Queries are recorded with their values: without the values you cannot tell which zone or which customer someone queried. It can be turned off (see Retention and sending to a SIEM).
- No secrets are stored: no passwords, no keys, no content of the files that are sent, and no URL or user of a connection.
- A user that does not exist and a wrong password give the same reason, «Usuario o contraseña incorrectos» (“Incorrect user name or password”), so that the log does not reveal which logins exist.
- The login of a failed attempt is stored as it was typed. It may be a password typed in the wrong field: only System administration sees it and it expires with the access entries.
- An entry may be duplicated if the server restarts just while recording it. None is lost.
What changes compared with Empowerment Center 7#
In Empowerment Center 7 (EC7) sign-ins went to the syslog and to a rotating file, query logging was turned off and there was no screen to look at any of it. In ECenter 8.0 everything stays in the own database, with search, detail and export, and it also goes out as log lines for a syslog or a SIEM.