File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
pkg/sdk/logging/model/syslogng/config Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ log {
251
251
log {
252
252
parser {
253
253
metrics-probe(key("example") labels(
254
- "destination " => "test-syslog-out-global"
254
+ "destination_name " => "test-syslog-out-global"
255
255
"logging" => "test"
256
256
"output_name" => "test-syslog-out-global"
257
257
"output_namespace" => "config-test"
@@ -263,7 +263,7 @@ log {
263
263
log {
264
264
parser {
265
265
metrics-probe(key("example") labels(
266
- "destination " => "test-syslog-out"
266
+ "destination_name " => "test-syslog-out"
267
267
"logging" => "test"
268
268
"output_name" => "test-syslog-out"
269
269
"output_namespace" => "default"
Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ func destinationLogPath(dest destination) render.Renderer {
72
72
if m .Labels == nil {
73
73
m .Labels = make (filter.ArrowMap )
74
74
}
75
- if v , ok := m .Labels ["destination " ]; ! ok || v != "" {
75
+ if v , ok := m .Labels ["destination_name " ]; ! ok || v != "" {
76
76
// syslog-ng terminology for output
77
- m .Labels ["destination " ] = dest .Name
77
+ m .Labels ["destination_name " ] = dest .Name
78
78
}
79
79
if v , ok := m .Labels ["output_name" ]; ! ok || v != "" {
80
80
// logging-operator terminology for output
You can’t perform that action at this time.
0 commit comments