# Is there a way to log http requests on port 9200?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-log-http-requests-on-port-9200/42771>\
**Category:** Elasticsearch\
**Created:** [February 25, 2016, 7:14pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-http-requests-on-port-9200/42771 "2016-02-25T19:14:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![photonic\_world\_2](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@photonic\_world\_2](https://discuss.elastic.co/u/photonic_world_2)\
**Post date:** [February 25, 2016, 7:14pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-http-requests-on-port-9200/42771/1 "2016-02-25T19:14:01Z")

</div>

Is there a configuration to enable request logging on http port 9200?

I want to track all the POST requests issued against elasticsearch REST interface

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 25, 2016, 7:25pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-http-requests-on-port-9200/42771/2 "2016-02-25T19:25:09Z")

</div>

Shield can do this for you!  
You could also put a proxy in front to catch these.

---

<div class="post-metadata">

**Author:** ![photonic\_world\_2](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@photonic\_world\_2](https://discuss.elastic.co/u/photonic_world_2)\
**Post date:** [February 25, 2016, 7:54pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-http-requests-on-port-9200/42771/3 "2016-02-25T19:54:37Z")

</div>

Any other way to just see the logs. I would like to see these logs meanwhile we evaluate shield.

---

<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:** [July 5, 2017, 11:13pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-log-http-requests-on-port-9200/42771/4 "2017-07-05T23:13:36Z")

</div>


