Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clickhouse simple log view

  • my log table create sql:
create table default.log(
  time DateTime64(3, 'Asia/Shanghai'),
  traceId String,
  level LowCardinality(String),
  server LowCardinality(String),
  prod LowCardinality(String),
  className String,
  simpleMsg String,
  message String,
)Engine = MergeTree()
PARTITION BY toYYYYMMDD(time)
ORDER BY time 
TTL toDate(time) + toIntervalDay(20)

for kafka+Filebeat+clickhouse

About

clickhouse log view

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages