Issue
Looks like since 2020 elastalert fails when it's imported
log says: cannot import monotonic from time
Solution
Elastalert doesn't pin "stomp" lib version and "stomp" has released a new version which doesn't support python2.
You can just add in your requirements.txt the "stomp" lib pinning the version 4.1.22 or lower.
stomp.py==4.1.22
Answered By - xpeiro
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.