diff --git a/crowdsec-docs/docs/local_api/notification_plugins/elasticsearch.md b/crowdsec-docs/docs/local_api/notification_plugins/elasticsearch.mdx
similarity index 98%
rename from crowdsec-docs/docs/local_api/notification_plugins/elasticsearch.md
rename to crowdsec-docs/docs/local_api/notification_plugins/elasticsearch.mdx
index a0b691ed6..b4267bfee 100644
--- a/crowdsec-docs/docs/local_api/notification_plugins/elasticsearch.md
+++ b/crowdsec-docs/docs/local_api/notification_plugins/elasticsearch.mdx
@@ -3,6 +3,8 @@ id: elastic
title: Elasticsearch
---
+import TryTemplateButton from "@site/src/components/TryTemplateButton";
+
CrowdSec can forward Alerts to Elasticsearch using the HTTP plugin. This guide will show you how to configure the plugin to send alerts to your Elasticsearch instance.
## Configuring the plugin
@@ -38,6 +40,14 @@ headers:
Content-Type: "application/json"
```
+
+
### Authentication
diff --git a/crowdsec-docs/docs/local_api/notification_plugins/email.md b/crowdsec-docs/docs/local_api/notification_plugins/email.mdx
similarity index 90%
rename from crowdsec-docs/docs/local_api/notification_plugins/email.md
rename to crowdsec-docs/docs/local_api/notification_plugins/email.mdx
index 2ff9cc0f1..9a07d0ae4 100644
--- a/crowdsec-docs/docs/local_api/notification_plugins/email.md
+++ b/crowdsec-docs/docs/local_api/notification_plugins/email.mdx
@@ -3,6 +3,8 @@ id: email
title: Email Plugin
---
+import TryTemplateButton from '@site/src/components/TryTemplateButton';
+
The Email plugin is shipped by default with CrowdSec. The following guide shows how to configure, test and enable it.
## Configuring the plugin
@@ -74,6 +76,17 @@ encryption_type: "ssltls"
# ...
```
+
+{{range . -}}
+ {{$alert := . -}}
+ {{range .Decisions -}}
+
{{.Value}} will get {{.Type}} for next {{.Duration}} for triggering {{.Scenario}} on machine {{$alert.MachineID}}.