Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Reduce warning logging from get categories Grok pattern creation (…
…#73373) The Grok pattern creator used within the get categories action works by looking at the examples for each category. Sometimes these examples are truncated, and cannot be used for Grok pattern determination. Previously when this happened we would log a warning, but that caused a feedback loop in the case where the Elasticsearch logs themselves were being categorized: the warning messages would end up creating new categories in the Elasticsearch log categorization, with very long examples that would be truncated, leading to the same problem occurring yet again. This change reduces the warning log to trace for truncated log messages, and also removes the example from the log message to shorten it.
- Loading branch information