Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
camdencheek committed Aug 28, 2020
1 parent 48b8994 commit b6c325c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit b6c325c

Please sign in to comment.