-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
触发条件时间,时区也不对,需要修复 #3
Comments
@weihc02 你是用的docker 镜像部署的时区不对么? |
时区对的,引用宿主机时区,@timestamp ,也是上海时间 |
alpine 镜像没有使用东八区,一会更新一下dockerfile |
挂载本地时间进去,按道理应该也是可以解决时区的问题,容器时间已经是对的了 @timestamp 告警出来时区还是不对的 |
@timestamp 跟你是不是相差了8个小时? |
是的 |
@weihc02 这个是由于你的elasticsearch 处理时间使用的是UTC时间,你需要加一个fileter 或者在日志输入上修改你的timestamp时间为北京时间 也就是在UTC的时间上+8小时 |
fileter 加在什么地方,es上? |
现在是filebeat-->es |
@weihc02 没有使用logstash么?直接是filebeat 到es? |
@weihc02 logstash的是加一个fileter data插件: |
触发条件时间,时区也不对,需要修复,请问取的是系统时间吗
The text was updated successfully, but these errors were encountered: