Hi,
is it possible to log incomming queries? I have a query which results
differ if I execute it via cURL or jQuery.
For debugging it would be great to have the possibility to log incoming
queries.
Best,
Oliver
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
dadoonet
(David Pilato)
July 31, 2013, 1:19pm
2
You can log slow queries.
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
So may be setting to something like: index.search.slowlog.threshold.query.trace: 5ms
could help?
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs
Le 31 juil. 2013 à 15:08, "Oliver B. Fischer" mailsink@swe-blog.net a écrit :
Hi,
is it possible to log incomming queries? I have a query which results differ if I execute it via cURL or jQuery.
For debugging it would be great to have the possibility to log incoming queries.
Best,
Oliver
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
Hi David,
I set all settings to 1ms but ES logs only that a slow search happened
but not the query itself. And I need the query.
It is very disappointing that ES does not support such basic
development/operations/debugging feature.
Best,
Oliver
Am 31.07.13 15:19, schrieb David Pilato:
You can log slow queries.
Elasticsearch Platform — Find real-time answers at scale | Elastic
So may be setting to something like:
index.search.slowlog.threshold.query.trace: 5ms
could help?
--
David Pilato | /Technical Advocate/ | Elasticsearch.com
http://Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr |@scrutmydocs
https://twitter.com/scrutmydocs
Le 31 juil. 2013 à 15:08, "Oliver B. Fischer" <mailsink@swe-blog.net
mailto:mailsink@swe-blog.net > a écrit :
Hi,
is it possible to log incomming queries? I have a query which results
differ if I execute it via cURL or jQuery.
For debugging it would be great to have the possibility to log
incoming queries.
Best,
Oliver
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
dadoonet
(David Pilato)
August 3, 2013, 5:22am
4
May be changing log level in logging.yml will show you some elements.
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 3 août 2013 à 01:07, "Oliver B. Fischer" mailsink@swe-blog.net a écrit :
Hi David,
I set all settings to 1ms but ES logs only that a slow search happened but not the query itself. And I need the query.
It is very disappointing that ES does not support such basic development/operations/debugging feature.
Best,
Oliver
Am 31.07.13 15:19, schrieb David Pilato:
You can log slow queries.
Elasticsearch Platform — Find real-time answers at scale | Elastic
So may be setting to something like:
index.search.slowlog.threshold.query.trace: 5ms
could help?
--
David Pilato | /Technical Advocate/ | Elasticsearch.com
http://Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr |@scrutmydocs
https://twitter.com/scrutmydocs
Le 31 juil. 2013 à 15:08, "Oliver B. Fischer" <mailsink@swe-blog.net
mailto:mailsink@swe-blog.net > a écrit :
Hi,
is it possible to log incomming queries? I have a query which results
differ if I execute it via cURL or jQuery.
For debugging it would be great to have the possibility to log
incoming queries.
Best,
Oliver
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
jprante
(Jörg Prante)
August 3, 2013, 4:45pm
5
A few months ago, I offered a patch so that lowering the log level in
logging.yml can be used to show the queries.
elastic:master
← jprante:querylogging
opened 12:21AM - 16 May 13 UTC
Hi Elasticsearch team,
some users want simple query logging, so I added some deb… ug statements. By adding a line "search: DEBUG" in logging.yml, the node requested should output some information about query execution and the JSON source.
Best,
Jörg
On Sat, Aug 3, 2013 at 7:22 AM, David Pilato david@pilato.fr wrote:
May be changing log level in logging.yml will show you some elements.
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 3 août 2013 à 01:07, "Oliver B. Fischer" mailsink@swe-blog.net a
écrit :
Hi David,
I set all settings to 1ms but ES logs only that a slow search happened but
not the query itself. And I need the query.
It is very disappointing that ES does not support such basic
development/operations/debugging feature.
Best,
Oliver
Am 31.07.13 15:19, schrieb David Pilato:
You can log slow queries.
Elasticsearch Platform — Find real-time answers at scale | Elastic
So may be setting to something like:
index.search.slowlog.threshold.query.trace: 5ms
could help?
--
David Pilato | /Technical Advocate/ | Elasticsearch.com
http://Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr |@scrutmydocs
https://twitter.com/scrutmydocs
Le 31 juil. 2013 à 15:08, "Oliver B. Fischer" <mailsink@swe-blog.net
mailto:mailsink@swe-blog.net > a écrit :
Hi,
is it possible to log incomming queries? I have a query which results
differ if I execute it via cURL or jQuery.
For debugging it would be great to have the possibility to log
incoming queries.
Best,
Oliver
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
Would be great to see this patch included in ES. I consider this patch
as very helpful for the community.
@David : It would be great if you could review this patch and apply it to
ES.
BYe,
Oliver
Am 03.08.13 18:45, schrieb joergprante@gmail.com :
A few months ago, I offered a patch so that lowering the log level in
logging.yml can be used to show the queries.
Simple query logging for debugging by jprante · Pull Request #3041 · elastic/elasticsearch · GitHub
Best,
Jörg
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
I was able to capture the query send by jQuery with an capturing session
with Wireshark. Now I know why the jQuery result is different from the
cURL result.
This is of course a workaround...
Am 03.08.13 07:22, schrieb David Pilato:
May be changing log level in logging.yml will show you some elements.
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 3 août 2013 à 01:07, "Oliver B. Fischer" mailsink@swe-blog.net a écrit :
Hi David,
I set all settings to 1ms but ES logs only that a slow search happened but not the query itself. And I need the query.
It is very disappointing that ES does not support such basic development/operations/debugging feature.
Best,
Oliver
--
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 .
For more options, visit https://groups.google.com/groups/opt_out .
Hi Oliver,
I got the same issue of getting different results for a elasticsearch query using python requests and a normal curl request.
Is it because of any internal cache issues within elasticsearch? Can you help me solve this.
Thank you,
Santosh