> For the complete documentation index, see [llms.txt](https://docs.fogwing.io/fogwing-analytics-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fogwing.io/fogwing-analytics-studio/manage-data-rules/untitled.md).

# Add Data Rules

## Set Threshold, Stay Alert!

Fogwing IoT Analytics Studio facilitates setting of Data Rules that helps in the execution of alerts from time to time. The Data Rules feature of Fogwing IoT Analytics Studio applies a threshold limit for Data Analytics critical updates to users via email. This enables users to stay informed about the important attributes without creating chaos.&#x20;

{% hint style="info" %}
For an overview of Fogwing IoT Analytics Studio, visit <https://www.fogwing.io/iot-data-analytics/>
{% endhint %}

To Add Data Rules:

1. As with the first step, Login to your Fogwing IoT Analytics Studio account.
2. Once you Login, you will land on the dashboard.
3. The menu bar is located toward the left side of your screen. Click the 'Data Rules' icon from the 'Menu Bar', you will be directed to the Data Rules page.
4. Click the 'Add Data Rule' button from the top right corner of the 'Add Data Rule' page.
5. Fill in the required details and select the 'Submit' button on the bottom right corner of the 'Add Data Rule' page.
6. After clicking the 'Submit' button, you will be directed to the 'Add Data Rule List View' page.&#x20;

> The added Data Rule can be found on the 'Data Rule List View' page.

![View of add data rules to trigger alerts when it is abnormal.](/files/-MTULruUs0qkzUXOkjon)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.fogwing.io/fogwing-analytics-studio/manage-data-rules/untitled.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
