# Any alert integration can be setup?

**URL:** <https://discuss.elastic.co/t/any-alert-integration-can-be-setup/175671>\
**Category:** Synthetics\
**Tags:** elastic-stack-alerting\
**Created:** [April 6, 2019, 9:56am UTC](https://discuss.elastic.co/t/any-alert-integration-can-be-setup/175671 "2019-04-06T09:56:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vincent\_Ngai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vincent_ngai/32/43594_2.png) [@Vincent\_Ngai](https://discuss.elastic.co/u/Vincent_Ngai)\
**Post date:** [April 6, 2019, 9:56am UTC](https://discuss.elastic.co/t/any-alert-integration-can-be-setup/175671/1 "2019-04-06T09:56:58Z")

</div>

Great. Neat combine all we need ....Infra for K8S(metrics), Logging(filebeat) , ElasticAPM(apm-server) and now Uptime (heatbeat)

But do there have Alert can be setup for Uptime ?(hook to email, slack or other com tools)

I do setup it and it is fine to send them to elasticsearch ,

However i dont find a way make it more useful for alert me if there have "Down"

Or it only for review purpose ?

---

<div class="post-metadata">

**Author:** ![BKG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bkg/32/43591_2.png) [@BKG](https://discuss.elastic.co/u/BKG)\
**Post date:** [April 6, 2019, 11:59am UTC](https://discuss.elastic.co/t/any-alert-integration-can-be-setup/175671/2 "2019-04-06T11:59:08Z")

</div>

Not sure if I'm understanding you correctly but yes you can use Watcher to send alerts to email and slack:

[https://www.elastic.co/guide/en/x-pack/current/actions-email.html](https://www.elastic.co/guide/en/x-pack/current/actions-email.html)

---

<div class="post-metadata">

**Author:** ![frankfoti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frankfoti/32/26965_2.png) [@frankfoti](https://discuss.elastic.co/u/frankfoti)\
**Post date:** [April 8, 2019, 2:56pm UTC](https://discuss.elastic.co/t/any-alert-integration-can-be-setup/175671/3 "2019-04-08T14:56:35Z")

</div>

We are new to using Elastic Cloud 6.7 and want to send alerts when heartbeat indicates a down service.

{  
"trigger": {  
"schedule": {  
"interval": "30m"  
}  
},  
"input": {  
"search": {  
"request": {  
"body": {  
"size": 0,  
"query": {  
"match\_all": {}  
}  
},  
"indices": [  
"\*"  
]  
}  
}  
},  
"condition": {  
"compare": {  
"ctx.payload.hits.total": {  
"gte": 10  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![frankfoti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frankfoti/32/26965_2.png) [@frankfoti](https://discuss.elastic.co/u/frankfoti)\
**Post date:** [April 8, 2019, 3:59pm UTC](https://discuss.elastic.co/t/any-alert-integration-can-be-setup/175671/4 "2019-04-08T15:59:25Z")

</div>

I have this firing now on 2 resolve.host. How do I get the resolve.host names in the email....

{  
"trigger": {  
"schedule": {  
"interval": "30s"  
}  
},  
"input": {  
"search": {  
"request": {  
"search\_type": "query\_then\_fetch",  
"indices": [  
"heartbeat\*"  
],  
"types": ,  
"body": {  
"query": {  
"bool": {  
"must": [  
{  
"range": {  
"@timestamp": {  
"gte": "now-1m",  
"lt": "now"  
}  
}  
},  
{  
"term": {  
"monitor.status": {  
"value": "up"  
}  
}  
}  
]  
}  
},  
"aggregations": {  
"host": {  
"significant\_terms": {  
"field": "resolve.host"  
}  
}  
},  
"size": 0  
}  
}  
}  
},  
"condition": {  
"compare": {  
"ctx.payload.hits.total": {  
"gte": 10  
}  
}  
},  
"actions": {  
"send\_email": {  
"email": {  
"profile": "standard",  
"to": [  
"[frankfoti@adaptiveresults.com](mailto:frankfoti@adaptiveresults.com)"  
],  
"subject": "Watcher Notification",  
"body": {  
"text": "{{ctx.payload.hits.total}} error logs found"  
}  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![jkambic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkambic/32/53306_2.png) [@jkambic](https://discuss.elastic.co/u/jkambic)\
**Post date:** [April 8, 2019, 8:47pm UTC](https://discuss.elastic.co/t/any-alert-integration-can-be-setup/175671/5 "2019-04-08T20:47:04Z")

</div>

Hi @Vincent_Ngai. As @BKG noted, today you can [configure Watcher](https://www.elastic.co/guide/en/elastic-stack-overview/6.7/xpack-alerting.html) to send alerts for custom conditions to external services.

We also have more specialized alerting features on our roadmap, with the goal of making it easier to configure Uptime-specific alerts via our UI with a much lower barrier of entry.

---

<div class="post-metadata">

**Author:** ![BKG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bkg/32/43591_2.png) [@BKG](https://discuss.elastic.co/u/BKG)\
**Post date:** [April 9, 2019, 8:38am UTC](https://discuss.elastic.co/t/any-alert-integration-can-be-setup/175671/6 "2019-04-09T08:38:21Z")

</div>

> [@jkambic](#):
>
> with the goal of making it easier to configure Uptime-specific alerts via our UI with a much lower barrier of entry

Looking forward to that!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 3, 2019, 8:38am UTC](https://discuss.elastic.co/t/any-alert-integration-can-be-setup/175671/7 "2019-05-03T08:38:26Z")

</div>

This topic was automatically closed 24 days after the last reply. New replies are no longer allowed.
