weihc02

Results 19 comments of weihc02

docker 中没有输出错误日志,配置文件,只添加微信部分

bash-4.3# cat config.yaml # This is the folder that contains the rule yaml files # Any .yaml file will be loaded as a rule rules_folder: /opt/elastalert/rules # How often ElastAlert...

bash-4.3# ls log_error.yaml bash-4.3# pwd /opt/elastalert/rules bash-4.3# cat log_error.yaml name: log_error type: frequency index: kibana_sample_data_* # link to a kibana dashboard with correct time settings #use_kibana4_dashboard: "http://localhost:5601/app/kibana#/dashboard/monitoring-dashboard" num_events: 1 timeframe:...

还有一个问题,构建镜像时,少了一个组件包,libmagic,run 启动命令应该多了一个 --config吧?

时区对的,引用宿主机时区,@timestamp ,也是上海时间 类似: ![image](https://user-images.githubusercontent.com/17331776/53542282-b2891580-3b58-11e9-871b-57e5c94264c3.png)

挂载本地时间进去,按道理应该也是可以解决时区的问题,容器时间已经是对的了 /opt/elastalert # date Thu Feb 28 13:34:20 CST 2019 @timestamp 告警出来时区还是不对的

fileter 加在什么地方,es上?

好的,我再试下,可以考虑支持docker 镜像?