Notices: This section not yet converted to new layout. Download stats are rolling back out.

LogDNA Agent for Windows

1.5.5.20181121

Package test results are passing.

This package was approved as a trusted package on 2/25/2019.

LogDNA's collector agent which streams log files to your LogDNA account.

To install LogDNA Agent for Windows, run the following command from the command line or from PowerShell:

C:\> choco install logdna-agent

To upgrade LogDNA Agent for Windows, run the following command from the command line or from PowerShell:

C:\> choco upgrade logdna-agent

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $packageParameters = $env:chocolateyPackageParameters
    
    IF(!($packageParameters))
    {
        if(!(Test-Path -Path $env:ALLUSERSPROFILE\logs)){
            New-Item -ItemType directory -Path $env:ALLUSERSPROFILE\logs -Force
        }
        if(!(Test-Path -Path $env:ALLUSERSPROFILE\logs\logdna-agent.log)){
            New-Item -ItemType file -Path $env:ALLUSERSPROFILE\logs\logdna-agent.log -Force
        }
        if(!(Test-Path -Path $env:ALLUSERSPROFILE\logdna)){
            New-Item -ItemType directory -Path $env:ALLUSERSPROFILE\logdna -Force
        }
        if(Test-Path -Path $env:ALLUSERSPROFILE\logdna\winTail.ps1){
            Remove-Item $env:ALLUSERSPROFILE\logdna\winTail.ps1 -Force
        }
        Copy-Item $PSScriptRoot\winTail.ps1 -Destination $env:ALLUSERSPROFILE\logdna\winTail.ps1 -Force
        cmd.exe /c "nssm.exe install logdna-agent $env:ChocolateyInstall\bin\logdna-agent.exe & exit /b 0"
        cmd.exe /c "nssm.exe set logdna-agent AppStdout $env:ALLUSERSPROFILE\logs\logdna-agent.log & exit /b 0"
        cmd.exe /c "nssm.exe set logdna-agent AppStderr $env:ALLUSERSPROFILE\logs\logdna-agent.log & exit /b 0"
    }
    
    $registryPath = "HKLM:\SYSTEM\CurrentControlSet\Services\logdna-agent\Parameters"
    
    IF(!(Test-Path $registryPath))
    {
        New-Item -Path $registryPath -Force
    }
    
    New-ItemProperty -Path $registryPath -Name 'AppStopMethodSkip' -Value 0xe -PropertyType DWORD -Force
    
  • tools\LICENSE.txt Show
    Copyright 2016-2018 LogDNA, Inc.
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • tools\logdna-agent.exe Show
    md5: E4505E0682F65FD26C0D72DADF3A415A | sha1: AFE99B47CF3734A388368FDF0D0D29F792DAA8C4 | sha256: 1314742FD5EB757E4CE16562EE6587B20C39EB7415FE049A63779792F7A0FDAF | sha512: 84D1A4F86918931F8EE0C4E7875D95820ED709979D73E2480130C4A0F083A5D13D472034849592ABB325B8972D837EB92A5A77994956DF2A89550B9DC1A67F47
  • tools\VERIFICATION.txt Show
    VERIFICATION
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
    
    To verify the logdna-agent.exe:
    
    1. Download <https://s3.amazonaws.com/repo.logdna.com/win/logdna-agent.1.5.5.20181121.zip> which includes "logdna-agent.exe"
    2. You can use one of the following methods to obtain the checksum
      - Use powershell function 'Get-Filehash'
      - Use chocolatey utility 'checksum.exe'
    
      checksum type: sha256
      checksum: 9daf22c15f4f42e8c7ac4cdf73c26f7154d325d0defe14ece18d1203a9c7afd1
    
    This package is published by the LogDNA. You can build a binary directly
    by following instructions here:
    https://github.com/logdna/logdna-agent/blob/master/CONTRIBUTING.md
    
  • tools\VERSION.txt Show
    1.5.5.20181121
    
  • tools\winTail.ps1 Show
    Set-PSDebug -Strict
    $LogName = $args[0]
    $curr = (Get-EventLog -LogName $LogName -Newest 1 2> $null).Index
    if ([string]::IsNullOrEmpty($curr))
    {
        $curr = -1
    }
    while ($true)
    {
        start-sleep -Seconds 1
        $next = (Get-EventLog -LogName $LogName -Newest 1 2> $null).Index
        if ([string]::IsNullOrEmpty($next))
        {
            $next = -1
        }
        if ($next -gt $curr) {
            $data = Get-EventLog -LogName $LogName -Newest ($next - $curr + 1000) 2> $null | where {$_.Index -gt $curr}
            $curr = $data[-1].Index
            $data | ConvertTo-Json
        }
    }
    
  • tools\chocolateyBeforeModify.ps1 Show
    $packageParameters = $env:chocolateyPackageParameters
    
    IF(!($packageParameters))
    {
        cmd.exe /c "nssm.exe stop logdna-agent & exit /b 0"
        cmd.exe /c "nssm.exe remove logdna-agent confirm & exit /b 0"
    }
    
    $registryPath = "HKLM:\SYSTEM\CurrentControlSet\Services\logdna-agent"
    
    IF(Test-Path $registryPath)
    {
        Remove-Item -Path $registryPath -Force -Recurse
    }
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • smusali
  • leeliu

Copyright

Copyright 2018 LogDNA, Inc., portions by Microsoft and Contributors

Tags

Release Notes

LogDNA Collector Agent for Windows

Version History

Version Downloads Last updated Status
LogDNA Agent for Windows 1.5.4 789 Thursday, June 21, 2018 approved
LogDNA Agent for Windows 1.5.3 79 Thursday, June 21, 2018 approved
LogDNA Agent for Windows 1.5.2 63 Wednesday, June 20, 2018 approved
LogDNA Agent for Windows 1.5.1 170 Thursday, April 19, 2018 approved
LogDNA Agent for Windows 1.4.1 525 Saturday, April 8, 2017 approved
LogDNA Agent for Windows 1.3.10 280 Thursday, January 5, 2017 approved
Show More

Discussion for the LogDNA Agent for Windows Package

Ground rules:

  • This discussion is only about LogDNA Agent for Windows and the LogDNA Agent for Windows package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or LogDNA Agent for Windows, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok