xelber
xelber

Reputation: 4637

ElasticSearch - PHP - grab the last query

Is there any way of dumping the last run query in json format (or otherwise) in Elastic Search? Ideally while working with PHP Lib. (https://github.com/elastic/elasticsearch-php)

Upvotes: 0

Views: 302

Answers (1)

Val
Val

Reputation: 217494

If you set the log level to DEBUG you should see the request being sent and the received response in the debug log.

Upvotes: 2

Related Questions