以下示例展示了 Vector 中 ClickHouse 接收器的 toml
配置文件
[sinks.clickhouse]
type = "clickhouse"
inputs = ["<your_vector_source>"]
endpoint = "https://<clickhouse_host>:8443"
database = "<database_name>"
table = "<table_name>"
auth.strategy = "basic"
auth.user = "username"
auth.password = "password"