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

Deprecated Feature logs causing too much noise

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW
    • Hide

      Install Openshift logging version 5.4 and forward the logs to external ELK

      Show
      Install Openshift logging version 5.4 and forward the logs to external ELK
    • Log Collection - Sprint 221

      OpenShift is utilizing a _type feature in the log collector that is causing warnings in the collector pods for communicating to ELK version 7, and totally crashing for ELK version 8.

      The type specification (car) was deprecated in elasticsearch 7.0, and totally removed in elasticsearch 8.0. Type (car) is now a hard-coded endpoint called _doc. No specific types are allowed, the index expects homogenous types now.
      PUT cars/_doc/1 (correct)

      This is causing collector logs show warning likeĀ 

      ~~~

      warning: 299 Elasticsearch-7.17.3-5ad023604c8d7416c9eb6c0eadb62b14e766caff "[types removal] Specifying types in bulk requests is deprecated."
      warning: 299 Elasticsearch-7.17.3-5ad023604c8d7416c9eb6c0eadb62b14e766caff "[types removal] Specifying types in bulk requests is deprecated."
      warning: 299 Elasticsearch-7.17.3-5ad023604c8d7416c9eb6c0eadb62b14e766caff "[types removal] Specifying types in bulk requests is deprecated."
      warning: 299 Elasticsearch-7.17.3-5ad023604c8d7416c9eb6c0eadb62b14e766caff "[types removal] Specifying types in bulk requests is deprecated."
      warning: 299 Elasticsearch-7.17.3-5ad023604c8d7416c9eb6c0eadb62b14e766caff "[types removal] Specifying types in bulk requests is deprecated."
      warning: 299 Elasticsearch-7.17.3-5ad023604c8d7416c9eb6c0eadb62b14e766caff "[types removal] Specifying types in bulk requests is deprecated."
      warning: 299 Elasticsearch-7.17.3-5ad023604c8d7416c9eb6c0eadb62b14e766caff "[types removal] Specifying types in bulk requests is deprecated."
      warning: 299 Elasticsearch-7.17.3-5ad023604c8d7416c9eb6c0eadb62b14e766caff "[types removal] Specifying types in bulk requests is deprecated."
      warning: 299 Elasticsearch-7.17.3-5ad023604c8d7416c9eb6c0eadb62b14e766caff "[types removal] Specifying types in bulk requests is deprecated."
      warning: 299 Elasticsearch-7.17.3-5ad023604c8d7416c9eb6c0eadb62b14e766caff "[types removal] Specifying types in bulk requests is deprecated."

      ~~~

            vparfono Vitalii Parfonov
            rhn-support-ssonigra Sonigra Saurab
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: