cells-enterprise admin clean logs
Truncate log indexes to a given size
Synopsis
DESCRIPTION
Appart from rotated log files, logs are indexed inside an on-file database for high-performance analysis and search. These indexes are rotated (50MB size by default) and you can use this command to remove the oldest index files. The most recent index will always be kept. Specify the size threshold using bytes unit: 50MB, 5mb, 1GB, etc...
EXAMPLES
Truncate log indexes to 50MB :
$ ./cells-enterprise admin clean logs --service=log --threshold=50MB
./cells-enterprise admin clean logs [flags]
Options
-h, --help help for logs
-s, --service string Log service to truncate (use log by default) (default "log")
-t, --threshold string Size of logs to keep, specify in bytes (e.g 50MB, 1GB, ...)
Options inherited from parent commands
--advertise_address string Default advertise address (default "127.0.0.1")
--broker string Pub/sub service for events between services (default "grpc://:8030")
--config string Configuration storage URL. Supported schemes: etcd|etcd+tls|file|grpc|mem|vault|vaults (default "file:///home/teamcity/.config/pydio/cells/pydio.json")
--discovery string Registry and pub/sub (default "grpc://:8030")
--grpc_client_timeout string Default timeout for long-running GRPC calls, expressed as a golang duration (default "60m")
--registry string Registry used to contact services (default "grpc://:8030")
SEE ALSO
- ./cells-enterprise admin clean - Housekeeping commands