> For the complete documentation index, see [llms.txt](https://docs.ilert.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ilert.com/integrations/inbound-integrations/influxdb.md).

# InfluxDB Integration

The ilert InfluxDB Integration helps you to easily connect ilert with InfluxDB.

[InfluxDB](https://www.influxdata.com) is an open-source time series database designed to handle high write and query loads, ideal for storing and analyzing time-stamped data such as metrics, events, and real-time analytics. It provides features like built-in time-stamping, data retention policies, and support for various data visualization tools, making it a popular choice for monitoring applications, IoT, and performance metrics.

## In ilert: Create an InfluxDB alert source <a href="#create-alarm-source" id="create-alarm-source"></a>

1. Go to **Alerting** → **Alert sources** and click **Create new alert source**.
2. Search for **InfluxDB**, click its tile, and click **Next**.
3. Give your alert source a name, optionally assign teams, and click **Next**.
4. Choose who gets notified: select **Use existing escalation policy** and pick a policy, or **Generate new escalation policy** to start with a basic one that notifies you first. Click **Next**.

   <figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-8a281bf3931f5a1a531951ce97984d50989dd875%2Falert-source-escalation-step.png?alt=media" alt="The escalation step of the ilert alert source wizard, headed Who should be notified about alerts, with an escalation policy selected and a preview of its escalation rules below."><figcaption><p>Pick an existing escalation policy, or generate a basic one without leaving the wizard.</p></figcaption></figure>
5. Select **Default grouping** and click **Continue setup**. It groups events by the alert key the integration sets; the other [grouping options](/alerting/configure-alerting/alert-sources.md#event-grouping) are easier to judge once events are arriving.
6. The next page shows more settings, such as notification priority and alert templates. Click **Finish setup** for now; you can change them later.
7. On the final page, ilert shows the integration key and URL for this alert source. You will need them later in this guide.

## In InfluxDB: Add ilert Webhook as Notification Endpoint

1. On the sidebar, click **Alerts**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FntWIItFIFt78CWsrlRcN%2F1.png?alt=media&amp;token=6fe2eb45-36ab-4fc3-8ff8-e649f5bd3937" alt="" width="563"><figcaption></figcaption></figure>

2. Click **Notification Endpoints -> Create**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FcMLw9RPM0h2M3itiFpOw%2F2.png?alt=media&amp;token=77700bb4-2613-442d-a416-1b099ec5527d" alt="" width="563"><figcaption></figcaption></figure>

3. Set HTTP as Destination and enter a Name.
4. Under **HTTP Options**, set **HTTP Method** to POST and enter the previously generated in ilert alert source URL into the **URL**.
5. Click **Create Notification Endpoint** to save.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fxhlh2rG7YGaeLnuPEsWc%2F3-2.png?alt=media&amp;token=f870d44c-5388-43c4-b1e3-c6c9554f658c" alt="" width="563"><figcaption></figcaption></figure>

6. Navigate to **Checks -> Create** (this documentation uses threshold checks).

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FVodEeEXK1sVwut5vLqOj%2F4-1.png?alt=media&amp;token=9ec64330-daa3-4000-b41d-01670d1800f7" alt="" width="563"><figcaption></figcaption></figure>

7. Set a **Name** for your check.
8. Now select a metric you want to create a check for.
9. Click on **2. Configure Check** to set up the threshold.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FVfb4nmgl6pgzjR0upD4J%2F5.png?alt=media&amp;token=12e8376f-baee-48c6-b221-78ffdd4833bb" alt="" width="563"><figcaption></figcaption></figure>

10. Set up some thresholds.

{% hint style="info" %}
We recommend that you create a threshold for setting the check status to '**OK'** as it is necessary to resolve corresponding alerts in ilert.
{% endhint %}

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FUPKBUHft7tqhcbBm2lzr%2F6.png?alt=media&amp;token=177e6a6e-8c34-41f1-8efe-53b8eb83037c" alt="" width="563"><figcaption></figcaption></figure>

11. Click on the blue tick in the top right corner to save the check.
12. Now navigate to **Notification Rules -> Create**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FEzhNe7LucyIVrKIjTAM0%2F4.png?alt=media&amp;token=2449d66e-00ae-4c3d-ba3e-d8e5aed2e282" alt="" width="563"><figcaption></figcaption></figure>

13. Add the following Notification Rules:

{% tabs %}
{% tab title="CRIT" %}

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FL9JvQLEXHujZv5eQAcXr%2F7.png?alt=media&amp;token=a55131bf-9baa-49d1-b424-b50b1257e822" alt="" width="563"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="WARN" %}

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F5EjcdxNNyahQ8q9x8o54%2F8.png?alt=media&amp;token=62f3254f-5505-478f-9325-1b4396559685" alt="" width="563"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="OK" %}

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F6ZmRu0pVocQDqUqvLTcA%2F9.png?alt=media&amp;token=7dc93c68-37c9-4365-850f-5383f0166ac6" alt="" width="563"><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

14. Save the Notification Rule(s).

## FAQ <a href="#faq" id="faq"></a>

**Will alerts in ilert be resolved automatically?**

Yes, if you created a threshold and a notification rule for the 'OK' status, corresponding alerts will be resolved automatically.


---

# 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.ilert.com/integrations/inbound-integrations/influxdb.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.
