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

**URL:** https://discuss.elastic.co/t/incorrect-http-method-for-uri-filebeat-7-16-0-now-d-000001-and-method-put-allowed-post/300629
**Category:** Beats
**Tags:** docker, filebeat
**Created:** [March 24, 2022, 7:41pm UTC](https://discuss.elastic.co/t/incorrect-http-method-for-uri-filebeat-7-16-0-now-d-000001-and-method-put-allowed-post/300629 "2022-03-24T19:41:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![claudioemmanuel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/claudioemmanuel/32/103501_2.png) [@claudioemmanuel](https://discuss.elastic.co/u/claudioemmanuel)
#### Post date: [March 24, 2022, 7:41pm UTC](https://discuss.elastic.co/t/incorrect-http-method-for-uri-filebeat-7-16-0-now-d-000001-and-method-put-allowed-post/300629/1 "2022-03-24T19:41:08Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/c/bcc8e0ee4fcad52fa57b8e0cdc116643ea6899f0.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 21, 2022, 9:41pm UTC](https://discuss.elastic.co/t/incorrect-http-method-for-uri-filebeat-7-16-0-now-d-000001-and-method-put-allowed-post/300629/2 "2022-04-21T21:41:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
