[for help]use influxdb relay to query data

hi,

i am very glad to use influx, but now i get some problems with relay version and then would you give us some help?

The data is wrote into the two influxdb servers successfully with using “http://host:9096/write”, and now i wanna use query url to get data from this host with “http://host:9096/query?…” ,but get error: {“error”:“invalid write endpoint”}, if i wanna get data with query url, which url should we use?

conf file:
[[http]]

bind-addr=“host:9096”
output=[
{name=“db1”,location=“http://host1:8086/write",timeout="10s”},
{name=“db2”,location=“http://host2:8086/write",timeout="10s”},
]

We are looking forward to get your replay and thank you for your kind help.

B&R

Can anybody address above question, thanks

Hi, I have build my own version for the relay as a transparent Relay ( for both ,write and query data), and with other advanced features as per point filtering/transformation.
You can download from GitHub - toni-moreno/influxdb-srelay: Service to online route, filter, modify and replicate metrics from InfluxDB or prometheus sources to InfluxDB DB's and here for docker image Docker