# Reporting

Reports are conveniently generated through the [Reporting API](/manual/implementation/platform-usage/api-reference/reporting.md) or the UI. You can also schedule automated email delivery or generate them manually. These reports, available in PDF format, mirror the UI with graphs and data.

{% hint style="info" %}
Tags filtering enables a single report to encompass multiple instances
{% endhint %}

## Getting Started

> Various report types correspond to specific Datasentinel features, catering to diverse requirements

You can select the Full Report option to gain a holistic overview of the entire workload.

{% file src="/files/sLaXAUapJixVU1cswKZo" %}
Complete Feature Analysis in Full Report
{% endfile %}

Alternatively, you can choose to focus on a single specific feature

{% file src="/files/wnhKBU0wi3hykvdtJh2f" %}
Session History
{% endfile %}

{% file src="/files/03xN3o1FgQouF1mTDhTn" %}
Top Queries
{% endfile %}

{% file src="/files/asBpC3VyTYx7GFypqZWw" %}
Top Tables
{% endfile %}

{% file src="/files/bugTLY16VGAz1OJGS6OL" %}
PostgreSQL Cluster Metrics
{% endfile %}

{% file src="/files/EqrYSYgbxBVHHKynMnaf" %}
System Metrics
{% endfile %}

{% file src="/files/QjnkFfIw6FsygiDEPpIg" %}
Data Size
{% endfile %}

{% file src="/files/K0cdxbdaGNhS7NXq4mkZ" %}
Comprehensive Query Analysis Report
{% endfile %}

It's worth highlighting that during report creation, your existing filters and selected time window remain intact, unless it's a scheduled report. \
This applies similarly to your chosen dimension parameters when applicable.

Reports are accessible through this icon on the top right on most of screens

<div align="left"><figure><img src="/files/1SrEtZZiaDKYFbsq8cIm" alt=""><figcaption></figcaption></figure></div>

You can also go directly to the reporting feature by clicking on the icon

<div align="left"><figure><img src="/files/ArypHVWoxqV18TGwePnU" alt=""><figcaption><p>Reporting Icon</p></figcaption></figure></div>

* The report type might be non-modifiable based on the originating screen. For instance, when accessing the session history dashboard, you're restricted to selecting only the session history report type.
* The report can be restricted to a specific database, with the default option being **All databases.**

<figure><img src="/files/69fFahLK47a4bvxbvis3" alt=""><figcaption><p>Report Creation</p></figcaption></figure>

## Creating Reporting Choices

### Download Report

Opting to download the report results in its direct generation and download to your PC.

### Email Report

Prior to email report delivery, configuring an [SMTP server](/manual/implementation/platform-usage/configuration/smtp.md) is necessary.

{% hint style="info" %}
You have the ability to customize the email subject and send the report to multiple recipients.
{% endhint %}

<figure><img src="/files/Sgm3bGLNZkIBJJFm6PWT" alt=""><figcaption><p>Email Reporting Options</p></figcaption></figure>

### Scheduled Email

> If you wish to schedule a report and have it sent via email at consistent intervals, you can opt for this mode.

* Choose the day and the hour you want the report to be executed
* The frequency can be daily or weekly
* The activity time range corresponds to the time window chosen when the report starts

<figure><img src="/files/UlJCSCtguvSHXVEpR7Tm" alt=""><figcaption><p>Scheduler Options</p></figcaption></figure>

{% hint style="info" %}
The report starts always 3 minutes after the time chosen to ensure you get the latest representative metrics
{% endhint %}

### Scheduled Email Management

> You can manage scheduled reports directly from the UI in the reporting section.

* Change report properties
* Delete a report
* View of the execution history by clicking on the desired report

{% hint style="info" %}
An administrator-level user has the capability to oversee all reports, whereas a user with privileges lower than administrator can solely manage their own reports.
{% endhint %}

<figure><img src="/files/HJrRGN1SpdJppBxg9Ldd" alt=""><figcaption><p>Scheduled Reports</p></figcaption></figure>

## Execution History

> You can access the execution history of all your reports, including information about their duration and current status.

<figure><img src="/files/vysoDBzDy3QXJryel1R3" alt=""><figcaption><p>Execution History</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.datasentinel.io/manual/features/key-features/reporting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
