-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
TypeError("search() got multiple values for argument 'body'",) #2811
Comments
I would try removing minimum_should_match clauses first. |
It hasn't helped. Even if you simplify the filter, there is still the error filter:
- match_phrase:
type:
query: log1c-excp |
Can you post a complete rule file? |
name: rmngr_error_spike
type: spike
index: log1c-*
timeframe:
hours: 2
threshold_cur: 100
#threshold_ref: 5
spike_height: 5
spike_type: "up"
filter:
- match_phrase:
type:
query: log1c-excp
alert:
- "command"
command:
- "/opt/elastalert/alerts/send_alert.sh"
- "❗ Exception on %(host.name)s, %(p:processName)s, User: %(Usr)s" |
Apparently this is an informational message, because roles work |
it seems the reason is |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. I run the config test with the elastalert-test-rule command, get error
The filter in a config:
If take this filter and convert to json and execute to elk console, everything works, why error?
The text was updated successfully, but these errors were encountered: