ElastAlert系統面

安裝流程

  1. 安裝python3
  2. 安裝gcc
yum -y group install "Development Tools"
yum -y install python3-devel
  1. pip3 install elastalert
  2. kibana-plugin install url

kibana plugin url列表
出處

昱齊


指令

docker run -d -p 3030:3030 -p 3333:3333 \
    -v `pwd`/config/elastalert.yaml:/opt/elastalert/config.yaml \
    -v `pwd`/config/elastalert-test.yaml:/opt/elastalert/config-test.yaml \
    -v `pwd`/config/config.json:/opt/elastalert-server/config/config.json \
    -v `pwd`/rules:/opt/elastalert/rules \
    -v `pwd`/rule_templates:/opt/elastalert/rule_templates \
    --net="host" \
    --name elastalert bitsensor/elastalert:3.0.0-beta.0