--- title: ElastAlert系統面 tags: description: View the slide with "Slide Mode". --- # ElastAlert系統面 <!-- Put the link to this slide here so people can follow --> ## 安裝流程 1. 安裝python3 2. 安裝gcc ```bash yum -y group install "Development Tools" yum -y install python3-devel ``` 3. pip3 install elastalert 4. kibana-plugin install url [kibana plugin url列表](https://github.com/bitsensor/elastalert-kibana-plugin/releases) [出處](https://www.opencli.com/linux/rhel-centos-linux-install-gcc) >[name=昱齊] --- ## 指令 ``` 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 ```