You can install the Agent easily by downloading and running our shell script.
1. Get or create a Write Log API Key from your account. Click the User Menu -> "API Keys" -> Scroll to the "Log Access Keys" and locate a key with "Write" Access
2. Download Latest Agent
curl -sO https://www.scalyr.com/install-agent.sh
3. Run install script with the following parameters
sudo bash ./install-agent.sh \
--set-api-key "API-KEY-HERE" # optional
--set-scalyr-server "https://upload.eu.scalyr.com" # if account is on EU cluster, otherwise, US is used by default
4. Start Agent
sudo scalyr-agent-2 start
Comments
0 comments
Please sign in to leave a comment.