Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

169

Downloads of v 0.28.2:

169

Last Update:

28 Apr 2023

Package Maintainer(s):

Software Author(s):

  • datadog

Tags:

logs collector parser observability

vector

Downloads:

169

Downloads of v 0.28.2:

169

Maintainer(s):

Software Author(s):

  • datadog

vector

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by datadog. The inclusion of datadog trademark(s), if any, upon this webpage is solely to identify datadog goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
WARNING

This package was rejected on 28 Jun 2023. The reviewer chocolatey-ops has listed the following reason(s):

Relers (maintainer) on 26 Apr 2023 01:27:10 +00:00:

User 'Relers' (maintainer) submitted package.

chocolatey-ops (reviewer) on 26 Apr 2023 02:01:52 +00:00:

vector has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • Package contains dependencies with no specified version. You should at least specify a minimum version of a dependency. More...
  • The iconUrl should be added if there is one. Please correct this in the nuspec, if applicable. More...
  • The nuspec has been enhanced to allow packageSourceUrl, pointing to the url where the package source resides. This is a strong guideline because it simplifies collaboration. Please add it to the nuspec. More...
  • Title (title) matches id exactly. Please consider using something slightly more descriptive for the title in the nuspec. More...

chocolatey-ops (reviewer) on 26 Apr 2023 02:17:06 +00:00:

vector has passed automated package testing (verification). The next step in the process is package scanning.
Please visit https://gist.github.com/choco-bot/4963ad7ed26832aca6d4d20b7bced717 for details.
This is an FYI only. There is no action you need to take.

chocolatey-ops (reviewer) on 26 Apr 2023 02:59:13 +00:00:

vector has passed automated virus scanning.

Relers (maintainer) on 28 Apr 2023 05:56:02 +00:00:

User 'Relers' (maintainer) submitted package.

chocolatey-ops (reviewer) on 28 Apr 2023 06:29:55 +00:00:

vector has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • Package contains dependencies with no specified version. You should at least specify a minimum version of a dependency. More...
  • The iconUrl should be added if there is one. Please correct this in the nuspec, if applicable. More...
  • The nuspec has been enhanced to allow packageSourceUrl, pointing to the url where the package source resides. This is a strong guideline because it simplifies collaboration. Please add it to the nuspec. More...
  • Title (title) matches id exactly. Please consider using something slightly more descriptive for the title in the nuspec. More...

chocolatey-ops (reviewer) on 28 Apr 2023 06:42:15 +00:00:

vector has passed automated package testing (verification). The next step in the process is package scanning.
Please visit https://gist.github.com/choco-bot/515286f3960e02de0f64241fbb6aecdd for details.
This is an FYI only. There is no action you need to take.

chocolatey-ops (reviewer) on 28 Apr 2023 06:57:43 +00:00:

vector has passed automated virus scanning.

gep13 (reviewer) on 24 May 2023 05:34:36 +00:00:

The hardcoded paths to c:\programdata are not recommended, since Chocolatey can be installed into other locations. You should be able to use the $env:ChocolateyInstall variable to get this location, instead of hard coding.

chocolatey-ops (reviewer) on 13 Jun 2023 05:38:18 +00:00:

We've found vector v0.28.2 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.

Take action:

  • Log in to the site and respond to the review comments.
  • Resubmit fixes for this version.
  • If the package version is failing automated checks, you can self-reject the package.

If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.

Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.

chocolatey-ops (reviewer) on 28 Jun 2023 05:40:14 +00:00:

Unfortunately there has not been progress to move vector v0.28.2 towards an approved status within 15 days after the last review message, so we need to close (reject) the package version at this time. If you want to pick this version up and move it towards approval in the future, use the contact site admins link on the package page and we can move it back into a submitted status so you can submit updates.

Status Change - Changed status of package from 'submitted' to 'rejected'.

Description

A lightweight, ultra-fast tool for building observability pipelines

Default install path C:\Program Files\Vector


tools\chocolateybeforemodify.ps1
$ServiceName="vector-agent"
$NssmExe = "C:\ProgramData\chocolatey\bin\nssm.exe"

if ($Service = Get-Service $ServiceName -ErrorAction SilentlyContinue) {
    Write-Host "Removing service."
    if ($Service.Status -eq "Running") {
        Start-ChocolateyProcessAsAdmin "stop $ServiceName" -ExeToRun "$NssmExe" -ValidExitCodes @(0,21)
    }
    Start-ChocolateyProcessAsAdmin "remove $ServiceName confirm" -ExeToRun "$NssmExe" -ValidExitCodes @(0,21)
}
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = 'https://github.com/vectordotdev/vector/releases/download/v0.28.2/vector-0.28.2-x64.msi'
$url64      = 'https://github.com/vectordotdev/vector/releases/download/v0.28.2/vector-0.28.2-x64.msi'

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  unzipLocation = $toolsDir
  fileType      = 'msi'
  url           = $url
  url64bit      = $url64

  softwareName  = 'vector*'

  checksum      = 'BAB20090237AE09A2965C83068136611DCC6FE10D1C8882C30AAFBC7D861DEEA'
  checksumType  = 'sha256'
  checksum64    = 'BAB20090237AE09A2965C83068136611DCC6FE10D1C8882C30AAFBC7D861DEEA'
  checksumType64= 'sha256'

  silentArgs    = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
  validExitCodes= @(0, 3010, 1641)
}

Install-ChocolateyPackage @packageArgs


$ServiceName = 'vector-agent'
$NssmExe = "C:\ProgramData\chocolatey\bin\nssm.exe"
# I`m lazy to pass this to ps1, edit config paths by yourself
$ExePath = "C:\Program Files\Vector\bin\vector.exe"
# $ConfigPath = "C:\Program Files\Vector\config\vector.toml"

if ($Service = Get-Service $ServiceName -ErrorAction SilentlyContinue) {
    if ($Service.Status -eq "Running") {
      Write-Host "Removing vector-agent service"
        Start-ChocolateyProcessAsAdmin "remove $ServiceName confirm" -ExeToRun "$NssmExe"
    }
    Start-ChocolateyProcessAsAdmin "stop $ServiceName" -ExeToRun "$NssmExe"
}

Write-Host "Installing vector-agent service"

nssm install $ServiceName $ExePath
Start-Service -Name $ServiceName
Start-ChocolateyProcessAsAdmin -Statements "set $ServiceName Start SERVICE_DEMAND_START" -ExeToRun "$NssmExe" -ValidExitCodes @(0,21)
Write-Host "Default Path: C:\Program Files\Vector"






    








tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';
$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'vector*'
  fileType      = 'msi'
  silentArgs    = "/qn /norestart"
  validExitCodes= @(0, 3010, 1605, 1614, 1641)
}

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']

if ($key.Count -eq 1) {
  $key | % { 
    $packageArgs['file'] = "$($_.UninstallString)"
    
    if ($packageArgs['fileType'] -eq 'MSI') {
      $packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
      
      $packageArgs['file'] = ''
    } else {
    }

    Uninstall-ChocolateyPackage @packageArgs
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $($_.DisplayName)"}
}

$ServiceName="vector-agent"
$processName="vector.exe"
$NssmExe = "C:\ProgramData\chocolatey\bin\nssm.exe"

if ($Service = Get-Service $ServiceName -ErrorAction SilentlyContinue) {
    Write-Host "Removing service."
    if ($Service.Status -eq "Running") {
        Start-ChocolateyProcessAsAdmin "stop $ServiceName" -ExeToRun "$NssmExe" -ValidExitCodes @(0,21)
    }
    Start-ChocolateyProcessAsAdmin "remove $ServiceName confirm" -ExeToRun "$NssmExe" -ValidExitCodes @(0,21)
}

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
Discussion for the vector Package

Ground Rules:

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