platforms / linux / installation / amazon-linux

Installing the Timber Agent on Amazon Linux

Execute this shell script on the desired Amazon Linux server to install the Timber Agent

1
2
3
4
5
6
7
8
9
10
curl -o /opt/timber-agent.tar.gz https://packages.timber.io/agent/0.5.x/linux-amd64/timber-agent-0.5.x-linux-amd64.tar.gz
cd /opt
tar -xzf timber-agent.tar.gz
rm timber-agent.tar.gz
cp /opt/timber-agent/support/config/timber.basic.toml /etc/timber.toml
$EDITOR /etc/timber.toml ## This command requires input from you
cp /opt/timber-agent/support/scripts/logrotate.d/timber-agent-sysv /etc/logrotate.d/timber-agent
cp /opt/timber-agent/support/scripts/startup/sysv-epel/timber-agent /etc/rc.d/init.d/
chkconfig --add timber-agent
service timber-agent start

Be sure to replace the path settings in /etc/timber.toml with your desired log paths.

For a line-by-line explanation of what is happening, read this doc.

Questions?

Chat with us, just click the talk button in the bottom right of this page.

Chat with us
Sign Up

Log better and solve problems faster, today. Install in under a minute.

Sign Up