loki
Использование
loki [-h] [--to_file] {check,list,clear,config,storage_retention,set_storage_retention} ...
Описание
Команды управления Loki.
Аргументы
check- Check Loki.list- List currently existing logs indexes.clear- Clear currently existing logs indexes.config- See current config.storage_retention- Get currently hours to keep logs.set_storage_retention- Время хранения журналов в часах.--to_file- Redirect output to file (/tmp/cli-stdout.txt).
Примеры использования
loki listloki clearloki configloki storage_retentionloki set_storage_retention 72loki check