简体   繁体   中英

how can I see which queries have been sent to the ArangoDB server

I want to quickly gather all queries sent to my ArangoDB server from an application that uses the python-arangodb driver without digging through the source and without resorting to sniffing HTTP traffic to the REST API.

Isn't there some admin/audit log on the ArangoDB web UI which shows me what queries have been sent to the server?

Using 3.2.5 here.

You can have all the queries sent to a log file from 3.x and up.

Start with option: --log.level queries=trace --log.output queries=file:///path/to/queries.log

From: https://docs.arangodb.com/devel/Manual/ReleaseNotes/NewFeatures30.html

Only other way is to implement the logging at the driver level, as far as I know.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM