Closed
Description
Motivation
In production client and ClickHouse are usually not connected directly. So we can not get which client send a query in system.query_log table.
But we need it in some case for examaple log auditing.
How to achieve?
- For Native protocal:
client_hostname
- For Http protocal:
http_referer
Add client address to http referer by default #1573