diff --git a/.gitignore b/.gitignore
index adca6d9..e869ca5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
*
!compose.yml
-!clickhouse
+!clickhouse/
+!clickhouse/**
!README.md
!.gitignore
diff --git a/clickhouse/ipv4.xml b/clickhouse/ipv4.xml
new file mode 100644
index 0000000..aa5abc5
--- /dev/null
+++ b/clickhouse/ipv4.xml
@@ -0,0 +1,4 @@
+
+
+ 0.0.0.0
+
diff --git a/clickhouse/logs.xml b/clickhouse/logs.xml
new file mode 100644
index 0000000..acd4116
--- /dev/null
+++ b/clickhouse/logs.xml
@@ -0,0 +1,43 @@
+
+
+ warning
+ true
+
+
+
+ system
+
+ 7500
+
+ ENGINE = MergeTree
+ PARTITION BY event_date
+ ORDER BY (event_time)
+ TTL event_date + interval 30 day
+ SETTINGS ttl_only_drop_parts=1
+
+
+
+
+ event_date
+ event_date + INTERVAL 30 DAY DELETE
+
+
+
+ event_date
+ event_date + INTERVAL 30 DAY DELETE
+
+
+
+
+
+
+
+
+
+
+