A customizable alert manager for Elasticsearch
View and delete existing alert configurations that are continually monitored at your desired frequency. Create alerts by specifying the new alert name, the index pattern to monitor, the frequency at which the Elasticsearch cluster will be searched, the rule to search for in the cluster, and the customized email that will be sent when the Elasticsearch query responds with a hit. Hermes uses Mustache.js which allows you to include any field from the top hit in the body of your alert email.
View individual logs using a simple filter.
Visualize the count of logs that were created every hour over the past two weeks.
Create and delete index patterns so that you can query multiple indices from your Elasticsearch cluster at once.
Hermes requires your Elasticsearch cluster to already be set up, running, and accessible on port 9200.
Running Hermes the first time:
- Fork and clone the main branch of this repository
- Make sure you are in the outer-most directory of the repository in your command line
- Configure the email account that will send alert messages per the instructions in Configuring SMTP With Gmail
- Run
npm install
- Run
npm run build
- Run
npm start
- Open your web browser to http://localhost:3068
- Create a new Gmail account.
- Open settings and disable Two-Factor Authentication and allow access in Gmail for less secure apps. Configuring these settings will allow Hermes to send emails on your behalf.
- Open the
email_smtp.js
file located in the top directory of your cloned repository. - Enter your new password into
Password
and your new email address into theUsername
andFrom
properties of the object passed intoEmail.send()
- Save your changes.