# Running a report

The **Reports** section of the [Reports](Reports.md) app lists the ready-made reports, 104 of them, and the ones you saved yourself. This page is about running one, changing what it shows, getting it out as a file, and making a report of your own.

![The report "Who uploaded a file"](Reports-Running/report.png)

## Finding a report

The list on the left is in groups: Files, Security, Accounts, Transfers, Jobs, Shares, Forms, Server, Access, Storage, Overview, Partners. Each report has a line that says what it answers.

- **Filter reports** narrows the list as you type.
- The star makes a report a **Favourite**. Favourites, and the reports you run most, are shown first: "Star a report to keep it here. The reports you run most also show here."
- The search at the top of the app (**⌘K**) finds a report from anywhere.

A click runs the report with its usual values.

## The bar

| Control | What it does |
|---|---|
| the range | the period: **Last hour** … **All time**, or **Custom range** with **From** and to |
| the time zone | in which zone the range and the times are meant |
| the refresh | **No refresh**, **Every 30 s**, **Every minute**, **Every 5 minutes** |
| the report's own fields | each report asks for what it needs. "Who uploaded a file" has **Users**, **File name** and **Folder**; each is **Any** until you fill it in. |

In a field, `*` and `?` stand for any text and any one character. Names are offered while you type, from the record, and only those you may see.

**Run again** runs the report with what is in the bar now.

## Panels

A report is made of panels: a chart, a ranking, a table. "Who uploaded a file" has a ranking **By user** and the table of uploads.

Under each panel: "read 14 rows from the stored events in 0 ms". When a result is too long to show: "showing 5,000 of 81,204: narrow the range or add a filter to see the rest", with **Load more rows**.

A table has **Filter rows...** above it, and its columns sort by a click on their heading.

A click on a value offers:

| Entry | What it does |
|---|---|
| **Only** this value | runs the report again for that value alone |
| **Leave out** this value | runs it without |
| **Open the user page**, **… file page**, **… job page**, **… session page** | everything about that one thing: see [Pages and dashboards](Reports-Pages.md#pages) |
| **Copy the value** | |

A panel's own menu **≡** has **Show as table** / **Show as chart**, **Export CSV**, **Export XLSX**, **Pin to a dashboard** and **Make an alert**.

## Export

**Export**, at the top right, saves the whole report:

| Format | Gives |
|---|---|
| **HTML** | the report as a page, charts included, that opens in any browser |
| **PDF** | the same for printing and mailing |
| **CSV** | the rows, for a spreadsheet or another program |
| **XLSX** | a spreadsheet |
| **JSON** | the rows for a program |

An export holds all rows of the result, not only the ones on the screen. The most rows an export may hold is a server setting, 5,000,000 unless you change it; exports above 5,000 rows need a right of their own. See [Preferences, Reporting](Prefs-Reporting.md#limits).

## The menu of a report

| Entry | What it does |
|---|---|
| **Schedule** | makes a schedule that runs this report by itself: see [Scheduled reports](Reports-Schedules.md) |
| **Copy link** | the address of this report with its values, to send or bookmark |
| **Keep this result and copy its link** | saves the result as it is now. The link then shows these very numbers, also next month. "Made" and the date tell the reader when. |
| **Save as a new report** | keeps the report with the values set now, under a name of yours |
| **Edit** | changes a report you saved |
| **Delete** | "Delete "…"? Schedules and dashboard tiles that use it stop working." |

The difference between the two links matters for evidence: **Copy link** runs the report again whenever it is opened, **Keep this result** freezes what was found.

## A report of your own

The reports that come with the server cannot be changed. **Save as a new report** makes a copy that can:

| Field | Is |
|---|---|
| **Name**, **Category**, **Description** | how it is listed |
| **Shared with the other administrators** | "Off: only you see it." |
| **Start with the values set now** | the report opens with the range and filters you have on the screen |

**Edit** on a saved report opens its parts:

| Part | Holds |
|---|---|
| **Parameters** | the fields the report asks for in its bar: name, type, what it starts with. **Add a parameter**. |
| **Panels** | each with its title, how it is **Drawn as** (table, ranked bars, line, area, donut, heat map, one number), and its query. **Add a panel**; move up and down; remove. A panel can also be plain **Text**. |
| **Show the definition as JSON (advanced)** | the whole report as text. "What the form above writes; changes here are saved instead." |

A panel's query is edited as in [Explore](Reports-Explore.md): which data, which filters, grouped by what, measuring what. The easiest way to a new panel is to build the question in Explore and choose **Save as a report** there.

Sharing a report with others needs the right to save shared reports (Report Manager).

## Some reports worth knowing

| Report | Answers |
|---|---|
| **Audit trail** | every event of chosen users in time order |
| **File history**, **A file end to end** | what happened to one file; and its way through the jobs |
| **Attack summary**, **Password spray**, **Credential stuffing**, **Targeted accounts** | who is trying to get in, and at whom |
| **Encryption in use** | sessions by TLS version, cipher and SSH algorithm, "and who would break if a weak one were switched off" |
| **Admin audit** | every admin change with before and after; refused commands |
| **Settings scorecard** | checks on the running configuration: what was found, what is expected and why |
| **Never downloaded**, **Pickup time** | files nobody fetched, and how long files wait |
| **Missed schedules** | jobs that should have run and did not |
| **Executive summary** | "The one-page report to mail to a manager." |
| **Partner statement** | "One partner's month, made to be mailed to them." |
| **Users and passwords** | every account with its stored password. Full administrators only. |

![The Settings scorecard on a test server](Reports-Running/scorecard.png)

The **Settings scorecard** reads the server's live settings and marks each check as pass, warn or fail, with what it found, what it expects and why. On the test server: 18 checks, 11 passed, 6 warnings, and one failure, a full administrator without a second factor. It is "Evidence for an audit, not a certificate."

## Things to know

- **Reports about now** (Current logins, Job schedules, Folder permissions, the scorecard) read the live server and have no range.
- **Reports that read the disk** (Folder sizes, New files) need a full administrator and can take a while on large trees.
- **A report takes too long**: it is stopped after 120 seconds unless you change the limit; narrow the range or add a filter. Four reports may run at once from screens.
- **Logins by country** needs a key for the lookup service: [Preferences, Reporting](Prefs-Reporting.md#country).
- **Working hours, watched folders, internal networks** used by some security reports are set in [Preferences, Reporting](Prefs-Reporting.md).
