# Kibana alerts and actions setup

**URL:** https://discuss.elastic.co/t/kibana-alerts-and-actions-setup/305758
**Category:** Kibana
**Created:** [May 26, 2022, 11:45pm UTC](https://discuss.elastic.co/t/kibana-alerts-and-actions-setup/305758 "2022-05-26T23:45:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kyle\_che](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kyle\_che](https://discuss.elastic.co/u/kyle_che)
#### Post date: [May 26, 2022, 11:45pm UTC](https://discuss.elastic.co/t/kibana-alerts-and-actions-setup/305758/1 "2022-05-26T23:45:09Z")

</div>

i am trying to get alerting and actions working but it seems to be disabled. Kibana points me to [Alerting and Actions | Kibana Guide [7.10] | Elastic](https://www.elastic.co/guide/en/kibana/7.10/alerting-getting-started.html#alerting-setup-prerequisites)

I have security setup already in Elasticsearch for authentication.  
xpack.security.enabled: true  
xpack.security.transport.ssl.enabled: true  
xpack.security.transport.ssl.verification\_mode: certificate  
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12  
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12

I then ran the following for kibana to create a certificate. I also tried with the actual hostname and ip address but that didn't help either.

bin/Elasticsearch-certutil cert -name kibana-server -dns localhost,127.0.0.1

it created a file in /usr/share/Elasticsearch/kibana-server.p12. I then copied it to the kibana directory in /etc/kibana and then set the following configs in kibana.yml. I tried to start up kibana but no luck, just keeps failing.

server.port: 5601  
server.host: "######"  
server.name: "######"  
Elasticsearch.hosts: ["https://######:9200"]  
Elasticsearch.username: "kibana\_system"  
Elasticsearch.password: "\*\*\*\*\*"  
logging.dest: /var/log/kibana/kibana.log  
xpack.monitoring.enabled: true  
xpack.monitoring.kibana.collection.enabled: true  
server.ssl.enabled: true  
server.ssl.keystore.path: "kibana-server.p12"  
server.ssl.keystore.password: ""

Not sure what I'm missing to get this working so that i can use the Alerting and Actions part of management in the Kibana UI. any help is appreciated.

---

<div class="post-metadata">

### Author: ![kyle\_che](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kyle\_che](https://discuss.elastic.co/u/kyle_che)
#### Post date: [May 31, 2022, 3:31pm UTC](https://discuss.elastic.co/t/kibana-alerts-and-actions-setup/305758/2 "2022-05-31T15:31:41Z")

</div>

any help would be much appreciated.

---

<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: [June 28, 2022, 3:31pm UTC](https://discuss.elastic.co/t/kibana-alerts-and-actions-setup/305758/3 "2022-06-28T15:31:42Z")

</div>

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