OpenSearch/modules
Jake Landis a370d5eead
[7.x] Ensure Joni warning are logged at debug (#57302) (#57897)
When Joni, the regex engine that powers grok emits a warning it
does so by default to System.err. System.err logs are all bucketed
together in the server log at WARN level. When Joni emits a warning,
it can be extremely verbose, logging a message for each execution
again that pattern. For ingest node that means for every document
that is run that through Grok. Fortunately, Joni provides a call
back hook to push these warnings to a custom location.

This commit implements Joni's callback hook to push the Joni warning
to the Elasticsearch server logger (logger.org.elasticsearch.ingest.common.GrokProcessor)
at debug level. Generally these warning indicate a possible issue with
the regular expression and upon creation of the Grok processor will
do a "test run" of the expression and log the result (if any) at WARN 
level. This WARN level log should only occur on pipeline creation which 
is a much lower frequency then every document. 

Additionally, the documentation is updated with instructions for how
to set the logger to debug level.
2020-06-09 17:06:29 -05:00
..
aggs-matrix-stats Expose agg usage in Feature Usage API (#55732) (#56048) 2020-04-30 12:53:36 -04:00
analysis-common Support multiple tokens on LHS in stemmer_override rules (#56113) (#56484) 2020-05-29 22:34:31 +02:00
geo Add geo_shape mapper supporting doc-values in Spatial Plugin (#55037) (#55500) 2020-04-22 08:12:54 -07:00
ingest-common [7.x] Ensure Joni warning are logged at debug (#57302) (#57897) 2020-06-09 17:06:29 -05:00
ingest-geoip Upgrade to Jackson 2.10.4 (#56188) 2020-05-06 17:20:23 -04:00
ingest-user-agent Always use deprecateAndMaybeLog for deprecation warnings (#55319) 2020-04-23 09:20:54 +01:00
kibana Reintroduce system index APIs for Kibana (#54935) 2020-04-08 09:08:49 -06:00
lang-expression Update Lucene version to 8.6.0-snapshot-9d6c738ffce (#57024) 2020-05-21 11:28:16 +01:00
lang-mustache [7.x] Rename template V2 classes to ComposableTemplate (#57183) (#57232) 2020-05-27 11:01:59 -06:00
lang-painless Backports for _source bug fix in scripting (#57068) 2020-05-21 17:07:38 -07:00
mapper-extras Refactor how to determine if a field is metafield (#57378) (#57771) 2020-06-08 09:16:18 -04:00
parent-join Make parent and child aggregator more obvious (#57490) (#57553) 2020-06-02 16:22:38 -04:00
percolator Refactor how to determine if a field is metafield (#57378) (#57771) 2020-06-08 09:16:18 -04:00
rank-eval Refactor how to determine if a field is metafield (#57378) (#57771) 2020-06-08 09:16:18 -04:00
reindex Reindex and friends fail nicely when max_docs < slices (#54901) (#57348) 2020-05-29 14:30:14 +02:00
repository-url Remove more //NORELEASE (#57517) 2020-06-05 15:34:06 +02:00
systemd Encapsulate systemd extender 2020-04-20 21:17:42 -04:00
tasks Reintroduce system index APIs for Kibana (#54935) 2020-04-08 09:08:49 -06:00
transport-netty4 Revert "Use clean thread context for transport and applier service (#57792)" 2020-06-09 22:24:54 +02:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00