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



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 4/11/2019.

Contains the chocolatey package for metricbeat

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

C:\> choco install metricbeat

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

C:\> choco upgrade metricbeat


  • tools\chocolateybeforemodify.ps1 Show
    $packageName = 'metricbeat'
    Stop-Service $packageName
    Start-Sleep -s 3
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $installationPath = $toolsDir
    # Chocolatey seems to copy the old lib folder in case of upgrade. Uninstall first.
    $zipContentGlob=Get-ChildItem "$($installationPath)/.." "$($packageName)-*.zip.txt"
    $folder = ($zipContentFile -replace ".zip.txt","") + "\\"
    if (($null -ne $zipContentGlob)) {
        $zipContents=(get-content $zipContentGlob.FullName) -split [environment]::NewLine
        for ($i = $zipContents.Length; $i -gt 0; $i--) {
            $fileInZip = $zipContents[$i]
            if ($null -ne $fileInZip -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
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $packageName= 'metricbeat'
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url        = ''
    $url64      = ''
    $installationPath = $toolsDir
    $folder = if(Get-ProcessorBits 64) { [io.path]::GetFileNameWithoutExtension($url64) } else { [io.path]::GetFileNameWithoutExtension($url) }
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $installationPath
      url           = $url
      url64bit      = $url64
      checksum      = 'b32f891a4695e88d8ea8b0a4063124bde353287c3907623041a28c1dc115f5aa0672b36d76ced1f08150c0ff560ebc2907b4e340c0ff4d270a4629ea166424b4'
      checksumType  = 'sha512'
      checksum64    = '06046cb4d6fb0696172c9979b8cf73114ad5effab70b5af74c76551af4c4dcf45a0f3da34c050c054184628b7954950bf11a702f2e8fe6c305bd2ca7f7fa31b8'
      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\chocolateyuninstall.ps1 Show
    $packageName= 'metricbeat'
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $uninstallScript = Join-Path $toolsDir "uninstall-service-$packageName.ps1"
    Invoke-Expression $uninstallScript

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.


This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Robert Palethorpe


Version History

Version Downloads Last updated Status
metricbeat 6.7.1 386 Friday, April 5, 2019 approved
metricbeat 6.7.0 460 Wednesday, March 27, 2019 approved
metricbeat 6.6.2 681 Wednesday, March 13, 2019 approved
metricbeat 6.6.1 56127 Wednesday, February 20, 2019 approved
metricbeat 6.6.0 175669 Wednesday, January 30, 2019 approved
metricbeat 6.5.4 7058 Thursday, December 20, 2018 approved
metricbeat 6.5.3 3443 Wednesday, December 12, 2018 approved
metricbeat 6.5.2 751 Thursday, December 6, 2018 approved
metricbeat 6.5.1 301 Tuesday, December 4, 2018 approved
Show More

Discussion for the metricbeat Package

Ground rules:

  • This discussion is only about metricbeat and the metricbeat 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 metricbeat, 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 uses cookies to enhance the user experience of the site.