HTTP sink URI template variables not working for Doris multi-table writing #24005
-
QuestionI'm using Vector's HTTP sink component to write data to Apache Doris. Currently, I have successfully implemented writing to a single table with a fixed URI. However, I want to use the same HTTP sink to write to multiple Doris tables dynamically. I tried using template variables in the URI like Vector Config[sinks.doris_sink]
type = "http"
inputs = ["my_source"]
uri = "http://172.19.2.130:31006/api/logs_app/{{ index }}/_stream_load" # Not working
method = "put"Vector Logs |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The templateable You seem to be running |
Beta Was this translation helpful? Give feedback.
The templateable
uriin thehttpsink was added by #23288, which first appeared in Vector 0.49You seem to be running
Vector/0.42.0, please update your Vector version to the latest and try this again and it should work if you are getting an event with theindexfield