-
Bug
-
Resolution: Unresolved
-
Minor
-
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]
Attachment | New: image-2022-11-18-16-01-41-058.png [ 59514 ] |
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.