-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid immense term error in metrics metadata fields (#1835)
To avoid immense term error in metrics metadata fields: * meta.error-description field mapping changes from keyword to wildcard which fits this type of content better while still allowing the search, * remaining dynamically mapped text fields get "ignore_above": 8191 parameter to prevent immense term error in the worst case of error message being composed entirely of UTF-8 characters, * meta.error-description field generated in BulkIndex runner gets limited to 5 unique errors only for better log readability - currently, in the worst case the field is concatenated from errors from all bulk documents.
- Loading branch information
Showing
3 changed files
with
214 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters