1.4.1: Major Kubernetes features, default transport now 'http' (TLS), first party tail module!, exclude files
Release Notes
Major Kubernetes features now integrated. The default transport is now 'http' (with TLS, of course) and now retries on recoverable errors. 1st party tail module should provide more memory stability and supports reading from beginning of newly created log files (<4kb). Added more configuration options to exclude files from logdir
matches. The web socket now maintains an active keepalive to improve reliability.
Installation
Via Package Managers:
Ubuntu/Debian
echo "deb http://repo.logdna.com stable main" | sudo tee /etc/apt/sources.list.d/logdna.list
wget -O- https://s3.amazonaws.com/repo.logdna.com/logdna.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install logdna-agent < "/dev/null" # dev/null required for scripting
CentOS/Amazon Linux/RedHat Enterprise Linux
echo "[logdna]
name=LogDNA packages
baseurl=http://repo.logdna.com/el6/
enabled=1
gpgcheck=0" | sudo tee /etc/yum.repos.d/logdna.repo
sudo yum -y install logdna-agent
Windows
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
choco install logdna-agent -y
Installation instructions for Linux and Windows can also be found by running the LogDNA CLI.
Mac
Download logdna-agent.pkg below and double-click it to install/update.
Alternatively install via brew cask:
brew cask install logdna-agent
If you would like the agent to start automatically after boot, run the command:
sudo launchctl load -w /Library/LaunchDaemons/com.logdna.logdna-agent.plist
Note: the Mac version of the logdna-agent is intended for macOS Server or testing only