Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/config/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ pub struct Options {
///
/// See the [Log Namespacing guide](/guides/level-up/log_namespace/) for detailed information
/// about when to use Vector namespace mode and how to migrate from legacy mode.
#[configurable(metadata(
docs::warnings = "Enabling log namespacing currently does not work when disk buffers are used. Avoid combining `schema.log_namespace = true` with disk buffers until [#18574](https://github.com/vectordotdev/vector/issues/18574) is resolved."
))]
pub log_namespace: Option<bool>,
}

Expand Down
1 change: 1 addition & 0 deletions website/cue/reference/generated/configuration.cue
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ generated: configuration: {
See the [Log Namespacing guide](/guides/level-up/log_namespace/) for detailed information
about when to use Vector namespace mode and how to migrate from legacy mode.
"""
warnings: ["Enabling log namespacing currently does not work when disk buffers are used. Avoid combining `schema.log_namespace = true` with disk buffers until [#18574](https://github.com/vectordotdev/vector/issues/18574) is resolved."]
required: false
}
validation: {
Expand Down
36 changes: 35 additions & 1 deletion website/layouts/partials/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -2034,6 +2034,40 @@ <h3 id="{{ $code }}">
{{ $v.description | markdownify }}
</div>

{{ with $v.warnings }}
<div class="mt-3 border-2 rounded-md border-yellow-400 flex flex-col space-y-1.5 py-2 px-3">
<span>
{{ partial "heading.html" (dict "text" "Warning" "level" 4 "toc_hide" true) }}
</span>

{{ range . }}
<div class="flex space-x-5 items-center">
<div class="flex-shrink-0">
{{/* Heroicon: outline/exclamation-circle */}}
<svg
xmlns="http://www.w3.org/2000/svg"
class="text-yellow-500 h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
</div>

<div class="prose dark:prose-dark max-w-none leading-snug">
{{ . | markdownify }}
</div>
</div>
{{ end }}
</div>
{{ end }}

{{ if eq $v.type.string.syntax "template" }}
<div class="mt-4 text-sm">
<strong>Note</strong>: This parameter supports Vector's
Expand Down Expand Up @@ -2216,4 +2250,4 @@ <h3 id="{{ $code }}">
</div>
</div>
</div>
{{ end }}
{{ end }}
Loading