Yelp/elastalert

elastalert cannot find index app* in openshift

BalighRezgui opened this issue · 1 comments

Hello,

I configured an elastalert with elasticsearch on an openshift cluster when I configure an alert ruels for the infra-* index to capture a word it works but when I change the index in the ruels app-* it does not work.
Apparently elastalert can see the infra index and is not seeing the app. any ideas ?

data:
my-rules.yaml: |
name: test
type: frequency
index: infra* (or app*)
num_events: 1
timeframe:
minutes: 10
filter:
- term:
message: BIP
- query:
query_string:
query: "NETWORK"

can you show me all your index?
or have you tried this command to test?
elastalert-test-rule example_rules/xxx.yaml --config config.yaml
if it reports no problem,perhaps it hits no goals.

elastalert is not maintained. Please use elastalert2.
https://github.com/jertel/elastalert2/discussions