raboof / beats-output-http

HTTP output producer for the Elastic Beats framework
Other
51 stars 38 forks source link

failed to publish events: 405 Method Not Allowed #15

Closed daoxiaonoodles closed 2 years ago

daoxiaonoodles commented 2 years ago

I got this error when using output.http,can anyone has some idea to resolve this?

filebeat version:7.3.0 es version:7.3.0

filebeat.yml output.http: enabled: true hosts: ["localhost:9200"] indices:

2022-11-12T11:51:26.793+0800 ERROR [publisher_pipeline_output] pipeline/output.go:180 failed to publish events: 405 Method Not Allowed 2022-11-12T11:51:26.794+0800 INFO [publisher_pipeline_output] pipeline/output.go:143 Connecting to backoff(http://localhost:9200/) 2022-11-12T11:51:26.794+0800 INFO [publisher_pipeline_output] pipeline/output.go:151 Connection to backoff(http://localhost:9200/) established 2022-11-12T11:51:26.794+0800 INFO [publisher] pipeline/retry.go:219 retryer: send unwait signal to consumer 2022-11-12T11:51:26.794+0800 INFO [publisher] pipeline/retry.go:223 done

daoxiaonoodles commented 2 years ago

wrong