# FATAL Error: "elastalert-kibana-plugin.serverHost" and "elastalert-kibana-plugin.serverPort" settings were not applied

**URL:** <https://discuss.elastic.co/t/fatal-error-elastalert-kibana-plugin-serverhost-and-elastalert-kibana-plugin-serverport-settings-were-not-applied/315242>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [September 27, 2022, 9:03am UTC](https://discuss.elastic.co/t/fatal-error-elastalert-kibana-plugin-serverhost-and-elastalert-kibana-plugin-serverport-settings-were-not-applied/315242 "2022-09-27T09:03:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MdRashid](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@MdRashid](https://discuss.elastic.co/u/MdRashid)\
**Post date:** [September 27, 2022, 9:03am UTC](https://discuss.elastic.co/t/fatal-error-elastalert-kibana-plugin-serverhost-and-elastalert-kibana-plugin-serverport-settings-were-not-applied/315242/1 "2022-09-27T09:03:06Z")

</div>

Issue or Error i got

```auto
#docker logs elk_kibana.1.nobzh4lt68m3wgacvuh3vfijs 
{"type":"log","@timestamp":"2022-09-27T08:46:23Z","tags":["fatal","root"],"pid":1,"message":"{ Error: \"elastalert-kibana-plugin.serverHost\" and \"elastalert-kibana-plugin.serverPort\" settings were not applied. Check for spelling errors and ensure that expected plugins are installed.\n at KbnServer.exports.default (/usr/share/kibana/src/legacy/server/config/complete.js:88:17) code: 'InvalidConfig', processExitCode: 64 }"}

 FATAL Error: "elastalert-kibana-plugin.serverHost" and "elastalert-kibana-plugin.serverPort" settings were not applied. Check for spelling errors and ensure that expected plugins are installed.

```

Here is my docker-stack.yml file

```auto
version: '3.3'

volumes:
elasticsearch:
logstash:
kibana:

services:

nginx:
image: nginx:latest
volumes:
- ./default.conf:/etc/nginx/conf.d/default.conf

elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.0.1
ports:
# - "9200:9200"
- "9300:9300"
configs:
- source: elastic_config
target: /usr/share/elasticsearch/config/elasticsearch.yml
environment:
# ES_JAVA_OPTS: "-Xmx256m -Xms256m"
ES_JAVA_OPTS: "-Xms4g -Xmx4g"

volumes:
- elasticsearch:/usr/share/elasticsearch/data
deploy:
mode: replicated
replicas: 1

logstash:
image: docker.elastic.co/logstash/logstash-oss:7.0.1
ports:
# - "5000:5000"
- "5044:5044"
- "9600:9600"
configs:
- source: logstash_config
target: /usr/share/logstash/config/logstash.yml:rw
- source: logstash_pipeline
target: /usr/share/logstash/pipeline/logstash.conf
volumes:
- logstash:/usr/share/logstash/data
# - ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:rw
# - ./logstash/pipeline:/usr/share/logstash/pipeline:ro

environment:
LS_JAVA_OPTS: "-Xmx256m -Xms256m"

deploy:
mode: replicated
replicas: 1

kibana:
image: docker.elastic.co/kibana/kibana-oss:7.0.1 
# ports:
# - "5601:5601"
volumes:
- kibana:/usr/share/kibana/data
configs:
- source: kibana_config
target: /usr/share/kibana/config/kibana.yml

deploy:
mode: replicated
replicas: 1
caddy:
image: openfaas/caddy
# image: stefanprodan/caddy
# image: abiosoft/caddy
ports:
- "5601:5601"
- "9200:9200"
# - "5044:5044"
- "3030:3030"

volumes:
- /home/docker-elk/Caddyfile:/etc/caddy/Caddyfile

deploy:
mode: replicated
replicas: 1
placement:
constraints:
- node.role == manager
resources:
limits:
memory: 128M
reservations:
memory: 64M

configs:

elastic_config:
file: ./elasticsearch/config/elasticsearch.yml
logstash_config:
file: ./logstash/config/logstash.yml
logstash_pipeline:
file: ./logstash/pipeline/logstash.conf
kibana_config:
file: ./kibana/config/kibana.yml

#networks:
# elk:
# driver: overlay

```

Here is my kibana.yml file

```auto
## Default Kibana configuration from kibana-docker.
## from https://github.com/elastic/kibana-docker/blob/master/build/kibana/config/kibana.yml
#
server.name: kibana
server.host: "0"
#elasticsearch.url: http://elasticsearch:9200
elasticsearch.hosts: http://nginx
elasticsearch.username: "xxxx"
elasticsearch.password: "xxxxx"
#elastalert-kibana-plugin.serverHost: 123.0.0.1
#elastalert-kibana-plugin.serverPort: 9000
#timeout= 90000ms
#elasticsearch.timeout: "90000ms"
#readonly:
# cluster:
# - cluster:monitor/nodes/info
# - cluster:monitor/health
# indices:
# '*':
# privileges: indices:test/mappings/fields/get, indices:test/validate/query, indices:data/read/search, indices:data/read/msearch, indices:data/read/field_stats, indices:test/get
# '.kibana':
# privileges: indices:test/exists, indices:test/mappings/fields/get, indices:test/refresh, indices:test/validate/query, indices:data/read/get, indices:data/read/mget, indices:data/read/search

#elastalert.enabled:
elastalert-kibana-plugin.serverHost: elastalert
elastalert-kibana-plugin.serverPort: 3030

#sentinl:
# settings:
# email:
# active: true
# user: rashid777@gmail.com
# password: xxxxxx
# host: smtp.gmail.com
# port: 465
# ssl: true
# report:
# active: true

```

Please tell me where im wrong

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [September 27, 2022, 11:48am UTC](https://discuss.elastic.co/t/fatal-error-elastalert-kibana-plugin-serverhost-and-elastalert-kibana-plugin-serverport-settings-were-not-applied/315242/2 "2022-09-27T11:48:48Z")

</div>

ElastAlert is a third-party tool, it is not part of the Elastic Stack, so it is not supported here.

You need to check with the ElastAlert community, but you probably will need to install the plugin.

Check this [issue](https://github.com/bitsensor/elastalert-kibana-plugin/issues/132).

---

<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 25, 2022, 11:49am UTC](https://discuss.elastic.co/t/fatal-error-elastalert-kibana-plugin-serverhost-and-elastalert-kibana-plugin-serverport-settings-were-not-applied/315242/3 "2022-10-25T11:49:30Z")

</div>

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