> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omnilinker.pl/llms.txt
> Use this file to discover all available pages before exploring further.

# Monitoring: audit, security and data changes

> See who changed what in your organization, who signed in, and how a product's data changed.

**Administration** > **Monitoring** has three pages for your organization:

| Page | Answers |
| - | - |
| **Audit logs** | Which requests changed something: who sent them, when, how long they took, whether they failed and what they changed. |
| **Security logs** | Who signed in, who failed to, who was locked out or signed out, and whose account details changed. |
| **Data changes** | What each recorded create, update and delete did to a record, field by field. |

Each page needs its own permission in the **Monitoring** group of the role editor; see
[Permissions](https://docs.omnilinker.pl/administration/permissions.md#monitoring). The logs show who did what and from where, so give them to the
people who look after your organization's security.

## What is recorded

* **Audit logs** record every request that changes something. Opening and reading pages (GET requests) is not
  recorded. A new request appears within a minute.
* **Security logs** record sign-ins, failed sign-ins, lockouts, sign-ins that were not allowed or needed a second step,
  sign-outs, and changes to a password, user name, e-mail, phone number or two-step sign-in.
* **Data changes** cover products and product prices today. **Data changes** says what it records ("Recorded today: …");
  changes to other data are not recorded.
* **Secrets stay hidden.** Values that could be passwords, keys, tokens or secrets are hidden wherever these pages show
  what was sent, including a secret written inside a longer text.

You see your own organization's entries only.

## Time ranges and time zone

Choose **24 hours**, **7 days**, **30 days** or **90 days** at the top of a page. The lists group entries by day and show
times in your organization's time zone; the line above the list says which, for example "Times in Europe/Warsaw
(UTC+01:00)". A link that asks for more than 92 days, or a range that ends before it starts, shows "This time range
cannot be shown" with **Show the last 7 days**.

## Audit logs

The **Overview** at the top sums up the range: how many requests, the error rate, the average duration, the active
users and the data changes the requests wrote, with a traffic chart, the status codes, the methods, and the
**Busiest endpoints** and **Slowest endpoints**. Click a figure, a bar or an endpoint to list just those requests. The
overview can be up to a minute behind the list. Requests recorded before Omnilinker kept the endpoint of each request
are counted as "Requests recorded before endpoints were kept".

Below it, **Requests** lists each request with its time, status, method, URL, user, actions, changes and duration.
Search with **URL contains…**, choose **Outcome**, or open **Filter requests** to filter by user, method, status code or
duration. Click a request to see who sent it and from where, what went wrong if it failed, what ran (**What ran**, with
each action's **Parameters**) and the data it changed. Next to the request's **Correlation id**, **Find related** lists
the requests with the same id, and **Find in security logs** the security events with it.

## Security logs

**Security events** lists each event with its time, action, user, how they signed in, the client, the IP address and the
browser. Search with **User name, IP or client…**, choose a **Kind of event**, or open **Filter security events** for one
exact action, a user, a client or an IP address.

## Data changes

Each row is one change of one record: **Created**, **Updated** or **Deleted**, the record, the fields that changed, the
user and the request. Search by **Record id…**, or filter by **Record type** and **Kind of change**. Click a change to see
each field before and after, **Open the request** that made it, or see the **Full history of this record**. A product's
own **History** tab shows the same changes for one product; see [Products](https://docs.omnilinker.pl/catalog/products.md).

## Export

**Export CSV** downloads what the list shows, with its filters, in the range you chose. One file holds at most 50,000
rows: a larger export is refused with "This export has more rows than one file can hold. Choose a shorter range or more
filters." Each export needs its own permission (**Export audit logs**, **Export security logs**, **Export data
changes**).

## How long entries are kept

Omnilinker sets how long audit and security logs are kept, for every organization. Until it is set, nothing is deleted.
A request that recorded data changes is kept as long as its changes are. When an entry is no longer there, its page
says it "may have been deleted by log retention".

## Next steps

> [card] [Permissions reference](https://docs.omnilinker.pl/administration/permissions.md#monitoring)
>
> Who may see each page and export it.

> [card] [Users and roles](https://docs.omnilinker.pl/administration/users-and-roles.md)
>
> Give the Monitoring permissions to a role.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.