File tree 2 files changed +12
-22
lines changed
2 files changed +12
-22
lines changed Original file line number Diff line number Diff line change @@ -568,28 +568,6 @@ components: sinks: [Name=string]: {
568
568
}
569
569
}
570
570
571
- if features .send != _|_ {
572
- if features .send .request .enabled {
573
- partitioning : _ | * {
574
- title : " Partitioning "
575
- body : """
576
- Vector supports dynamic configuration values through a simple
577
- template syntax. If an option supports templating, it will be
578
- noted with a badge and you can use event fields to create dynamic
579
- values. For example:
580
-
581
- ```toml title="vector.toml"
582
- [sinks.my-sink]
583
- dynamic_option = "application={{ application_id }}"
584
- ```
585
-
586
- In the above example, the `application_id` for each event will be
587
- used to partition outgoing data.
588
- """
589
- }
590
- }
591
- }
592
-
593
571
if features .send != _|_ {
594
572
if features .send .request .enabled {
595
573
rate_limits : {
Original file line number Diff line number Diff line change 41
41
{{ with $v.syntax }}
42
42
{{ if eq . "remap_program" }}
43
43
{{ partial "badge.html" (dict "word" . "color" "gray" "href" "/docs/reference/vrl#program") }}
44
+ {{ else if eq . "template" }}
45
+ {{ partial "badge.html" (dict "word" . "color" "gray" "href" "/docs/reference/configuration/template-syntax/") }}
44
46
{{ else }}
45
47
{{ partial "badge.html" (dict "word" . "color" "gray") }}
46
48
{{ end }}
@@ -1961,6 +1963,8 @@ <h3 id="{{ $code }}">
1961
1963
{{ with $v.syntax }}
1962
1964
{{ if eq . "remap_program" }}
1963
1965
{{ partial "badge.html" (dict "word" . "color" "gray" "href" "/docs/reference/vrl#program") }}
1966
+ {{ else if eq . "template" }}
1967
+ {{ partial "badge.html" (dict "word" . "color" "gray" "href" "/docs/reference/configuration/template-syntax/") }}
1964
1968
{{ else }}
1965
1969
{{ partial "badge.html" (dict "word" . "color" "gray") }}
1966
1970
{{ end }}
@@ -1977,6 +1981,14 @@ <h3 id="{{ $code }}">
1977
1981
{{ $v.description | markdownify }}
1978
1982
</ div >
1979
1983
1984
+ {{ if eq $v.type.string.syntax "template" }}
1985
+ < div class ="mt-4 text-sm ">
1986
+ < strong > Note</ strong > : This parameter supports Vector's
1987
+ < a href ="/docs/reference/configuration/template-syntax "> template syntax</ a > , which enables you to use
1988
+ dynamic per-event values.
1989
+ </ div >
1990
+ {{ end }}
1991
+
1980
1992
{{ with $v.relevant_when }}
1981
1993
< div class ="mt-2 ">
1982
1994
< span >
You can’t perform that action at this time.
0 commit comments