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

getting a no handler found for uri [/neelam/jenkins] and method [POST]

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • logstash-plugin
    • None

      Hi I have followed https://lalit-soni.medium.com/how-to-analyse-jenkins-build-logs-with-elasticsearch-logstash-and-kibana-elk-stack-ad372429858d to setup logstash to send logs to elasticsearch. worked fine till now but today i am getting getting a no handler found for uri [/neelam/jenkins] and method [POST] This same config worked fine till now. My jenkins version is 2.361 and elk is 8.4.2

          [JENKINS-69823] getting a no handler found for uri [/neelam/jenkins] and method [POST]

          Tom added a comment - - edited

          We were experiencing this issue also.  After some research, we found that newer versions of Elasticsearch no longer accept a default mapping ([Removal of mapping types | Elasticsearch Guide [7.17] | Elastic|https://www.elastic.co/guide/en/elasticsearch/reference/7.17/removal-of-types.html]).  The Jenkins plugin assumes the 'default page'.  We simply added a /_doc at the end of the URI for Elastic Search and it corrected the issue.

           

          Tom added a comment - - edited We were experiencing this issue also.  After some research, we found that newer versions of Elasticsearch no longer accept a default mapping ([Removal of mapping types | Elasticsearch Guide [7.17] | Elastic|https://www.elastic.co/guide/en/elasticsearch/reference/7.17/removal-of-types.html]).  The Jenkins plugin assumes the 'default page'.  We simply added a /_doc at the end of the URI for Elastic Search and it corrected the issue.  

            jbochenski Jakub Bochenski
            neelam_z neelam zanvar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: