Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-2464

Should update the deprecated tls vars

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • VERIFIED
    • Before this update, <X problem> caused <Y situation> (OPTIONAL: under the following <Z conditions>). With this update, <fix> resolves the issue (OPTIONAL: and <agent> can <perform operation> successfully).
    • Log Collection - Sprint 222

      ++ oc logs pod/collector-xwgc7 -c collector
      Setting each total_size_limit for 1 buffers to 6360187084 bytes
      Setting queued_chunks_limit_size for each buffer to 758
      Setting chunk_limit_size for each buffer to 8388608
      2022-04-11 07:52:10 +0000 [warn]: '@' is the system reserved prefix. It works in the nested configuration for now but it will be rejected: @timestamp
      /usr/local/share/gems/gems/fluent-plugin-elasticsearch-5.2.1/lib/fluent/plugin/elasticsearch_compat.rb:8: warning: already initialized constant TRANSPORT_CLASS
      /usr/local/share/gems/gems/fluent-plugin-elasticsearch-5.2.1/lib/fluent/plugin/elasticsearch_compat.rb:3: warning: previous definition of TRANSPORT_CLASS was here
      /usr/local/share/gems/gems/fluent-plugin-elasticsearch-5.2.1/lib/fluent/plugin/elasticsearch_compat.rb:25: warning: already initialized constant SELECTOR_CLASS
      /usr/local/share/gems/gems/fluent-plugin-elasticsearch-5.2.1/lib/fluent/plugin/elasticsearch_compat.rb:20: warning: previous definition of SELECTOR_CLASS was here
      2022-04-11 07:52:12 +0000 [warn]: 'enable' parameter is deprecated: Use <transport tls> section
      2022-04-11 07:52:12 +0000 [warn]: 'certificate_path' parameter is deprecated: Use cert_path in <transport tls> section
      2022-04-11 07:52:12 +0000 [warn]: 'private_key_path' parameter is deprecated: Use private_key_path in <transport tls> section
      2022-04-11 07:52:12 +0000 [warn]: For security reason, setting private_key_passphrase is recommended when cert_path is specified

       

      <system>
        log_level "#{ENV['LOG_LEVEL'] || 'warn'}"
      </system>

      1. Prometheus Monitoring
        <source>
          @type prometheus
          bind "#{ENV['POD_IP']}"
          <ssl>
            enable true
            certificate_path "#{ENV['METRICS_CERT'] || '/etc/fluent/metrics/tls.crt'}"
            private_key_path "#{ENV['METRICS_KEY'] || '/etc/fluent/metrics/tls.key'}"
          </ssl>
        </source>

      <source>
        @type prometheus_monitor
        <labels>
          hostname ${hostname}
        </labels>
      </source>

            vparfono Vitalii Parfonov
            rhn-support-anli Anping Li
            Qiaoling Tang Qiaoling Tang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: