• This repository has been archived on 02/Aug/2022
  • Stars
    star
    140
  • Rank 261,473 (Top 6 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created almost 6 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

📟 Open Distro Kibana Alerting Plugin

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. cd into the plugins directory of the Kibana source code directory.

  6. Check out this package from version control into the plugins directory.

  7. Run yarn kbn bootstrap inside kibana/plugins/alerting-kibana-plugin.

Ultimately, your directory structure should look like this:

.
├── kibana
│   └── plugins
│       └── alerting-kibana-plugin

Build

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

Example output: ./build/opendistroAlertingKibana-1.12.0.0.zip

Run

  • yarn start

    • Starts Kibana and includes this plugin. Kibana will be available on localhost:5601.
    • Please run in the Kibana root directory
    • You must have Elasticsearch running with the Alerting plugin

Test

There are unit/stubbed integration tests and Cypress e2e/integration tests.

  • yarn test:jest

    • Runs the plugin unit tests.
  • yarn run cypress open

    • Opens the Cypress test runner.
  • yarn run cypress run

    • Runs all Cypress tests headlessly in the Electron browser.

To run the Cypress tests, you must have both Elasticsearch and Kibana running with the Alerting plugin.

If you are running Cypress tests with Kibana development server, pass these 2 options to yarn start:

  1. --no-base-path: opt out the BasePathProxy.
  2. --no-watch: make sure your server is not restarted.

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.

More Repositories

1

sql

🔍 Open Distro SQL Plugin
Java
620
star
2

opendistro-build

🧰 Open Distro Build Scripts
Shell
343
star
3

alerting

📟 Open Distro Alerting Plugin
Kotlin
279
star
4

sample-code

👋 Welcome to the Open Distro sample-code area. Share your great ideas and code samples with the Open Distro Community.
Python
278
star
5

k-NN

🆕 A machine learning plugin which supports an approximate k-NN search algorithm for Open Distro.
Java
276
star
6

performance-analyzer

📈 OpenDistro Performance Analyzer
Java
146
star
7

index-management

🗃 Open Distro Index Management
Kotlin
115
star
8

perftop

📈 PerfTop: A client for the Open Distro Performance Analyzer
JavaScript
94
star
9

anomaly-detection

A machine learning plugin in Open Distro for real time anomaly detection on streaming data.
Java
78
star
10

job-scheduler

🕓 Open Distro Job Scheduler
Java
47
star
11

deprecated-security-advanced-modules

[DO NOT USE - DEPRECATED as of v1.4.0] Advanced modules for the Open Distro security plugin; Merged into security repo.
Java
47
star
12

anomaly-detection-kibana-plugin

A Kibana plugin providing visualizations for anomaly detection in Open Distro.
TypeScript
44
star
13

index-management-kibana-plugin

🗃 Open Distro Index Management Kibana UI plugin
TypeScript
42
star
14

kibana-reports

Kibana Reports
TypeScript
39
star
15

performance-analyzer-rca

The Performance Analyzer RCA is a framework that builds on the Performance Analyzer engine to support root cause analysis (RCA) of performance and reliability problems for Elasticsearch instances.
Java
38
star
16

data-prepper

This repository is archived. Please migrate to the active project: https://github.com/opensearch-project/data-prepper
Java
37
star
17

deprecated-security-ssl

[DO NOT USE - DEPRECATED AS OF v1.0.0] SSL module for Open Distro security plugin
Java
31
star
18

odfe-cli

A full-featured command line interface (CLI) for Open Distro.
Go
24
star
19

asynchronous-search

▶️ Asynchronous search makes it possible for users to run queries in the background, allowing users to track the progress, and retrieve partial results as they become available.
Java
23
star
20

kibana-notebooks

Open Distro Kibana Notebooks
TypeScript
21
star
21

deprecated-security-parent

[DO NOT USE - DEPRECATED as of v1.4.0] Parent repo for Open Distro Security plugin; Merged into security repo.
19
star
22

security

Java
17
star
23

cross-cluster-replication

Kotlin
15
star
24

trace-analytics

TypeScript
7
star
25

kibana-visualizations

TypeScript
4
star
26

common-utils

Open Distro Common-Utils
Java
4
star
27

security-kibana-plugin

TypeScript
3
star
28

notifications

Notifications plugin for Open Distro enables other plugins to send notifications via Email, Slack, Amazon Chime, Custom web-hook etc channels
Kotlin
3
star
29

pipe-processing-language

Piped Processing Language (PPL) for Elasticsearch
3
star