'Elastic/Filebeat - Incorrect HTTP method for uri [/<filebeat-7.16.0-{now/d}-000001>] and method [PUT], allowed: [POST]","status":405

I'm running on nginx in my docker container, I installed filebeat and configured it so that the nginx access and error logs are sent directly to my elastic/kibana but the logs are not appearing or being sent.

Running a log in my container I noticed that there is this error, has anyone gone through this or could tell me what the problem is?

The filebeat.yml file is configured correctly since there are no more errors in the image.

"Incorrect HTTP method for uri [/<filebeat-7.16.0-{now/d}-000001>] and method [PUT], allowed: [POST]"



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source