diff --git a/docs/sources/shared/configuration.md b/docs/sources/shared/configuration.md index cfc4db5c451f6..7b998b1a27f04 100644 --- a/docs/sources/shared/configuration.md +++ b/docs/sources/shared/configuration.md @@ -3410,6 +3410,12 @@ discover_generic_fields: # CLI flag: -validation.log-level-fields [log_level_fields: | default = [level LEVEL Level Severity severity SEVERITY lvl LVL Lvl]] +# Maximum depth to search for log level fields in JSON logs. A value of 0 or +# less means unlimited depth. Default is 2 which searches the first 2 levels of +# the JSON object. +# CLI flag: -validation.log-level-from-json-max-depth +[log_level_from_json_max_depth: | default = 2] + # When true an ingester takes into account only the streams that it owns # according to the ring while applying the stream limit. # CLI flag: -ingester.use-owned-stream-count