Reputation: 377
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?
Upvotes: 5
Views: 4483
Reputation: 35
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.
Upvotes: 0
Reputation: 1691
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"
Upvotes: 2
Reputation: 41
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.
Upvotes: 4