-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 'master'
[BREAKING] Use different config file to test rules See merge request bitsensor/back-end/elastalert!34
- Loading branch information
Showing
7 changed files
with
58 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
v ?= v0.1.31 | ||
v ?= v0.1.38 | ||
|
||
all: build | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# NOTE: This config is used when testing a rule | ||
|
||
# The elasticsearch hostname for metadata writeback | ||
# Note that every rule can have its own elasticsearch host | ||
es_host: localhost | ||
|
||
# The elasticsearch port | ||
es_port: 9200 | ||
|
||
# This is the folder that contains the rule yaml files | ||
# Any .yaml file will be loaded as a rule | ||
rules_folder: rules | ||
|
||
# How often ElastAlert will query elasticsearch | ||
# The unit can be anything from weeks to seconds | ||
run_every: | ||
seconds: 5 | ||
|
||
# ElastAlert will buffer results from the most recent | ||
# period of time, in case some log sources are not in real time | ||
buffer_time: | ||
minutes: 1 | ||
|
||
# Optional URL prefix for elasticsearch | ||
#es_url_prefix: elasticsearch | ||
|
||
# Connect with TLS to elasticsearch | ||
#use_ssl: True | ||
|
||
# Verify TLS certificates | ||
#verify_certs: True | ||
|
||
# GET request with body is the default option for Elasticsearch. | ||
# If it fails for some reason, you can pass 'GET', 'POST' or 'source'. | ||
# See http://elasticsearch-py.readthedocs.io/en/master/connection.html?highlight=send_get_body_as#transport | ||
# for details | ||
#es_send_get_body_as: GET | ||
|
||
# Option basic-auth username and password for elasticsearch | ||
#es_username: someusername | ||
#es_password: somepassword | ||
|
||
# The index on es_host which is used for metadata storage | ||
# This can be a unmapped index, but it is recommended that you run | ||
# elastalert-create-index to set a mapping | ||
writeback_index: elastalert_status | ||
|
||
# If an alert fails for some reason, ElastAlert will retry | ||
# sending the alert until this time period has elapsed | ||
alert_time_limit: | ||
days: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters