From c6dcbbe4dfd072396186aa3958d1dcd28521d792 Mon Sep 17 00:00:00 2001 From: Spencer Gilbert Date: Thu, 13 Jul 2023 22:10:15 -0400 Subject: [PATCH] docs: Fix schema.log_namespace and telemetry.tags documentation (#17961) --- website/content/en/blog/log-namespacing.md | 2 +- website/cue/reference/configuration.cue | 30 +++++++++++++++------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/website/content/en/blog/log-namespacing.md b/website/content/en/blog/log-namespacing.md index 4516b5685794b..65bd5f8b02103 100644 --- a/website/content/en/blog/log-namespacing.md +++ b/website/content/en/blog/log-namespacing.md @@ -166,4 +166,4 @@ be used. [global log schema]: /docs/reference/configuration/global-options/#log_schema [set_semantic_meaning]: /docs/reference/vrl/functions/#set_semantic_meaning [remap]: /docs/reference/configuration/transforms/remap/ -[global config]: /docs/reference/configuration/global-options/#log_namespacing +[global config]: /docs/reference/configuration/global-options/#schema.log_namespacing diff --git a/website/cue/reference/configuration.cue b/website/cue/reference/configuration.cue index 08d9b0bb6b88d..bf1a7e8f98453 100644 --- a/website/cue/reference/configuration.cue +++ b/website/cue/reference/configuration.cue @@ -251,16 +251,28 @@ configuration: { } } } - log_namespacing: { - common: false + schema: { + common: false description: """ - Globally enables / disables log namespacing. See [Log Namespacing](\(urls.log_namespacing_blog)) - for more details. If you want to enable individual sources, there is a config - option in the source configuration. + Configures options for how Vector handles event schema. """ - required: false - warnings: [] - type: bool: default: false + required: false + type: object: { + examples: [] + options: { + log_namespacing: { + common: false + description: """ + Globally enables / disables log namespacing. See [Log Namespacing](\(urls.log_namespacing_blog)) + for more details. If you want to enable individual sources, there is a config + option in the source configuration. + """ + required: false + warnings: [] + type: bool: default: false + } + } + } } telemetry: { @@ -277,7 +289,7 @@ configuration: { description: """ Controls which tags should be included with the `vector_component_sent_events_total` and `vector_component_sent_event_bytes_total` metrics. - """ + """ type: object: { examples: [] options: {