How to get in the analytics a list of completed queries with a filter for a specified date (for example, yesterday) ? In the query monitor I only see the last 50 queries, but how can I find queries for yesterday in a specific time period?
The REST API is documented here … I do not find any parameters to select a subset.
Analytics Administration REST APIs | Couchbase Docs
May be any other methods to get logs ?
You can increase the requests archive size to something higher:
curl -v -u Administrator:password -X PUT
-d requestsArchiveSize=100
http://localhost:8095/analytics/config/service
You will have to restart the Analytics service so that the change takes effect. Note that the requests history size is kept in memory. Therefore, after restart, the current history will be lost and it will start empty.