Skip to content

Commit

Permalink
allow rules files to inherit from global config
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianlee committed Apr 17, 2017
1 parent 78f044c commit a9ddadc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions example_rules/example_opsgenie_frequency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

# (Optional)
# Elasticsearch host
es_host: localhost
#es_host: localhost

# (Optional)
# Elasticsearch port
es_port: 9200
#es_port: 9200

# (Required)
# OpsGenie credentials
Expand Down
4 changes: 2 additions & 2 deletions example_rules/example_percentage_match.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Example Percentage Match
type: percentage_match

es_host: localhost
es_port: 9200
#es_host: localhost
#es_port: 9200

index: logstash-http-request-*
description: "95% of all http requests should be successful"
Expand Down
4 changes: 2 additions & 2 deletions example_rules/example_single_metric_agg.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Metricbeat CPU Spike Rule
type: metric_aggregation

es_host: localhost
es_port: 9200
#es_host: localhost
#es_port: 9200

index: metricbeat-*

Expand Down

0 comments on commit a9ddadc

Please sign in to comment.