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).
Примеры использования
system logging listsystem logging clearsystem logging get_days2keepsystem logging set_days2keep 7