There is currently very little configuration required to use Central Logging. Most configuration is done through the web interface. However, there are a few things that can be configured via environment variables and CLI flags.
-v — Display the application version and build date-install — Install Central Logging as a systemd service (requires sudo)-update — Download and install the latest version of the binaryPORT — HTTP listen address and port. Defaults to :80. Set this when running locally or behind a reverse proxy (e.g. PORT=:8080).To enable S3 compatible backups, set the following environment variables:
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYBACKUP_AWS_REGIONBACKUP_S3_BUCKETAfter initial setup, the following settings are available in the Settings page:
Each log source can be configured individually:
Central Logging stores all data in a cl-data/ directory relative to the binary:
cl-data/
├── db.db # Main application database
├── sessions.db # Session store
├── {source-token}/
│ └── logs.db # Per-source log database
└── metrics/
└── {metric-token}/
└── metrics.db # Per-metric time-series data
Backups of the main database are created automatically on a daily schedule.
💌 Get notified on new features and updates