Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67546

Logstash plugin compatibility with Elasticsearch 8

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • logstash-plugin
    • None

      I'm somewhat worried about the imminent ES 8 release. I'm not sure the logstash-plugin is compatible as-is.

      Particularly the complete removal of index types: https://www.elastic.co/guide/en/elasticsearch/reference/7.16/removal-of-types.html

      At the very least: https://github.com/jenkinsci/logstash-plugin/blob/master/src/main/resources/jenkins/plugins/logstash/configuration/ElasticSearch/help-uri.html will need to be updated. Perhaps with specific instructions for ES 8+

      It might actually be useful to change this even before ES 8 release. Using the suggested configuration with ES 7 already results in ES logs such as:

      {"type": "deprecation.elasticsearch", "timestamp": "2022-01-10T04:09:43,385Z", "level": "CRITICAL", "component": "o.e.d.r.a.d.RestIndexAction", "cluster.name": "my-cluster", "node.name": "elasticsearch", "message": "[types removal] Specifying types in document index requests is deprecated, use the typeless endpoints instead (/{index}/_doc/{id}, /{index}/_doc, or /{index}/_create/{id}).", "key": "index_with_types", "category": "types", "cluster.uuid": "K8s_R87TS-ZRNAigt2_MTQ", "node.id": "pHcZYaUxTC3X3Hzom7sUyQ"  }
      

            jbochenski Jakub Bochenski
            paybas Pay Bas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: