rvadim / elastalert-k8s-automation Goto Github PK
View Code? Open in Web Editor NEWUse power of Kubernetes to automation configuration of elastalert
License: Apache License 2.0
Use power of Kubernetes to automation configuration of elastalert
License: Apache License 2.0
Admin part:
es_host: <host>
es_port: 9200
run_every:
seconds: 60
writeback_index: logstash-kube-spb-test
buffer_time:
minutes: 45
alert_configs:
slack:
default: to_vadim
configs:
to_vadim:
slack_webhook_url: <url>
User part:
name: ingress-alerts
type: frequency
index: <index>
use_strftime_index: true
num_events: 1
timeframe:
minutes: 5
realert:
minutes: 0
#include: ["@timestamp", "fingerprint", "host", "index_name", "message", "source"]
filter:
- query_string:
query: 'kubernetes.namespace: ingress-nginx AND status: 500'
alert:
- slack
slack_id: to_vedim <- typo
Error:
elastalert.util.EAException: Error loading file /config/rules/rule_0.yaml: Error initiating alert ['slack']: Missing required option(s): slack_webhook_url
Add the ability to set general options for alerts in the admin config
Priorities:
For now we added support only for a few properties of ElastAlert just for testing our app.
In the future it is necessary to add support for all possible ElastAlert properties.
This task requires:
Documentation;
Admin Options
Rule Types and Configuration Options
About Rule Types
DoD:
Refactoring is needed in order to simplify main file and split functions on different modules.
LocalConfigReader
for reading configs in local environment. Initialized by local path to user configurations.RemoteConfigReader
for reading configs in Kubernetes namespaces. Initialized by Kubernetes cluster configuration.Renderer
Hi rvadim.
Your Image rvadim/elastalert-k8s-automation:elastalert-latest
was not found. Does it removed? Many apologies I'm too late to clone the image docker before. Could you help?
DoD:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.