# Datasets

The list below the [Data graph](/platform-manual/rules/rule-configurator/data-graph.md) represents the datasets that are configured for the rule. Each dataset has a color assigned so that it is clear which line in the Data graph belongs to which dataset.

<figure><img src="/files/8e89Kc5lxtxhKNEsiK1t" alt=""><figcaption></figcaption></figure>

## Actions

* Delete a dataset by clicking on the "x"-cross icon on the right side of a dataset.
* Change a dataset by clicking on the dataset name, which opens the [dataset configuration form.](#dataset-configuration-form)
* Create a dataset by clicking on "Add Dataset", which opens the [dataset configuration form](#dataset-configuration-form).

## Dataset Configuration Form

A dataset defines a set of data points which can be included in the rule's *condition* and the *notification message*.&#x20;

<figure><img src="/files/gEDAm3dVRhRvOqB1FZPo" alt="" width="386"><figcaption></figcaption></figure>

A dataset consists of the following properties:

### Name

The name of the dataset. It is recommended to use a self-explaining name. This name can be used as variable in rule condition and rule message.

### Description

This field may be used to describe the dataset in more detail.  This field is optional

### Type

This field defines whether we are interested only in a single value, or a whole time series:

* *Single Value*: only the last matching event is relevant
* *Time Series*: all matching events of specified timeframe are relevant&#x20;

### *Event Types*&#x20;

This field defines which event type(s) shall be matched.

### *Source Types*

This field defines which source(s) shall be matched. This field is optional

### *Validity Time Frame*&#x20;

This field is only visible if type *Time Series* is selected, and it defines the size of the timeframe for the time series.


---

# 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://doc.moost.io/platform-manual/rules/rule-configurator/datasets.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.
