# Order logs

> **You need:** the `hub_operator`, `hub_manager`, `dispatcher_manager` or `report_viewer` role (permission `metrics:read`). Downloading the logs also needs `metrics:export`, which among the predefined roles only `admin` has.

On this screen you see what was done to each order of a day, action by action: assignments, unassignments, time changes, incidents, cancellations and the carriers' updates. It is for explaining an order that went wrong; to act on one in progress, use [Hub orders](/books/console-yF7/page/hub-orders).

**How to get here:** **Metrics** module → **Order Logs**.

![Order logs, with their numbered zones](https://pav-bookstack-docs-uploads.s3.eu-west-par.io.cloud.ovh.net/uploads/images/gallery/2026-12/jdHDsU75gLTRzypZ-console-metricas-logs-en.png)

## What you see

1. **Filters**: **Date** (the business day; when you open the screen, today's), **Ticket Number**, **Performed by** (whoever did the action), **Branch** and **Source**. **Clear** removes them, and the download button, to the right of the **Filters** title, downloads the logs.
2. **One card per order with activity**: the ticket number, the brand, the store, the source and the last recorded action; on the right, the time of that action and how many actions the order has.
3. **The paginator**: 25, 50, 100 or 200 cards per page. When you open the screen you see 100.

You only see the orders of the stores, brands and sources in your scope.

## What you can do

### Find an order

1. In **Date**, choose the order's day.
2. Type the **Ticket Number**, or choose the **Branch** and the **Source**.

To see what a person did, type their identifier in **Performed by**; to see what the dispatcher did, type `WEB`.

### See an order's timeline

1. Click the order's card. **Actions Timeline** opens, with the actions in order.
2. Each action shows its type, its time and **Performed by**: the identifier of the person or driver who did it, or `WEB`. `WEB` is the dispatcher: it is the name the automatic assignment is recorded under, so no person did that action. Below, the data of that action:

| Action | What happened | What data it shows |
|---|---|---|
| **ASSIGN** | A driver or a carrier was assigned | **Assigned to driver**, **Driver Type**, **Provider**, **External ID** |
| **UNASSIGN** | The driver was removed | **Unassigned driver**, **Reason** |
| **UPDATE_PROMISED_TIME** | The promised time was changed | **Promised time updated** |
| **UPDATE_INCIDENT** | An incident was reported | **Incident code**, **Comment** |
| **CLUBBING_ADD**, **CLUBBING_REMOVE** | The order joined or left a group | **Clubbing ID**, **Grouped orders** |
| **CANCEL** | The order was cancelled | **Cancellation reason** |
| **FORCE_DELIVER** | The delivery was forced | **Driver**, **Type**, **Theoretical mileage** |
| **WEBHOOK_RECEIVED** | The carrier reported a status change | The status, **Provider Information** and **Driver Information**, with the estimated pickup and delivery times |
| **ARRIVED_AT_BRANCH** | The driver reached the store | **Driver at branch**, **Type** |
| **ORDER_PICKED**, **LEFT_ORIGIN_AREA**, **LEFT_DESTINATION_AREA**, **ARRIVED_AT_DESTINATION**, **ORDER_DELIVERED** | The delivery steps: pickup, leaving the store's area, leaving the customer's area, arriving at the customer and delivery | The time of each step |

3. **Technical details** and **Order context** expand the action's full data. They are useful if you are going to pass the case to support.
4. Click the card again to collapse it.

![An order's timeline, with its actions](https://pav-bookstack-docs-uploads.s3.eu-west-par.io.cloud.ovh.net/uploads/images/gallery/2026-12/mhyJoLmU9K3EPYVN-console-metricas-logs-timeline-en.png)

To find where the time was lost, read the whole timeline and look for the longest gap between two actions, not the last action. If the gap is in the assignment, [Reporting a dispatcher issue](/books/console-yF7/page/reporting-a-dispatcher-issue) explains what data to give support.

### Download the logs

> **You need:** the `admin` role (permission `metrics:export`).

1. Set the filters you need: the download only includes what your scope lets you see.
2. Click the download button, to the right of **Filters**.
3. Choose **Download all** or **Download with applied filters**. The second can only be chosen if a filter is set.
4. A file `order-logs-<date>.json` is downloaded.

| Message | What it means | What to do |
|---|---|---|
| "Error exporting logs" | You do not have the `metrics:export` permission, or the download failed | If you are not `admin`, ask someone who is for the data |

> A downloaded file is no longer protected by your scope: whoever receives it sees everything in it. Download only what you need and delete it when you are done.

## What you cannot do here

- **Change anything on an order**: assigning, changing the time or cancelling is done in [Hub orders](/books/console-yF7/page/hub-orders).
- **See figures for a period** (how many orders, how much was sold): that is in Reports (see [Reports and Metrics: which to use](/books/console-yF7/page/reports-and-metrics-which-to-use)).

## Related pages

- [Metrics](/books/console-yF7/page/metrics): the module, its screens and who can use them.
- [Archived alarms](/books/console-yF7/page/archived-alarms): the history of order alarms.
- [Hub orders](/books/console-yF7/page/hub-orders): the same orders, while they are in progress.