# Template & Data Setup

**Template & Data Setup** is the configuration hub of **MN Logz Analytics**.\
In this section, users decide which dashboards to enable, how frequently data should be aggregated, and how long it should be retained.\
This process builds a customized data pipeline for each customer — hosted on an isolated database, secured under a private domain, and visualized via a dedicated Grafana instance.

{% hint style="info" %}
All configurations created here directly affect database size, cost, and dashboard performance — choose parameters that fit your traffic volume.
{% endhint %}

### **What is a Template**

A **Template** is a predefined set of dashboards designed for specific analytics use cases.\
Templates simplify the onboarding process by grouping related dashboards and default configurations for retention and granularity.

<table><thead><tr><th width="222">Template Type</th><th width="303">Description</th><th>Included Dashboards</th></tr></thead><tbody><tr><td><strong>Basic Analytics</strong></td><td>General traffic and performance overview.</td><td>Overview, Performance</td></tr><tr><td><strong>Request-Based Analytics</strong></td><td>HTTP, Cache, and request-level insights.</td><td>HTTP, Cache, Access Logs</td></tr><tr><td><strong>Full Analytics Suite</strong></td><td>Comprehensive dashboard package.</td><td>All dashboards</td></tr><tr><td><strong>Custom</strong></td><td>User-defined dashboards, retention, and granularity.</td><td>User-selected</td></tr></tbody></table>

{% hint style="info" %}
If unsure, start with **Basic Analytics** — it provides the essential dashboards and can be expanded later.
{% endhint %}

<figure><img src="https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2FSEWy9XKZ5CmJjsCy3C3d%2Fimage%20(6).png?alt=media&#x26;token=9d123ee5-9067-44c1-942b-6cbed19a645e" alt=""><figcaption><p>Request-Based Analytics</p></figcaption></figure>

### **Configuration Process**

Each template defines three key parameters that determine how your analytics system operates.

{% hint style="info" %}
The dark theme is already available in the current MN Logz Analytics interface.
{% endhint %}

#### **1. Dashboards**

Choose which dashboards you want to include in your analytics suite: [Overview](https://clients.medianova.com/products/mn-logz/mn-logz-analytics/dashboard-library/overview-dashboard), [Performance](https://clients.medianova.com/products/mn-logz/mn-logz-analytics/dashboard-library/performance-analytics), [HTTP](https://clients.medianova.com/products/mn-logz/mn-logz-analytics/dashboard-library/http-analytics), [Cache](https://clients.medianova.com/products/mn-logz/mn-logz-analytics/dashboard-library/cache-analytics), or [CDN Access Logs](https://clients.medianova.com/products/mn-logz/mn-logz-analytics/dashboard-library/cdn-access-logs).

{% hint style="info" %}
Disabling unnecessary dashboards reduces storage consumption and improves query performance.
{% endhint %}

#### **2. Time Granularity**

Decide how frequently data should be aggregated — for example, per minute, hour, or day.\
Shorter intervals provide more precision but increase dataset size.

<figure><img src="https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2FKr3AAXEtQpG1RbYWGdh7%2Fimage%20(21).png?alt=media&#x26;token=4caade73-c8bd-459c-bd3b-4f07bc0200bf" alt=""><figcaption><p>Retention &#x26; Time Granularity</p></figcaption></figure>

{% hint style="info" %}
Use **hourly granularity** for high-traffic sites and **daily** for moderate traffic to balance performance and cost.
{% endhint %}

#### **3. Data Retention**

Specify how long data should remain accessible — from 7 days up to 12 months, depending on your plan.

{% hint style="info" %}
Longer retention increases storage cost and may impact query speed on large datasets.
{% endhint %}

Go to [**Instance Deployment**](https://clients.medianova.com/products/mn-logz/mn-logz-analytics/instance-deployment) to launch your MN Logz Analytics instance using this configuration.

<figure><img src="https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2FIvi5hAl3qMk2KawKZhEw%2Fimage%20(8).png?alt=media&#x26;token=6f0af861-34e4-450c-9b05-fccf5191eb13" alt=""><figcaption><p>Retention &#x26; Time Granularity</p></figcaption></figure>

### **Why This Page Exists**

Every organization has unique traffic behavior, performance goals, and data lifecycle needs.\
This page allows users to define:

* Which dashboards they want to enable.
* The data granularity (detail level).
* The retention period (historical depth).
* Whether to include **Raw / Unprocessed Logs** for deep analysis.

Once confirmed, MN Logz Analytics automatically provisions:

* A **dedicated database**,
* A **private domain**, and
* A **standalone Grafana instance** for that user.

{% hint style="info" %}
This automated process ensures high performance, data isolation, and security for every customer environment.
{% endhint %}

### **FAQ**

**Can I change my template after setup?**\
Yes. You can update or switch templates anytime from the Medianova Control Panel — changes are applied during the next data sync cycle.

**How does retention affect cost?**\
Higher retention means more storage and higher cost.\
The Medianova Control Panel displays estimated cost changes when modifying retention settings.

**What happens if I enable all dashboards?**\
Your instance will automatically scale its database capacity, ensuring performance remains stable across larger datasets.
