# Elasticstack Terraform Provider Kibana Alerting Rule

**URL:** https://discuss.elastic.co/t/elasticstack-terraform-provider-kibana-alerting-rule/344069
**Category:** Elastic Observability
**Created:** [September 28, 2023, 1:20pm UTC](https://discuss.elastic.co/t/elasticstack-terraform-provider-kibana-alerting-rule/344069 "2023-09-28T13:20:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ameindel](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@ameindel](https://discuss.elastic.co/u/ameindel)
#### Post date: [September 28, 2023, 1:20pm UTC](https://discuss.elastic.co/t/elasticstack-terraform-provider-kibana-alerting-rule/344069/1 "2023-09-28T13:20:21Z")

</div>

Hello, Elastic!

I'm using your [elasticstack](https://registry.terraform.io/providers/elastic/elasticstack/latest/docs/resources/kibana_alerting_rule) Terraform provider to try to create an alert rule of type 'Uptime monitor status' and am having difficulty doing so. I am able to create an 'Elasticsearch query' type rule fine but utilizing the existing documentation to try to construct an Uptime monitor is proving to be difficult since each rule type requires a different set of parameters and there is no corresponding example to go off of.

The 'Uptime monitor status' rule that I'm trying to create would need to have these settings (screen cap is from a manually created rule that is currently in use):

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/2/b25e1099c89ceb3a2fbc640334c57f720011b9c2.png)

Any assistance with this would be greatly appreciated.

Thank you in advance!

Adam

---

<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: [October 26, 2023, 1:20pm UTC](https://discuss.elastic.co/t/elasticstack-terraform-provider-kibana-alerting-rule/344069/2 "2023-10-26T13:20:44Z")

</div>

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