-
Hello! I installed elk stack and elastalret2 on ubuntu 21.04 and faced the following problem.
but when I run the command "sudo python3 -m elastalert.elastalert --verbose --rule /rules/example_frequency.yaml --es_debug_trace/opt/runtime.log" the rule fails.
The debug file shows that the time is 3 hours behind:
According to my guesses, because of this, the rule does not work, but I cannot figure out how to solve this problem?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
It's difficult to read your logs and configs since you didn't format it with markdown syntax. Surround all log and config blocks with triple back ticks. I'm also not sure what the symptom is you're trying to convey. The "0 rules loaded" is something that would prevent ElastAlert from working, so if that's what you need help with I suggest checking where you stored your rules. The documentation covers this. |
Beta Was this translation helpful? Give feedback.
It's difficult to read your logs and configs since you didn't format it with markdown syntax. Surround all log and config blocks with triple back ticks.
I'm also not sure what the symptom is you're trying to convey. The "0 rules loaded" is something that would prevent ElastAlert from working, so if that's what you need help with I suggest checking where you stored your rules. The documentation covers this.