5

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.

Gregor
  • 1,297
  • 1
  • 19
  • 31

1 Answers1

4

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.

Andrew Grothe
  • 2,562
  • 1
  • 32
  • 48
  • thanks I didn't find this in the docs, so it was hidden in the release notes,-) will try this out... – Gregor Nov 18 '17 at 17:13