elastalert: Dont know whether it is installed or not

i have followed the url to install elastalert http://elastalert.readthedocs.io/en/latest/running_elastalert.html#downloading-and-configuring , it says to install $ pip install -r requirements.txt but when i run that i am getting this Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

and also Next, open up config.yaml.example i could not see where it is

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

You’ve got a couple options

  1. use python -m elastalert.create_index instead of elastalert-create-index and python -m elastalert.elastalert instead of elastalert and python -m elastalert.test_rule instead of elastalert-test-rule. This bypasses the pkg_resources runtime check for package issues and will probably work fine.

  2. Uninstall elastalert and install it again via pip. Do not use python setup.py install. When you install via setuptools and then change the version of libraries via pip, it gives you this error. I only recently changed the documentation for installation so sorry for the confusion.

  3. maybe pip install --upgrade elastalert will overwrite the package entrypoints, I dunno.

  4. Try to resolve these dependencies manually, like pip install "six==1.8.0, etc