1.4.5: Log line filtering, better support for Kubernetes, proxy support
Release Notes
- Fixed GKE issues in 1.4.2
- Allow log line filtering using regex
- Allow file & log line exclusions via environment variables
- Supports minikube deployments
- Replaced
got
module withrequest
to support HTTP/HTTPS proxys - Fixed bug with instance metadata service (that's not AWS or DigitalOcean)
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