• Kubernetes Submit Queue's avatar
    Merge pull request #67947 from saravanan30erd/fluentd-elasticsearch · a2f4f585
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 67067, 67947). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    fixes fluentd configuration params in fluentd-elasticsearch addon
    
    **What this PR does / why we need it**:
    - fixes the errors/warnings in fluentd configuration.
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    ```
    2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
    2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
    2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
    2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
    2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
    2018-08-28 11:40:50 +0000 [warn]: parameter 'time_format' in <source>
      @id fluentd-containers.log
      @type tail
      path "/var/log/containers/*.log"
      pos_file "/var/log/es-containers.log.pos"
      time_format %Y-%m-%dT%H:%M:%S.%NZ
      tag "raw.kubernetes.*"
      read_from_head true
      <parse>
        @type "multi_format"
        <pattern>
          format json
          time_key "time"
          time_format "%Y-%m-%dT%H:%M:%S.%NZ"
          time_type string
        </pattern>
        <pattern>
          format /^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$/
          time_format "%Y-%m-%dT%H:%M:%S.%N%:z"
          expression ^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$
          ignorecase false
          multiline false
        </pattern>
      </parse>
    </source> is not used.
    ```
    
    **Release note**:
    
    ```release-note
    fixes the errors/warnings in fluentd configuration
    ```
    a2f4f585
Name
Last commit
Last update
..
addons Loading commit data...
centos Loading commit data...
gce Loading commit data...
images Loading commit data...
juju Loading commit data...
kubemark Loading commit data...
kubernetes-anywhere Loading commit data...
local Loading commit data...
log-dump Loading commit data...
pre-existing Loading commit data...
skeleton Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
clientbin.sh Loading commit data...
common.sh Loading commit data...
get-kube-binaries.sh Loading commit data...
get-kube-local.sh Loading commit data...
get-kube.sh Loading commit data...
kube-down.sh Loading commit data...
kube-up.sh Loading commit data...
kube-util.sh Loading commit data...
kubeadm.sh Loading commit data...
kubectl.sh Loading commit data...
restore-from-backup.sh Loading commit data...
test-e2e.sh Loading commit data...
test-network.sh Loading commit data...
test-smoke.sh Loading commit data...
update-storage-objects.sh Loading commit data...
validate-cluster.sh Loading commit data...