ClickHouse / ClickHouse/ClickHouse

log more information from http client

Open
#45,088 0 comments 0 reactions 0 assignees View on GitHub
comp-protocols external feature
Dominant language
C++
Stars
49.9k
Forks
9k
Avg merge
21h 32m
Merged PRs (30d)
515

Description

Can we enhance ClickHouse server to log more information from http client into system.query_log table?

| HTTP Header | Column in system.query_log | Remark |
| ------------- | ----------------------------- | ------- |
| X-ClickHouse-OS-User | os_user | |
| X-ClickHouse-Client-Host | client_hostname | |
| User-Agent | client_name, client_revision, client_version_major, client_version_minor, client_version_patch | extract corresponding parts from user agent string |

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.