Deploy

Central Logging is just a single binary executable that serves an HTTPS server. It will automatically handle TLS/HTTPS for you using Let’s Encrypt. This makes setting up the service easy. Just copy the file to your server and execute.

System Requirements

We recommend at least 1GB of ram; however, it will depend on the size of your logs. 1GB of ram works well for 15GB of logs with 15 day retention.

Deploy to Server/VPS

  • SSH to your host machine
  • Download Central Logging for your OS and CPU arch.
  • For example if you have a Linux amd64 server: wget https://www.centrallogging.com/downloads/centrallogging-linux-amd64.zip
  • unzip it unzip centrallogging-linux-amd64.zip
  • Grant permission to bind to port 80/443 (we don’t want full admin priv.): sudo setcap CAP_NET_BIND_SERVICE=+eip centrallogging-linux-amd64
  • Run it ./centrallogging-linux-amd64
  • Navigate to yourdomain.com and follow setup instructions
  • Make sure HTTPS/TLS is working
  • Ctrl+C to stop
  • Install as a permanent systemd service with sudo ./centrallogging-linux-amd64 -install so it starts on boot
  • sudo systemctl enable centrallogging
  • sudo systemctl start centrallogging
  • Done

Run locally

You can also skip HTTPS/TLS and run locally or put a reverse proxy in front of it. Just specify the PORT environment variable to something other than :80. For example PORT=:8080 ./centrallogging-linux-amd64

💌 Get notified on new features and updates

Only sent when a new version is released. Nothing else.