Install the Scalyr Upload Agent

Log in to your account and generate a "Log Write Access" API key.

Paste this into a terminal window on your host:

  • curl -sO
  • sudo bash ./ --set-api-key "[YOUR_API_KEY]"

You should see output like this:

Installing scalyr-agent-2:
Extracting configuration packages from downloaded script.
Success installing Scalyr agent.

The "scalyr-server" configuration variable defaults to our US servers at "". Customers with EU accounts will have to set this variable to "":

  • sudo scalyr-agent-2-config --set-scalyr-server