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 list
- loki clear
- loki config
- loki storage_retention
- loki set_storage_retention 72
- loki check