-
Hello, when running
Am I using the binary wrong or is this a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
@raphsimon Thanks for raising this issue. I suspect that the recent PR #424 introduced this bug. You stated you are running 2.2.1, but this PR isn't in that version. Can you confirm that you are using the correct Docker image, and not @thican There appears to be a problem with the PR you submitted last week. If the user doesn't specify a JSON data input then the |
Beta Was this translation helpful? Give feedback.
-
Hello, My apologies, I forgot to update some part of the previous MR. Best regards |
Beta Was this translation helpful? Give feedback.
@raphsimon Thanks for raising this issue. I suspect that the recent PR #424 introduced this bug. You stated you are running 2.2.1, but this PR isn't in that version. Can you confirm that you are using the correct Docker image, and not
elastalert2:latest
?@thican There appears to be a problem with the PR you submitted last week. If the user doesn't specify a JSON data input then the
endtime
variable isn't getting set. When I brought up a potential risk like this forstarttime
(if the user doesn't specify thetimerange
variable) you mentioned the time would already have been set, via the init() method, however, those are setting class member variables, yet therun_elastalert()
method is dea…