
2,017,685
Downloads
1,611
Downloads of v 6.5.2
12/6/2018
Last update
Contains the chocolatey package for winlogbeat
To install winlogbeat, run the following command from the command line or from PowerShell:
C:\> choco install winlogbeat
--version 6.5.2
To upgrade winlogbeat, run the following command from the command line or from PowerShell:
C:\> choco upgrade winlogbeat
--version 6.5.2
Files
Hide- tools\chocolateyuninstall.ps1
Show
$packageName= 'winlogbeat' $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" $uninstallScript = Join-Path $toolsDir "uninstall-service-winlogbeat.ps1" Invoke-Expression $uninstallScript
- tools\chocolateyinstall.ps1
Show
$ErrorActionPreference = 'Stop'; $packageName= 'winlogbeat' $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" $url = 'https://artifacts.elastic.co/downloads/beats/winlogbeat/winlogbeat-6.5.2-windows-x86.zip' $url64 = 'https://artifacts.elastic.co/downloads/beats/winlogbeat/winlogbeat-6.5.2-windows-x86_64.zip' $installationPath = $toolsDir # Chocolatey seems to copy the old lib folder in case of upgrade. Uninstall first. $zipContentGlob=dir "$($installationPath)/.." "winlogbeat-*.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 = '3499f14e29faf76d6d56a6617de617bc7a51d5629b531851b2d6e74dd99e2f02cc91cf943b4b1c28f180627dcfe142e33bfc4b26dca1d06b9228a3025c78532d' checksumType = 'sha512' checksum64 = '3516b9831d7d08285819cb92351dded4ba5d19bcfea76b3597f6ccdc231aef30acc04941741709422d8bb12ab832ce0b2f533887bb765f46b58804879325a10e' 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 winlogbeat Start-Sleep -s 3
Virus Scan Results
- winlogbeat.6.5.2.nupkg (7b6d0761bc05) - ## / 60 - Log in or click on link to see number of positives
Dependencies
This package has no dependencies.
Package Maintainer(s)
Software Author(s)
Tags
Version History
Version | Downloads | Last updated | Status |
---|---|---|---|
winlogbeat 6.6.1 | 7698 | Wednesday, February 20, 2019 | approved |
winlogbeat 6.6.0 | 176365 | Wednesday, January 30, 2019 | approved |
winlogbeat 6.5.4 | 8970 | Thursday, December 20, 2018 | approved |
winlogbeat 6.5.3 | 1168 | Wednesday, December 12, 2018 | approved |
winlogbeat 6.5.2 | 1611 | Thursday, December 6, 2018 | approved |
winlogbeat 6.5.1 | 722 | Tuesday, December 4, 2018 | approved |
winlogbeat 6.5.0 | 4053 | Thursday, November 15, 2018 | approved |
winlogbeat 6.4.3 | 5922 | Wednesday, November 7, 2018 | approved |
winlogbeat 6.4.2 | 13826 | Wednesday, October 3, 2018 | approved |
winlogbeat 6.4.1 | 470 | Wednesday, September 19, 2018 | approved |
Discussion for the winlogbeat Package
Ground rules:
- This discussion is only about winlogbeat and the winlogbeat 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 winlogbeat, 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.