# Elasticsearch hits in logs per index

**URL:** <https://discuss.elastic.co/t/elasticsearch-hits-in-logs-per-index/217199>\
**Category:** Elasticsearch\
**Created:** [January 30, 2020, 1:44pm UTC](https://discuss.elastic.co/t/elasticsearch-hits-in-logs-per-index/217199 "2020-01-30T13:44:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![negiadventures](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/negiadventures/32/61387_2.png) [@negiadventures](https://discuss.elastic.co/u/negiadventures)\
**Post date:** [January 30, 2020, 1:44pm UTC](https://discuss.elastic.co/t/elasticsearch-hits-in-logs-per-index/217199/1 "2020-01-30T13:44:47Z")

</div>

Is there a way in which we can track the hits for each query in log file?

---

<div class="post-metadata">

**Author:** ![jfmatthews](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jfmatthews/32/61744_2.png) [@jfmatthews](https://discuss.elastic.co/u/jfmatthews)\
**Post date:** [January 30, 2020, 2:11pm UTC](https://discuss.elastic.co/t/elasticsearch-hits-in-logs-per-index/217199/2 "2020-01-30T14:11:38Z")

</div>

i'm also having the same question.

The only one I've found is the "Slowlog":  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-slowlog.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-slowlog.html)

But I don't think that is the best way 😕

---

<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:** [February 27, 2020, 2:11pm UTC](https://discuss.elastic.co/t/elasticsearch-hits-in-logs-per-index/217199/3 "2020-02-27T14:11:42Z")

</div>

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