From b6c325c085a9fb48d5eb44bf9c6c61e7e7c85f59 Mon Sep 17 00:00:00 2001 From: Camden Cheek Date: Fri, 28 Aug 2020 09:16:22 -0400 Subject: [PATCH] Fix comments --- plugins/kubernetes.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/kubernetes.yaml b/plugins/kubernetes.yaml index f35184ba..b85602fd 100644 --- a/plugins/kubernetes.yaml +++ b/plugins/kubernetes.yaml @@ -57,13 +57,13 @@ pipeline: - output: container_regex_parser expr: true - # Use this JSON parser since there was no trailing newline in log field. + # Attempt to parse nested JSON since the log appears to be JSON - id: nested_json_parser type: json_parser parse_from: $record.log output: container_regex_parser - # Log field has been parsed if possible and now we can parse log_type field for container information. + # Log field has been parsed if possible and now we can parse the file name field for container information. - id: container_regex_parser type: regex_parser parse_from: $labels.file_name @@ -124,7 +124,7 @@ pipeline: labels: log_type: 'k8s.container' - # Use journald to gather kubelet logs. Use provider path for journald if available otherwise use default locations. + # Use journald to gather kubelet logs. Use provided path for journald if available otherwise use default locations. - id: kubelet_reader type: journald_input # {{ if .kubelet_journald_log_path }}