Telegraf v1.22 supports ClickHouse as SQL output
This is ClickHouse output plugin for Telegraf, meant to be used externally via telegraf's execd output plugin
Download or compile binary, create config (you can use plugin.conf as reference) and enable it in telegraf's config:
[[outputs.execd]]
command = ["/foo/bar/telegraf-clickhouse-plugin", "-config", "/foo/bar/blabla.conf"]
signal = "none"