Capture calls and reads of a token

Hello,

We have an InfluxDB with different buckets and tokens, each with access to a corresponding bucket. The tokens are used to access the InfluxDB from the outside and read values from the respective bucket.

Now we would like to record how many accesses a token has made per month and preferably how many values a token has read.

Is this possible?

Best regards

Hello @cunnect,
If youre using v2 you can use:

Hello @Anaisdg,

Thank you for your tip. I had also looked at /metrics. Unfortunately, I can’t find a way to retrieve all accesses from a specific token to a specific bucket. Can you help me?

Does anyone else have an idea? I have already activated the logging in the bucket _monitoring in the config.toml via log-level = “info”, metrics-disabled = true and flux-log-enabled = “true”. Unfortunately without success.