Skip to content

Commit

Permalink
Change log line for matcher condition (#35119)
Browse files Browse the repository at this point in the history
* change log line for matcher condition

* add changelog
  • Loading branch information
fearful-symmetry authored Apr 18, 2023
1 parent 78dc664 commit 2c865a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- The Elasticsearch output now splits large requests instead of dropping them when it receives a StatusRequestEntityTooLarge error. {pull}34911[34911]
- Fix Beats started by agent do not respect the allow_older_versions: true configuration flag {issue}34227[34227] {pull}34964[34964]
- Fix performance issues when we have a lot of inputs starting and stopping by allowing to disable global processors under fleet. {issue}35000[35000] {pull}35031[35031]
- In cases where the matcher detects a non-string type in a match statement, report the error as a debug statement, and not a warning statement. {pull}35119[35119]

*Auditbeat*

Expand Down
2 changes: 1 addition & 1 deletion libbeat/conditions/matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (c Matcher) Check(event ValuesMap) bool {
default:
str, err := ExtractString(value)
if err != nil {
logp.L().Named(logName).Warnf("unexpected type %T in %v condition as it accepts only strings.", value, c.name)
logp.L().Named(logName).Debugf("unexpected type %T in %v condition as it accepts only strings; value=%#v", value, c.name, value)
return false
}

Expand Down

0 comments on commit 2c865a9

Please sign in to comment.