# Logging every query

**URL:** <https://discuss.elastic.co/t/logging-every-query/18983>\
**Category:** Elasticsearch\
**Created:** [July 30, 2014, 5:29pm UTC](https://discuss.elastic.co/t/logging-every-query/18983 "2014-07-30T17:29:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alejandro\_de\_la\_Vina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejandro_de_la_vina/32/1361_2.png) [@Alejandro\_de\_la\_Vina](https://discuss.elastic.co/u/Alejandro_de_la_Vina)\
**Post date:** [July 30, 2014, 5:29pm UTC](https://discuss.elastic.co/t/logging-every-query/18983/1 "2014-07-30T17:29:55Z")

</div>

've got an enviroment set on Dev that should keep a log with every query  
ran, but it's not writing anything. I'm using the slow-log feature for  
it...

These are my thresholds on the elasticsearch.yml:

> <http://pastebin.com/raw/qfwnruhD>

And this is my whole logging.yml:

> <http://pastebin.com/raw/aXg8xHNE>

I'm using ElasticSearch 1.3.1 in this enviroment.

However, the file is not moving forward:

-rw-r--r-- 1 root staff 0 Jul 29 13:23  
elastictest\_index\_search\_slowlog.log

Elastic is running as root as well. Any thoughts on what I am missing?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4f9847b6-4cee-4df8-afef-272368a0d488%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4f9847b6-4cee-4df8-afef-272368a0d488%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Alejandro\_de\_la\_Vina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejandro_de_la_vina/32/1361_2.png) [@Alejandro\_de\_la\_Vina](https://discuss.elastic.co/u/Alejandro_de_la_Vina)\
**Post date:** [August 1, 2014, 11:17am UTC](https://discuss.elastic.co/t/logging-every-query/18983/2 "2014-08-01T11:17:14Z")

</div>

Any ideas? I've tried everything and still nothing.

On Wednesday, July 30, 2014 2:29:55 PM UTC-3, Alejandro de la Viña wrote:

> 've got an enviroment set on Dev that should keep a log with every query  
> ran, but it's not writing anything. I'm using the slow-log feature for  
> it...
> 
> These are my thresholds on the elasticsearch.yml:
> 
> [http://pastebin.com/raw.php?i=qfwnruhD](http://pastebin.com/raw.php?i=qfwnruhD)
> 
> And this is my whole logging.yml:
> 
> [http://pastebin.com/raw.php?i=aXg8xHNE](http://pastebin.com/raw.php?i=aXg8xHNE)
> 
> I'm using Elasticsearch 1.3.1 in this enviroment.
> 
> However, the file is not moving forward:
> 
> -rw-r--r-- 1 root staff 0 Jul 29 13:23  
> elastictest\_index\_search\_slowlog.log
> 
> Elastic is running as root as well. Any thoughts on what I am missing?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/136eb992-be45-45ae-8658-7bc22aa3d891%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/136eb992-be45-45ae-8658-7bc22aa3d891%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:11am UTC](https://discuss.elastic.co/t/logging-every-query/18983/3 "2017-07-06T01:11:43Z")

</div>


