> ## Documentation Index
> Fetch the complete documentation index at: https://mezmo-9a59581a-promptless-aura-wait-for-tool.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OpsGenie Alert Integration

> Create OpsGenie alerts from Mezmo log data by configuring test, presence, and absence alerts with an OpsGenie API integration key.

The OpsGenie alert integration interacts with the [OpsGenie Alert API ](https://docs.opsgenie.com/docs/alert-api)and enables users to create alerts in OpsGenie based off of log data in Mezmo.

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/JaR-zD1KDKAruUU8/images/docs/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png?fit=max&auto=format&n=JaR-zD1KDKAruUU8&q=85&s=bf7ab8b4f1f39e7fbb0842d3cea73ecb" alt="" width="2880" height="1800" data-path="images/docs/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png" />

After clicking on OpsGenie- a window pops up with options for test, presence and absence alerts.

Test alerts allow the user to test with a third party integration, presence alerts send alerts to the third party integration after a criteria is met (i.e. 5 or more matches within 30 seconds) and [absence alerts](https://www.mezmo.com/blog/logdna-absence-alerting) send an alert when there are fewer log lines than anticipated.

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/JaR-zD1KDKAruUU8/images/docs/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png?fit=max&auto=format&n=JaR-zD1KDKAruUU8&q=85&s=bf7ab8b4f1f39e7fbb0842d3cea73ecb" alt="" width="2880" height="1800" data-path="images/docs/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/5Qbg-rB0Lp1D9llN/images/docs/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png?fit=max&auto=format&n=5Qbg-rB0Lp1D9llN&q=85&s=f33b044603c570daa29982bff5e5daac" alt="" width="2880" height="1800" data-path="images/docs/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png" />

To retrieve the API key from OpsGenie- go to Teams >  Integrations > Add Integration > API Integration. Input the API key into the API key section of the Mezmo OpsGenie alert integration (shown above).

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/JaR-zD1KDKAruUU8/images/docs/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png?fit=max&auto=format&n=JaR-zD1KDKAruUU8&q=85&s=bf7ab8b4f1f39e7fbb0842d3cea73ecb" alt="" width="2880" height="1800" data-path="images/docs/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/5Qbg-rB0Lp1D9llN/images/docs/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png?fit=max&auto=format&n=5Qbg-rB0Lp1D9llN&q=85&s=f33b044603c570daa29982bff5e5daac" alt="" width="2880" height="1800" data-path="images/docs/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/JaR-zD1KDKAruUU8/images/docs/5ka6drr4mz22h8lb97xm4e2wy5sp5jdimxnifozco0tx18x02mjnz4f319twrvuz.png?fit=max&auto=format&n=JaR-zD1KDKAruUU8&q=85&s=3ba65cfbb7e4049b77733a3a191fd320" alt="" width="2880" height="1800" data-path="images/docs/5ka6drr4mz22h8lb97xm4e2wy5sp5jdimxnifozco0tx18x02mjnz4f319twrvuz.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/JaR-zD1KDKAruUU8/images/docs/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png?fit=max&auto=format&n=JaR-zD1KDKAruUU8&q=85&s=bf7ab8b4f1f39e7fbb0842d3cea73ecb" alt="" width="2880" height="1800" data-path="images/docs/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/5Qbg-rB0Lp1D9llN/images/docs/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png?fit=max&auto=format&n=5Qbg-rB0Lp1D9llN&q=85&s=f33b044603c570daa29982bff5e5daac" alt="" width="2880" height="1800" data-path="images/docs/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/JaR-zD1KDKAruUU8/images/docs/5ka6drr4mz22h8lb97xm4e2wy5sp5jdimxnifozco0tx18x02mjnz4f319twrvuz.png?fit=max&auto=format&n=JaR-zD1KDKAruUU8&q=85&s=3ba65cfbb7e4049b77733a3a191fd320" alt="" width="2880" height="1800" data-path="images/docs/5ka6drr4mz22h8lb97xm4e2wy5sp5jdimxnifozco0tx18x02mjnz4f319twrvuz.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/5Qbg-rB0Lp1D9llN/images/docs/w98u1af7gegyx3wfg2n1d1y3g5mgnp4yr0rqmiy175asl6s92oug6qwg7k73rk1g.png?fit=max&auto=format&n=5Qbg-rB0Lp1D9llN&q=85&s=7d0eb8b4891a97de3876b6cac612b53a" alt="" width="2880" height="1800" data-path="images/docs/w98u1af7gegyx3wfg2n1d1y3g5mgnp4yr0rqmiy175asl6s92oug6qwg7k73rk1g.png" />

After saving the alert or hitting test from your Mezmo window- the alert will now appear in OpsGenie under Alerts! The first alert is an example Mezmo test alert integrated with OpsGenie.

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/JaR-zD1KDKAruUU8/images/docs/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png?fit=max&auto=format&n=JaR-zD1KDKAruUU8&q=85&s=bf7ab8b4f1f39e7fbb0842d3cea73ecb" alt="" width="2880" height="1800" data-path="images/docs/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/5Qbg-rB0Lp1D9llN/images/docs/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png?fit=max&auto=format&n=5Qbg-rB0Lp1D9llN&q=85&s=f33b044603c570daa29982bff5e5daac" alt="" width="2880" height="1800" data-path="images/docs/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/JaR-zD1KDKAruUU8/images/docs/5ka6drr4mz22h8lb97xm4e2wy5sp5jdimxnifozco0tx18x02mjnz4f319twrvuz.png?fit=max&auto=format&n=JaR-zD1KDKAruUU8&q=85&s=3ba65cfbb7e4049b77733a3a191fd320" alt="" width="2880" height="1800" data-path="images/docs/5ka6drr4mz22h8lb97xm4e2wy5sp5jdimxnifozco0tx18x02mjnz4f319twrvuz.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/5Qbg-rB0Lp1D9llN/images/docs/w98u1af7gegyx3wfg2n1d1y3g5mgnp4yr0rqmiy175asl6s92oug6qwg7k73rk1g.png?fit=max&auto=format&n=5Qbg-rB0Lp1D9llN&q=85&s=7d0eb8b4891a97de3876b6cac612b53a" alt="" width="2880" height="1800" data-path="images/docs/w98u1af7gegyx3wfg2n1d1y3g5mgnp4yr0rqmiy175asl6s92oug6qwg7k73rk1g.png" />

<img src="https://mintcdn.com/mezmo-9a59581a-promptless-aura-wait-for-tool/JaR-zD1KDKAruUU8/images/docs/4g362r9rjb6ukzw9mxraritdpcul1kpl592u0n3n7zkqkmjc7ytgf2npdd7eojpk.png?fit=max&auto=format&n=JaR-zD1KDKAruUU8&q=85&s=0a617ec6755952b132022547b7ec4dec" alt="" width="2880" height="1800" data-path="images/docs/4g362r9rjb6ukzw9mxraritdpcul1kpl592u0n3n7zkqkmjc7ytgf2npdd7eojpk.png" />

**NOTE**: The US OpsGenie endpoint is used by default.  If using the EU OpsGenie endpoint is required please reach out to [support@mezmo.com](mailto:support@mezmo.com).
