This repository contains Dockerfile of Elastalert and other scripts for Docker's.
-
Install Docker.
-
Pull image from Docker hub(https://hub.docker.com/):
docker pull oisis/elastalert
- Alternatively build an image from Dockerfile:
docker build -t oisis/elastalert .
- Run with Graphite support:
docker run -d --name elastalert \
-e ES_HOST=elasticsearch oisis/elastalert
RULES_DIR: Folder that contains the rule yaml filesRUN_EVERY: How often ElastAlert will query elasticsearchBUFFER_TIME: ElastAlert will buffer results from the most recent period of timeES_HOST: The elasticsearch hostnameES_PORT: The elasticsearch portES_URL_PREFIX: URL prefix for elasticsearchUSE_SSL: Connect with TLS to elasticsearchVERIFY_CERTS: Verify TLS certificatesES_SEND_GET_BODY_AS: GET request with body is the default option for Elasticsearch.WRITEBACK_INDEX: The index on es_host which is used for metadata storage