@@ -175,7 +175,7 @@ commands:
175175
176176 timestamp_string, err = string(event.timestamp)
177177 if err == null {
178- parsed_timestamp, err = parse_timestamp(timestamp_string, "%Y-%m-%dT%H:%M:%S.%fZ")
178+ parsed_timestamp, err = parse_timestamp(timestamp_string, "%Y-%m-%dT%H:%M:%S.%fZ", timezone: "Etc/UTC" )
179179 if err == null {
180180 .timestamp = parsed_timestamp
181181 } else {
@@ -212,7 +212,9 @@ commands:
212212 # Extends the processed files with the fields "container" and "file"
213213 extended_logs_files:
214214 inputs:
215- - processed_files_*
215+ - processed_files_stdout
216+ - processed_files_stderr
217+ - processed_files_airlift
216218 type: remap
217219 source: |
218220 del(.source_type)
@@ -250,7 +252,8 @@ commands:
250252 # Add the fields "namespace", "cluster", "role" and "roleGroup" to all logs
251253 extended_logs:
252254 inputs:
253- - extended_logs_*
255+ - extended_logs_files
256+ - extended_logs_vector
254257 type: remap
255258 source: |
256259 .namespace = "${NAMESPACE}"
@@ -264,7 +267,11 @@ commands:
264267 inputs:
265268 - extended_logs
266269 type: vector
267- address: ${VECTOR_AGGREGATOR_ADDRESS}
270+ routing:
271+ endpoints:
272+ - ${VECTOR_AGGREGATOR_ADDRESS}
273+ compression: zstd
274+ keepalive: {}
268275{% endif %}
269276 YAMLEOF
270277 )
@@ -428,7 +435,7 @@ commands:
428435
429436 timestamp_string, err = string(event.timestamp)
430437 if err == null {
431- parsed_timestamp, err = parse_timestamp(timestamp_string, "%Y-%m-%dT%H:%M:%S.%fZ")
438+ parsed_timestamp, err = parse_timestamp(timestamp_string, "%Y-%m-%dT%H:%M:%S.%fZ", timezone: "Etc/UTC" )
432439 if err == null {
433440 .timestamp = parsed_timestamp
434441 } else {
@@ -465,7 +472,9 @@ commands:
465472 # Extends the processed files with the fields "container" and "file"
466473 extended_logs_files:
467474 inputs:
468- - processed_files_*
475+ - processed_files_stdout
476+ - processed_files_stderr
477+ - processed_files_airlift
469478 type: remap
470479 source: |
471480 del(.source_type)
@@ -503,7 +512,8 @@ commands:
503512 # Add the fields "namespace", "cluster", "role" and "roleGroup" to all logs
504513 extended_logs:
505514 inputs:
506- - extended_logs_*
515+ - extended_logs_files
516+ - extended_logs_vector
507517 type: remap
508518 source: |
509519 .namespace = "${NAMESPACE}"
@@ -517,7 +527,11 @@ commands:
517527 inputs:
518528 - extended_logs
519529 type: vector
520- address: ${VECTOR_AGGREGATOR_ADDRESS}
530+ routing:
531+ endpoints:
532+ - ${VECTOR_AGGREGATOR_ADDRESS}
533+ compression: zstd
534+ keepalive: {}
521535{% endif %}
522536 YAMLEOF
523537 )
0 commit comments