5

I followed this url to install Elastalert, however I don't even know where is that config.yaml.example file is located. Where does the elastalert gets installed by default? Am I missing anything?

Elderry
  • 1,902
  • 5
  • 31
  • 45
windowws
  • 373
  • 1
  • 8
  • 20

3 Answers3

4

https://github.com/Yelp/elastalert/blob/master/config.yaml.example

If you installed via pip, this file does not get installed.

If you cloned the repo, it will be in the base directory.

Quentin
  • 41
  • 1
2

I installed via pip and was unable to locate the config.yaml file. So I uninstalled elastalert and cloned the repo and ran other steps as mentioned in the documentation

In short these steps worked for me. If you have already installed it via pip then pip uninstall elastalert

git clone https://github.com/Yelp/elastalert.git
pip install "setuptools>=11.3"
python setup.py install

for ES > 5.0.0

pip install "elasticsearch>=5.0.0"

shshnk
  • 1,621
  • 14
  • 26
0

Well I am pretty sure that elastalert does not provide you with a filled in cofig file.

When you install it via pip i would suggest that you copy the example from git and fill it yourself. Then pass it on as a --config parameter when calling elastalert.

I know the thread is very old but I myself spent considerable amount of time at one point trying to get it to work and thought that I will leave it here.

Suneku
  • 35
  • 6