| 1 |
table_create Logs TABLE_NO_KEY |
| 2 |
column_create Logs message COLUMN_SCALAR ShortText |
| 3 |
|
| 4 |
table_create Terms TABLE_PAT_KEY ShortText \ |
| 5 |
--default_tokenizer TokenBigram \ |
| 6 |
--normalizer NormalizerAuto |
| 7 |
column_create Terms logs_message COLUMN_INDEX|WITH_SECTION Logs message |
| 8 |
|
| 9 |
load --table Logs |
| 10 |
[ |
| 11 |
{"message": "Shutdown"} |
| 12 |
] |
| 13 |
|
| 14 |
log_level --level info |
| 15 |
#@add-important-log-levels info |
| 16 |
#@add-ignore-log-pattern /\A\[io\]/ |
| 17 |
select Logs --filter 'message @ "Shutdown"' --cache no |
| 18 |
object_set_visibility --name Terms.logs_message --visible no |
| 19 |
select Logs --filter 'message @ "Shutdown"' --cache no |
| 20 |
#@remove-ignore-log-pattern /\A\[io\]/ |
| 21 |
#@remove-important-log-levels info |
| 22 |
log_level --level notice |