Skip to content

1.3.6: If individual log files missing at startup, rescan for file each minute. Overridable hostname

Compare
Choose a tag to compare
@leeliu leeliu released this 22 Sep 10:46
· 328 commits to master since this release

Release Notes

Individual log files will now scan for the specified filename each minute, if it didn't exist at agent startup, just like scanning for new files in directories. Hostname is now overridable through hostname config var.

Installation

Via Package Managers:

Ubuntu/Debian/Linux Mint

echo "deb http://repo.logdna.com stable main" | sudo tee /etc/apt/sources.list.d/logdna.list
wget -O- http://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 update
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