-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: tests for access log transmission to Clickhouse server #2269
Comments
I'll deploy the Clockhouse logs on our website, so there will be manual testing and we can move the task to 0.9. Things to test:
|
|
Done in tempesta-tech/tempesta-test#749 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To verify the correct operation of the access log transmission from the Tempesta FW ring buffer, mapped to userspace, to a Clickhouse server via a user-space utility
utils/tfw_logger
. This test will ensure that access logs are correctly generated by Tempesta FW, and transmitted to the Clickhouse server without data loss or corruption.Clickhouse has SQL-like query syntax.
Access log table creation:
CREATE TABLE IF NOT EXISTS access_log (timestamp DateTime64, address IPv6, method UInt8, version UInt8, status UInt16, response_content_length UInt32, response_time UInt32, vhost String, uri String, referer String, user_agent String, dropped_events UInt64, PRIMARY KEY(timestamp))
For tests I used Clickhouse client/server downloaded as
curl https://clickhouse.com/ | sh
. But I think it would be better to install the server from distro repositories.The text was updated successfully, but these errors were encountered: