Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elastalert cannot find index app* in openshift #3271

Open
BalighRezgui opened this issue Nov 15, 2022 · 1 comment
Open

elastalert cannot find index app* in openshift #3271

BalighRezgui opened this issue Nov 15, 2022 · 1 comment

Comments

@BalighRezgui
Copy link

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"

@tabular-rasa
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants