Posts

Showing posts from July, 2016

Elasticsearch JIRA Alert and Email Notification using ElastAlert Library

In this post, I will be giving you sample example of how to create alerts and notifications on top of Elasticsearch using ElastAlert Library(opensource library from Yelp, https://github.com/Yelp/elastalert ). Requirements:   Python 2.6/2.7   pip Step 1: clone the ElastAlert library             git clone  https://github.com/Yelp/elastalert.git Step 2 : python setup.py install Step 3: pip install -r requirements.txt Step 4: Now start the elasticsearch and run below command from ElastAlert Library folder              elastalert-create-index   This will create index called "elastalert_status"  in elasticsearch, where all the alerts send and debugging information is stored. Step 5: make sure you have config.yaml file properly configured with your elasticsearch host-port and rules folder where all alert rules file are located Step 6: Now yo...