Commit Graph

10 Commits

Author SHA1 Message Date
Aleksei Nikiforov
d8bde76fd2 Make audit data buffer size unconfigurable 2020-01-27 13:07:59 +03:00
Aleksei Nikiforov
a42ec11de1 Serialize and save data before sending it to write thread 2020-01-27 13:07:59 +03:00
Aleksei Nikiforov
8e2910ab94 Add bufferization of data and separate writer thread
Add time and count limit and configuration options for them.
If no limits are set, separate thread is not used.
2020-01-27 13:07:59 +03:00
Aleksei Nikiforov
1895289a87 Add buffered logging and new option for logfile location 2020-01-27 13:07:59 +03:00
Aleksei Nikiforov
10b9a9c159 Enable reconnect to clickhouse server by default 2020-01-27 13:07:59 +03:00
Aleksei Nikiforov
d7ac138531 Implement clickhouse database creation 2019-12-17 14:33:32 +03:00
Aleksei Nikiforov
2875907d35 Add file with audit types mapping 2019-12-17 14:32:09 +03:00
Aleksei Nikiforov
cfd18dd0d9 Initial processing of audit types added 2019-12-17 14:32:09 +03:00
Aleksei Nikiforov
7f1ed9da8f Add clickhouse config parsing and initial audit setup 2019-12-16 16:42:52 +03:00
Aleksei Nikiforov
35d96682eb Initial commit 2019-12-16 16:42:40 +03:00