Created
October 26, 2017 17:28
-
-
Save cjimti/43167e4efdf92c129747cc39c26e62b0 to your computer and use it in GitHub Desktop.
collector-log-table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE log ( | |
client text, | |
type text, | |
day int, | |
date timestamp, | |
event_uuid uuid, | |
log_uuid uuid, | |
level text, | |
context text, | |
payload text, | |
PRIMARY KEY ((client, type, day), date, log_uuid) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment