Open Aleksey-Maksimov opened 3 months ago
Hello :)
Were you able to verify via a curl command that you were able to authenticate? Were you able to verify that you were able to query the path: http://localhost:8086/query?epoch=s
?
I think username and password are not enough for InfluxDB v2. As far as I understand, it uses an access token to connect to the InfluxDB v2 API, but "database::influxdb::plugin" does not have options to pass the token.
Ok if I well understand the api.pm
custom mode needs an update with a token handling to ensure compatibility with InfluxDB v2? If so, can you provide us the API doc/endpoint that would ensure authentication with a token rather than a combination of username and password?
Official API documentation here https://docs.influxdata.com/influxdb/v2/api/
Hello :)
First thanks for the documentation link. And to facilitate the addition of token authentication in the plugin, can you provide us the curl commands and JSON returns which may allow us to simulate your connection environment (and why not test list-database mode)?
I don't understand what "curl commands" you are talking about.
I think I found what I was looking for in the TokenAuthentication section.
Hello. Is InfluxDB v2 supported in the plugin "database::influxdb::plugin" ?