elastalert
elastalert copied to clipboard
Unable to use API to start elastalert container
Hello everyone,
I am running ElastAlert as a Docker container using the command given in the README. I was trying to use the elastalert REST API /status/control to start and stop the process.
While the /status/control/stop works fine, instead of just stopping the ElastAlert process, it stops the API as well and hence, the container stops. Since the container is stopped, I am unable to issue a start request using /status/control/start. Is this the expected behavior or is this a bug?
Can someone let me know the correct way of using the REST API to stop and start the Elastalert process running in a container?