Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

opendistro-for-elasticsearch/alerting-kibana-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Distro for Elasticsearch Alerting Kibana

The Open Distro for Elasticsearch Alerting Kibana plugin lets you manage your Open Distro for Elasticsearch alerting plugin to monitor your data and send notifications when certain criteria are met---all from Kibana.

Highlights

  • Create and schedule monitors, which run period queries against data in Elasticsearch.
  • Evaluate query results against triggers to see if they meet certain criteria.
  • If trigger criteria are met, generate alerts and perform actions (e.g. post a message in a Slack channel).

Documentation

Please see our documentation.

Setup

  1. Download Elasticsearch for the version that matches the Kibana version specified in package.json.

  2. Download and install the appropriate Open Distro for Elasticsearch Alerting plugin.

  3. Download the Kibana source code for the version specified in package.json you want to set up.

    See the Kibana contributing guide for more instructions on setting up your development environment.

  4. Change your node version to the version specified in .node-version inside the Kibana root directory.

  5. Create a kibana-extra directory as a sibling directory to the Kibana source code directory.

  6. Check out this package from version control into the kibana-extra directory.

  7. Run yarn kbn bootstrap inside kibana-extra/opendistro-elasticsearch-alerting-kibana.

Ultimately, your directory structure should look like this:

.
β”œβ”€β”€ kibana
β”œβ”€β”€ kibana-extra
β”‚   └── opendistro-elasticsearch-alerting-kibana

Build

To build the plugin's distributable zip simply run yarn build.

Example output: ./build/opendistro-alerting-0.7.0.0.zip

Run

  • yarn start

    Starts Kibana and includes this plugin. Kibana will be available on localhost:5601.

  • NODE_PATH=../../kibana/node_modules yarn test:jest

    Runs the plugin tests.

Contributing to Open Distro for Elasticsearch Alerting Kibana

License

This code is licensed under the Apache 2.0 License.

Copyright

Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.