Closed buzzdeee closed 6 months ago
The datetime.UTC
alias was introduced after Python 3.10. Per the ElastAlert 2 docs, this project requires Python 3.12.
If you are unable to install or update Python on your host OS you can consider using the Docker image instead: https://elastalert2.readthedocs.io/en/latest/running_elastalert.html#as-a-docker-container
thank you, I was updating from an older Ubuntu with older elastalert2 version to the versions mentioned above, didn't expect the python 3.12 requirement.
Just installed elastalert2 on Ubuntu 22.04.4 LTS, with Python 3.10.12, and python-dateutil 2.9.0.post0, starting elastalert I see:
there are a few more places, but replacing all of the:
with
made it properly start up for me.