Skip to content

Sending client hostname(ip) to ClickHouse by default #1572

Closed
@JackyWoo

Description

@JackyWoo

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?

  1. For Native protocal: client_hostname
  2. For Http protocal: http_referer Add client address to http referer by default #1573

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions