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

This is not the latest version of filebeat available.

filebeat

6.5.4

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 1/26/2019.

Contains the chocolatey package for filebeat

To install filebeat, run the following command from the command line or from PowerShell:

C:\> choco install filebeat --version 6.5.4

To upgrade filebeat, run the following command from the command line or from PowerShell:

C:\> choco upgrade filebeat --version 6.5.4

Files

Hide
  • tools\chocolateyuninstall.ps1 Show
    $packageName= 'filebeat'
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $uninstallScript = Join-Path $toolsDir "uninstall-service-$packageName.ps1"
    Invoke-Expression $uninstallScript
    
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName= 'filebeat'
    
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url        = 'https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.5.4-windows-x86.zip'
    $url64      = 'https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.5.4-windows-x86_64.zip'
    
    $installationPath = $toolsDir
    
    # Chocolatey seems to copy the old lib folder in case of upgrade. Uninstall first.
    $zipContentGlob=dir "$($installationPath)/.." "filebeat-*.zip.txt"
    $zipContentFile=$zipContentGlob.Name
    $folder = ($zipContentFile -replace ".zip.txt","") + "\\"
    if (($zipContentGlob -ne $null)) {
        $zipContentFile
        $zipContents=(get-content $zipContentGlob.FullName) -split [environment]::NewLine
        for ($i = $zipContents.Length; $i -gt 0; $i--) {
            $fileInZip = $zipContents[$i]
            if ($fileInZip -ne $null -and $fileInZip.Trim() -ne '') {
                $fileToRemove = $fileInZip -replace $folder,""
                Remove-Item -Path "$fileToRemove" -ErrorAction SilentlyContinue -Recurse -Force
            }
        }
        Remove-Item -Path $zipContentGlob.FullName -ErrorAction SilentlyContinue -Recurse -Force
    }
    
    $folder = if(Get-ProcessorBits 64) { [io.path]::GetFileNameWithoutExtension($url64) } else { [io.path]::GetFileNameWithoutExtension($url) }
    
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $installationPath
      url           = $url
      url64bit      = $url64
      checksum      = '75a35784494846d9aa233d2b06bc22f63a806ffa540d5aeeeb060cef3caa19fb1e4107a23dbf28a95eeb3a41b1fd183c2eccc356651b8a04173103de7a817862'
      checksumType  = 'sha512'
      checksum64    = '3d9ed9a70b409f8f51d39cb9bed7d4a87056b29c536f59f08367d62e0125ae4c4acb19e25c74d18f25a7673c1148392392c3f3c51918c0455206dd25805bc68d'
      checksumType64= 'sha512'
      specificFolder = $folder
    }
    
    Install-ChocolateyZipPackage @packageArgs
    
    # Move everything from the subfolder to the main tools directory
    $subFolder = Join-Path $installationPath (Get-ChildItem $installationPath $folder | ?{ $_.PSIsContainer })
    Get-ChildItem $subFolder -Recurse | ?{$_.PSIsContainer } | Move-Item -Destination $installationPath
    Get-ChildItem $subFolder | ?{$_.PSIsContainer -eq $false } | Move-Item -Destination $installationPath
    Remove-Item "$subFolder"
    
    Invoke-Expression $(Join-Path $installationPath "install-service-$($packageName).ps1")
    
  • tools\chocolateybeforemodify.ps1 Show
    Stop-Service filebeat
    Start-Sleep -s 3
    

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

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Robert Palethorpe
  • William Tsoi

Tags

Version History

Version Downloads Last updated Status
filebeat 6.6.0 20400 Wednesday, January 30, 2019 approved
filebeat 6.5.4 7877 Thursday, December 20, 2018 approved
filebeat 6.5.3 1542 Wednesday, December 12, 2018 approved
filebeat 6.5.2 1210 Thursday, December 6, 2018 approved
filebeat 6.5.1 577 Tuesday, December 4, 2018 approved
filebeat 6.5.0 3729 Thursday, November 15, 2018 approved
filebeat 6.4.3 1414 Wednesday, November 7, 2018 approved
filebeat 6.4.2 1583 Wednesday, October 3, 2018 approved
filebeat 6.4.1 279 Wednesday, September 19, 2018 approved
Show More

Discussion for the filebeat Package

Ground rules:

  • This discussion is only about filebeat and the filebeat 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 filebeat, 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