
create class if not exists /test();

alter /test/ drop column bklog3
/**
onerror(continue)
noerrinfo()
**/
;

create class if not exists /test/bucketlog (
   		
    host	varchar,
    bklog	bucket {
                    "type"  : 	"bitlog",
                    "files":	["*.log"],
                    "sample" :	["2020-05-15 00:49:59,666"],
                    "ttl"   :   365
                    } 'full',

    keys(host),
    indexes(host)

) with key=manu, nickname='bucketlog'
;

create class if not exists /test/bucketlog2 (
    
    host	varchar,
    bklog2	bucket {
                    "type"  : 	"bitlog",
                    "files":	["*.log"],
                    "sample" :	["2020-05-15 00:49:59,666"],
                    "ttl"   :   365
                    } 'full',

    keys(host),
    indexes(host)

) with key=manu, nickname='bucketlog2'
;
