# Log every request

**URL:** https://discuss.elastic.co/t/log-every-request/141997
**Category:** Elasticsearch
**Created:** [July 27, 2018, 8:41pm UTC](https://discuss.elastic.co/t/log-every-request/141997 "2018-07-27T20:41:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![simplesmente](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simplesmente/32/24658_2.png) [@simplesmente](https://discuss.elastic.co/u/simplesmente)
#### Post date: [July 27, 2018, 8:41pm UTC](https://discuss.elastic.co/t/log-every-request/141997/1 "2018-07-27T20:41:58Z")

</div>

Hi, everyone.

I need to log every request made to Elasticsearch and its response for making reports purposes.  
I'm thinking of creating a new index to hold all this information. The thing is that I need to analyse queries people are submitting and their responses.

Is there any feature that I can use to this matter? Any other suggestions that I can follow in order to create these reports in future projects?

Thanks,  
Claudio

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [July 27, 2018, 11:34pm UTC](https://discuss.elastic.co/t/log-every-request/141997/2 "2018-07-27T23:34:28Z")

</div>

May be the easiest way would be to add packetbeat on port 9200 on the same machines nodes are running?

---

<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: [August 24, 2018, 11:34pm UTC](https://discuss.elastic.co/t/log-every-request/141997/3 "2018-08-24T23:34:48Z")

</div>

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