Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 27, 2023 02:11
Show Gist options
  • Save choco-bot/ec7f697ceddc581ce2e02444bc89289f to your computer and use it in GitHub Desktop.
Save choco-bot/ec7f697ceddc581ce2e02444bc89289f to your computer and use it in GitHub Desktop.
splunk-otel-collector v0.80.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-801588999-3056964470-976109916-1000</user>
<keys>
<key installerType="Msi" displayName="Splunk OpenTelemetry Collector" displayVersion="0.80.0">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{846DF813-59E3-47FD-8833-7A4AA3F2E51A}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{846DF813-59E3-47FD-8833-7A4AA3F2E51A}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Splunk, Inc.]]></Publisher>
<InstallDate>20230627</InstallDate>
<InstallSource><![CDATA[C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\]]></InstallSource>
<Language>1033</Language>
<Version>5242880</Version>
<VersionMajor>0</VersionMajor>
<VersionMinor>80</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>true</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\41b48.msi]]></LocalPackage>
</key>
<key installerType="Msi" displayName="Td-agent v4.3.2" displayVersion="4.3.2">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D1624B76-0050-4AA8-A8FE-2295640A5FDB}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{D1624B76-0050-4AA8-A8FE-2295640A5FDB}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Treasure Data, Inc]]></Publisher>
<InstallDate>20230627</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\Fluentd\]]></InstallSource>
<Language>1033</Language>
<Version>67305474</Version>
<VersionMajor>4</VersionMajor>
<VersionMinor>3</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\41b4c.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

splunk-otel-collector v0.80.0 - Passed - Package Test Results

<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nupkg" checksum="17D4C466B1F8DEBA5689835BFAE41D97" />
<file path="C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nuspec" checksum="0F4F9CD5D9B757FB2B7ED1FFBA79148F" />
<file path="C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1" checksum="CD196BB2850BF7E328CAE2F0DB5F96FC" />
<file path="C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1" checksum="A5785E4520BFE6984C8F08032A109991" />
<file path="C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\common.ps1" checksum="60A3CEE74465AAE925580696ED470219" />
<file path="C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\fluentd.ps1" checksum="C90531DF862456AE5AC197E8694681E1" />
<file path="C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\LICENSE.txt" checksum="061F57C2DB997D6EDCEC03CBA65C29A9" />
<file path="C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi" checksum="A255CBC468D14D17CDEA2C2BA6ED5515" />
<file path="C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
<file path="C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\VERIFICATION.txt" checksum="576E94B279257C10DC31E5BBFD4359B8" />
</files>
</fileSnapshot>
2023-06-27 01:23:43,615 4660 [DEBUG] - XmlConfiguration is now operational
2023-06-27 01:23:43,928 4660 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-27 01:23:43,943 4660 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-27 01:23:43,943 4660 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-27 01:23:43,943 4660 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-27 01:23:43,943 4660 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-27 01:23:43,959 4660 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-27 01:23:44,271 4660 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-27 01:23:44,271 4660 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-27 01:23:44,271 4660 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-27 01:23:44,287 4660 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-27 01:23:44,287 4660 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-27 01:23:44,287 4660 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-27 01:23:44,303 4660 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-27 01:23:44,303 4660 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-27 01:23:44,303 4660 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-27 01:23:44,303 4660 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-27 01:23:44,318 4660 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-27 01:23:44,318 4660 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-27 01:23:44,318 4660 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-27 01:23:44,334 4660 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-27 01:23:44,350 4660 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-27 01:23:44,350 4660 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-27 01:23:44,350 4660 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-27 01:23:44,350 4660 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-27 01:23:44,678 4660 [INFO ] - ============================================================
2023-06-27 01:23:45,100 4660 [INFO ] - Chocolatey v1.3.0
2023-06-27 01:23:45,131 4660 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-27 01:23:45,147 4660 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-27 01:23:45,147 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-27 01:23:45,178 4660 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install splunk-otel-collector --version 0.80.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-27 01:23:45,178 4660 [DEBUG] - Received arguments: install splunk-otel-collector --version 0.80.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-27 01:23:45,334 4660 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-27 01:23:45,366 4660 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-27 01:23:45,381 4660 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-27 01:23:45,570 4660 [DEBUG] - Performing validation checks.
2023-06-27 01:23:45,584 4660 [DEBUG] - Global Configuration Validation Checks:
2023-06-27 01:23:45,600 4660 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-27 01:23:45,615 4660 [DEBUG] - System State Validation Checks:
2023-06-27 01:23:45,631 4660 [DEBUG] - Reboot Requirement Checks:
2023-06-27 01:23:45,646 4660 [DEBUG] - - Pending Computer Rename = Checked
2023-06-27 01:23:45,646 4660 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-27 01:23:45,662 4660 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-27 01:23:45,662 4660 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-27 01:23:45,678 4660 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-27 01:23:45,678 4660 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-27 01:23:45,693 4660 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-27 01:23:45,756 4660 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-27 01:23:45,771 4660 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-06-27 01:23:45,818 4660 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='splunk-otel-collector'|Version='0.80.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='splunk-otel-collector'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-QU294RLN8HL'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-27 01:23:45,834 4660 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-27 01:23:45,865 4660 [INFO ] - Installing the following packages:
2023-06-27 01:23:45,881 4660 [INFO ] - splunk-otel-collector
2023-06-27 01:23:45,881 4660 [INFO ] - By installing, you accept licenses for the packages.
2023-06-27 01:23:45,896 4660 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-27 01:23:45,912 4660 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-27 01:23:45,912 4660 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-27 01:23:45,927 4660 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-27 01:23:45,927 4660 [DEBUG] - * 'ChocolateyLastPathUpdate'='133322548826977347' ('User')
2023-06-27 01:23:45,943 4660 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-27 01:23:45,943 4660 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-27 01:23:45,943 4660 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-27 01:23:45,960 4660 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-27 01:23:45,960 4660 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-27 01:23:45,974 4660 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-27 01:23:45,974 4660 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-27 01:23:45,990 4660 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-27 01:23:45,990 4660 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-27 01:23:46,006 4660 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-27 01:23:46,006 4660 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-27 01:23:46,021 4660 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-27 01:23:46,021 4660 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-27 01:23:46,037 4660 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-27 01:23:46,037 4660 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-27 01:23:46,053 4660 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-27 01:23:47,350 4660 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-core.extension (= 1.3.5.1)'.
2023-06-27 01:23:47,850 4660 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-compatibility.extension (= 1.0.0)'.
2023-06-27 01:23:56,913 4660 [INFO ] - [NuGet] Installing 'chocolatey-compatibility.extension 1.0.0'.
2023-06-27 01:23:56,943 4660 [DEBUG] - [NuGet] Added file 'chocolatey-compatibility.psm1' to folder 'chocolatey-compatibility.extension\extensions'.
2023-06-27 01:23:56,959 4660 [DEBUG] - [NuGet] Added file 'Get-PackageParameters.ps1' to folder 'chocolatey-compatibility.extension\extensions\helpers'.
2023-06-27 01:23:56,959 4660 [DEBUG] - [NuGet] Added file 'Get-UninstallRegistryKey.ps1' to folder 'chocolatey-compatibility.extension\extensions\helpers'.
2023-06-27 01:23:56,974 4660 [DEBUG] - [NuGet] Added file 'Install-ChocolateyDesktopLink.ps1' to folder 'chocolatey-compatibility.extension\extensions\helpers'.
2023-06-27 01:23:56,974 4660 [DEBUG] - [NuGet] Added file 'Write-ChocolateyFailure.ps1' to folder 'chocolatey-compatibility.extension\extensions\helpers'.
2023-06-27 01:23:56,990 4660 [DEBUG] - [NuGet] Added file 'Write-ChocolateySuccess.ps1' to folder 'chocolatey-compatibility.extension\extensions\helpers'.
2023-06-27 01:23:56,990 4660 [DEBUG] - [NuGet] Added file 'Write-FileUpdateLog.ps1' to folder 'chocolatey-compatibility.extension\extensions\helpers'.
2023-06-27 01:23:57,006 4660 [DEBUG] - [NuGet] Added file 'chocolatey-compatibility.extension.nupkg' to folder 'chocolatey-compatibility.extension'.
2023-06-27 01:23:57,445 4660 [DEBUG] - [NuGet] Added file 'chocolatey-compatibility.extension.nuspec' to folder 'chocolatey-compatibility.extension'.
2023-06-27 01:23:57,445 4660 [INFO ] - [NuGet] Successfully installed 'chocolatey-compatibility.extension 1.0.0'.
2023-06-27 01:23:57,459 4660 [INFO ] -
chocolatey-compatibility.extension v1.0.0 (forced) [Approved]
2023-06-27 01:23:57,491 4660 [INFO ] - chocolatey-compatibility.extension package files install completed. Performing other installation steps.
2023-06-27 01:23:57,725 4660 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension'
2023-06-27 01:23:57,725 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\chocolatey-compatibility.extension.nupkg'
with checksum 'FA277C3720AB0DA4947D11272DAB96A8'
2023-06-27 01:23:57,740 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\chocolatey-compatibility.extension.nuspec'
with checksum 'E4F76BE29CB79EF59D3238F490BA92E2'
2023-06-27 01:23:57,740 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\chocolatey-compatibility.psm1'
with checksum 'D6BED48F1A2055D2CC8A7E65A3B9B653'
2023-06-27 01:23:57,756 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Get-PackageParameters.ps1'
with checksum '71D1214302A8DCEDBC514DDD1A4C8B02'
2023-06-27 01:23:57,756 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Get-UninstallRegistryKey.ps1'
with checksum 'BEF350705A6096C5A6D5008674F81A0A'
2023-06-27 01:23:57,772 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Install-ChocolateyDesktopLink.ps1'
with checksum '507F2FBE3B0E4E7026FF318F57D11629'
2023-06-27 01:23:57,772 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-ChocolateyFailure.ps1'
with checksum '62F5761ED276CC6E52D7B7A57F50B669'
2023-06-27 01:23:57,787 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-ChocolateySuccess.ps1'
with checksum 'F2D4D28C6EAA6D52E827761700BFC366'
2023-06-27 01:23:57,787 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-FileUpdateLog.ps1'
with checksum '96B9E7F714A968AE4CD62E3749C3E5EC'
2023-06-27 01:23:57,818 4660 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility".
2023-06-27 01:23:57,850 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\chocolatey-compatibility.psm1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1".
2023-06-27 01:23:57,850 4660 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\helpers".
2023-06-27 01:23:57,865 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Get-PackageParameters.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\helpers\Get-PackageParameters.ps1".
2023-06-27 01:23:57,865 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Get-UninstallRegistryKey.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\helpers\Get-UninstallRegistryKey.ps1".
2023-06-27 01:23:57,881 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Install-ChocolateyDesktopLink.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\helpers\Install-ChocolateyDesktopLink.ps1".
2023-06-27 01:23:57,897 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-ChocolateyFailure.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\helpers\Write-ChocolateyFailure.ps1".
2023-06-27 01:23:57,897 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-ChocolateySuccess.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\helpers\Write-ChocolateySuccess.ps1".
2023-06-27 01:23:57,912 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-FileUpdateLog.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\helpers\Write-FileUpdateLog.ps1".
2023-06-27 01:23:59,429 4660 [WARN ] - Installed/updated chocolatey-compatibility extensions.
2023-06-27 01:23:59,490 4660 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0".
2023-06-27 01:23:59,522 4660 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.files'
2023-06-27 01:23:59,539 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.extra".
2023-06-27 01:23:59,552 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.version".
2023-06-27 01:23:59,568 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.sxs".
2023-06-27 01:23:59,568 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.pin".
2023-06-27 01:23:59,584 4660 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-27 01:23:59,599 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\.chocolateyPending".
2023-06-27 01:23:59,615 4660 [INFO ] - The install of chocolatey-compatibility.extension was successful.
2023-06-27 01:23:59,615 4660 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility'
2023-06-27 01:23:59,631 4660 [INFO ] - [NuGet] Installing 'chocolatey-core.extension 1.4.0'.
2023-06-27 01:23:59,646 4660 [DEBUG] - [NuGet] Added file 'chocolatey-core.psm1' to folder 'chocolatey-core.extension\extensions'.
2023-06-27 01:23:59,646 4660 [DEBUG] - [NuGet] Added file 'Get-AppInstallLocation.ps1' to folder 'chocolatey-core.extension\extensions'.
2023-06-27 01:23:59,662 4660 [DEBUG] - [NuGet] Added file 'Get-AvailableDriveLetter.ps1' to folder 'chocolatey-core.extension\extensions'.
2023-06-27 01:23:59,662 4660 [DEBUG] - [NuGet] Added file 'Get-EffectiveProxy.ps1' to folder 'chocolatey-core.extension\extensions'.
2023-06-27 01:23:59,678 4660 [DEBUG] - [NuGet] Added file 'Get-PackageCacheLocation.ps1' to folder 'chocolatey-core.extension\extensions'.
2023-06-27 01:23:59,693 4660 [DEBUG] - [NuGet] Added file 'Get-WebContent.ps1' to folder 'chocolatey-core.extension\extensions'.
2023-06-27 01:23:59,693 4660 [DEBUG] - [NuGet] Added file 'Register-Application.ps1' to folder 'chocolatey-core.extension\extensions'.
2023-06-27 01:23:59,709 4660 [DEBUG] - [NuGet] Added file 'Remove-Process.ps1' to folder 'chocolatey-core.extension\extensions'.
2023-06-27 01:23:59,724 4660 [DEBUG] - [NuGet] Added file 'chocolatey-core.extension.nupkg' to folder 'chocolatey-core.extension'.
2023-06-27 01:24:00,100 4660 [DEBUG] - [NuGet] Added file 'chocolatey-core.extension.nuspec' to folder 'chocolatey-core.extension'.
2023-06-27 01:24:00,100 4660 [INFO ] - [NuGet] Successfully installed 'chocolatey-core.extension 1.4.0'.
2023-06-27 01:24:00,115 4660 [INFO ] -
chocolatey-core.extension v1.4.0 (forced)
2023-06-27 01:24:00,131 4660 [INFO ] - chocolatey-core.extension package files install completed. Performing other installation steps.
2023-06-27 01:24:00,147 4660 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension'
2023-06-27 01:24:00,147 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nupkg'
with checksum '0CA0F8AA17B974343E7967B1820D0D9C'
2023-06-27 01:24:00,162 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nuspec'
with checksum 'B2C1C3F82AA3D894AD8E5547FF7B1688'
2023-06-27 01:24:00,162 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\chocolatey-core.psm1'
with checksum '2A0DE2FF529CFC02FDF540ACBEE99EE1'
2023-06-27 01:24:00,177 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AppInstallLocation.ps1'
with checksum 'D19FCAF1650F0EE327666CA8823F3731'
2023-06-27 01:24:00,177 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AvailableDriveLetter.ps1'
with checksum 'FF3C638BD18B2D3A563753960F6DD323'
2023-06-27 01:24:00,193 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-EffectiveProxy.ps1'
with checksum '2584085C65E44561A8D8A78F617AFD3E'
2023-06-27 01:24:00,193 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageCacheLocation.ps1'
with checksum '77A378E5C659E5A53D2D64E276159B62'
2023-06-27 01:24:00,209 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-WebContent.ps1'
with checksum '57D013E581EFEA3D4D8366183C9A5797'
2023-06-27 01:24:00,209 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Register-Application.ps1'
with checksum 'D2853E569DAC9A341642BA76EC4FB411'
2023-06-27 01:24:00,225 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Remove-Process.ps1'
with checksum '9A56AD3B71FD44CB8D0EA2C1ADB023B2'
2023-06-27 01:24:00,240 4660 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-core".
2023-06-27 01:24:00,240 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\chocolatey-core.psm1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1".
2023-06-27 01:24:00,256 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AppInstallLocation.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-AppInstallLocation.ps1".
2023-06-27 01:24:00,271 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AvailableDriveLetter.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-AvailableDriveLetter.ps1".
2023-06-27 01:24:00,271 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-EffectiveProxy.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-EffectiveProxy.ps1".
2023-06-27 01:24:00,287 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageCacheLocation.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-PackageCacheLocation.ps1".
2023-06-27 01:24:00,303 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-WebContent.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-WebContent.ps1".
2023-06-27 01:24:00,319 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Register-Application.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Register-Application.ps1".
2023-06-27 01:24:00,319 4660 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Remove-Process.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Remove-Process.ps1".
2023-06-27 01:24:01,880 4660 [WARN ] - Installed/updated chocolatey-core extensions.
2023-06-27 01:24:01,880 4660 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0".
2023-06-27 01:24:01,897 4660 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.files'
2023-06-27 01:24:01,912 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.extra".
2023-06-27 01:24:01,928 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.version".
2023-06-27 01:24:01,928 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.sxs".
2023-06-27 01:24:01,943 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.pin".
2023-06-27 01:24:01,965 4660 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-27 01:24:01,975 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\.chocolateyPending".
2023-06-27 01:24:01,975 4660 [INFO ] - The install of chocolatey-core.extension was successful.
2023-06-27 01:24:01,990 4660 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
2023-06-27 01:24:02,006 4660 [INFO ] - [NuGet] Installing 'splunk-otel-collector 0.80.0'.
2023-06-27 01:24:02,023 4660 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'splunk-otel-collector\tools'.
2023-06-27 01:24:02,023 4660 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'splunk-otel-collector\tools'.
2023-06-27 01:24:02,037 4660 [DEBUG] - [NuGet] Added file 'common.ps1' to folder 'splunk-otel-collector\tools'.
2023-06-27 01:24:02,053 4660 [DEBUG] - [NuGet] Added file 'fluentd.ps1' to folder 'splunk-otel-collector\tools'.
2023-06-27 01:24:02,053 4660 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'splunk-otel-collector\tools'.
2023-06-27 01:24:02,448 4660 [DEBUG] - [NuGet] Added file 'splunk-otel-collector-0.80.0-amd64.msi' to folder 'splunk-otel-collector\tools'.
2023-06-27 01:24:02,448 4660 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'splunk-otel-collector\tools'.
2023-06-27 01:24:02,837 4660 [DEBUG] - [NuGet] Added file 'splunk-otel-collector.nupkg' to folder 'splunk-otel-collector'.
2023-06-27 01:24:03,303 4660 [DEBUG] - [NuGet] Added file 'splunk-otel-collector.nuspec' to folder 'splunk-otel-collector'.
2023-06-27 01:24:03,303 4660 [INFO ] - [NuGet] Successfully installed 'splunk-otel-collector 0.80.0'.
2023-06-27 01:24:03,318 4660 [INFO ] -
splunk-otel-collector v0.80.0 (forced)
2023-06-27 01:24:03,318 4660 [INFO ] - splunk-otel-collector package files install completed. Performing other installation steps.
2023-06-27 01:24:03,365 4660 [DEBUG] - Setting installer args for splunk-otel-collector
2023-06-27 01:24:03,381 4660 [DEBUG] - Setting package parameters for splunk-otel-collector
2023-06-27 01:24:03,396 4660 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1':
2023-06-27 01:24:03,414 4660 [DEBUG] - $ErrorActionPreference = 'Stop'; # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
. $toolsDir\common.ps1
write-host "Checking configuration parameters ..."
$pp = Get-PackageParameters
[bool]$WITH_FLUENTD = $TRUE
[bool]$SkipFluentd = $FALSE
$MODE = $pp['MODE']
$SPLUNK_ACCESS_TOKEN = $pp['SPLUNK_ACCESS_TOKEN']
$SPLUNK_INGEST_URL = $pp['SPLUNK_INGEST_URL']
$SPLUNK_API_URL = $pp['SPLUNK_API_URL']
$SPLUNK_HEC_TOKEN = $pp['SPLUNK_HEC_TOKEN']
$SPLUNK_HEC_URL = $pp['SPLUNK_HEC_URL']
$SPLUNK_TRACE_URL = $pp['SPLUNK_TRACE_URL']
$SPLUNK_BUNDLE_DIR = $pp['SPLUNK_BUNDLE_DIR']
$SPLUNK_REALM = $pp['SPLUNK_REALM']
$SPLUNK_MEMORY_TOTAL_MIB = $pp['SPLUNK_MEMORY_TOTAL_MIB']
if ($MODE -and ($MODE -ne "agent") -and ($MODE -ne "gateway")) {
throw "Invalid value of MODE option is specified. Collector service can only run in agent or gateway mode."
}
if ($pp['WITH_FLUENTD']) {
if (($pp['WITH_FLUENTD'] -eq "true") -or ($pp['WITH_FLUENTD'] -eq "false")){
try {
$WITH_FLUENTD = [System.Convert]::ToBoolean($pp['WITH_FLUENTD'])
} catch [FormatException] {
$WITH_FLUENTD = $FALSE
}
}
else {
throw "Invalid value of WITH_FLUENTD option is specified. Possible values are true and false."
}
}
if ($WITH_FLUENTD) {
# check execution policy
Write-Host 'Checking execution policy'
check_policy
}
$regkey = "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
# default values if parameters not passed
try{
if (!$SPLUNK_ACCESS_TOKEN) {
$SPLUNK_ACCESS_TOKEN = Get-ItemPropertyValue -PATH "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_ACCESS_TOKEN" -ErrorAction SilentlyContinue
}
else{
update_registry -path "$regkey" -name "SPLUNK_ACCESS_TOKEN" -value "$SPLUNK_ACCESS_TOKEN"
}
}
catch{
write-host "The SPLUNK_ACCESS_TOKEN parameter is not specified."
}
try {
if (!$SPLUNK_REALM) {
$SPLUNK_REALM = Get-ItemPropertyValue -PATH "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_REALM" -ErrorAction SilentlyContinue
}
}
catch {
$SPLUNK_REALM = "us0"
write-host "The SPLUNK_REALM parameter is not specified. Using default configuration."
}
try {
if (!$SPLUNK_INGEST_URL) {
$SPLUNK_INGEST_URL = Get-ItemPropertyValue -PATH "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_INGEST_URL" -ErrorAction SilentlyContinue
}
}
catch {
$SPLUNK_INGEST_URL = "https://ingest.$SPLUNK_REALM.signalfx.com"
write-host "The SPLUNK_INGEST_URL parameter is not specified. Using default configuration."
}
try {
if (!$SPLUNK_API_URL) {
$SPLUNK_API_URL = Get-ItemPropertyValue -PATH "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_API_URL" -ErrorAction SilentlyContinue
}
}
catch {
$SPLUNK_API_URL = "https://api.$SPLUNK_REALM.signalfx.com"
write-host "The SPLUNK_INGEST_URL parameter is not specified. Using default configuration."
}
try {
if (!$SPLUNK_HEC_TOKEN) {
$SPLUNK_HEC_TOKEN = Get-ItemPropertyValue -PATH "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_HEC_TOKEN" -ErrorAction SilentlyContinue
}
}
catch {
$SPLUNK_HEC_TOKEN = $SPLUNK_ACCESS_TOKEN
write-host "The SPLUNK_HEC_TOKEN parameter is not specified. Using default configuration."
}
try {
if (!$SPLUNK_HEC_URL) {
$SPLUNK_HEC_URL = Get-ItemPropertyValue -PATH "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_HEC_URL" -ErrorAction SilentlyContinue
}
}
catch {
$SPLUNK_HEC_URL = "https://ingest.$SPLUNK_REALM.signalfx.com/v1/log"
write-host "The SPLUNK_HEC_URL parameter is not specified. Using default configuration."
}
try {
if (!$SPLUNK_TRACE_URL) {
$SPLUNK_TRACE_URL = Get-ItemPropertyValue -PATH "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_TRACE_URL" -ErrorAction SilentlyContinue
}
}
catch {
$SPLUNK_TRACE_URL = "https://ingest.$SPLUNK_REALM.signalfx.com/v2/trace"
write-host "The SPLUNK_TRACE_URL parameter is not specified. Using default configuration."
}
try {
if (!$SPLUNK_MEMORY_TOTAL_MIB) {
$SPLUNK_MEMORY_TOTAL_MIB = Get-ItemPropertyValue -PATH "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_MEMORY_TOTAL_MIB" -ErrorAction SilentlyContinue
}
}
catch {
$SPLUNK_MEMORY_TOTAL_MIB = "512"
write-host "The SPLUNK_MEMORY_TOTAL_MIB parameter is not specified. Using default configuration."
}
try {
if (!$SPLUNK_BUNDLE_DIR) {
$SPLUNK_BUNDLE_DIR = Get-ItemPropertyValue -PATH "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_BUNDLE_DIR" -ErrorAction SilentlyContinue
}
}
catch {
$SPLUNK_BUNDLE_DIR = "$installation_path\agent-bundle"
write-host "The SPLUNK_BUNDLE_DIR parameter is not specified. Using default configuration."
}
# remove orphaned service or when upgrading from bundle installation
if (service_installed -name "$service_name") {
try {
stop_service -name "$service_name"
} catch {
write-host "$_"
}
}
# remove orphaned registry entries or when upgrading from bundle installation
try {
remove_otel_registry_entries
} catch {
write-host "$_"
}
update_registry -path "$regkey" -name "SPLUNK_API_URL" -value "$SPLUNK_API_URL"
update_registry -path "$regkey" -name "SPLUNK_BUNDLE_DIR" -value "$SPLUNK_BUNDLE_DIR"
update_registry -path "$regkey" -name "SPLUNK_HEC_TOKEN" -value "$SPLUNK_HEC_TOKEN"
update_registry -path "$regkey" -name "SPLUNK_HEC_URL" -value "$SPLUNK_HEC_URL"
update_registry -path "$regkey" -name "SPLUNK_INGEST_URL" -value "$SPLUNK_INGEST_URL"
update_registry -path "$regkey" -name "SPLUNK_MEMORY_TOTAL_MIB" -value "$SPLUNK_MEMORY_TOTAL_MIB"
update_registry -path "$regkey" -name "SPLUNK_REALM" -value "$SPLUNK_REALM"
update_registry -path "$regkey" -name "SPLUNK_TRACE_URL" -value "$SPLUNK_TRACE_URL"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
file = Join-Path "$toolsDir" "splunk-otel-collector-0.80.0-amd64.msi" # replaced at build time
softwareName = $env:ChocolateyPackageTitle
checksum64 = "078DABDF7C4CF66F93073705761C1E22482E5E40108680ECE6740F4298285011" # replaced at build time
checksumType64 = 'sha256'
silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`" INSTALLDIR=`"$($installation_path)`""
validExitCodes = @(0)
}
Install-ChocolateyInstallPackage @packageArgs
if ($MODE -eq "agent" -or !$MODE) {
$config_path = "$program_data_path\agent_config.yaml"
if (-NOT (Test-Path -Path "$config_path")) {
write-host "Copying agent_config.yaml to $config_path"
Copy-Item "$installation_path\agent_config.yaml" "$config_path"
}
}
elseif ($MODE -eq "gateway"){
$config_path = "$program_data_path\gateway_config.yaml"
if (-NOT (Test-Path -Path "$config_path")) {
write-host "Copying gateway_config.yaml to $config_path"
Copy-Item "$installation_path\gateway_config.yaml" "$config_path"
}
}
update_registry -path "$regkey" -name "SPLUNK_CONFIG" -value "$config_path"
# Install and configure fluentd to forward log events to the collector.
if ($WITH_FLUENTD) {
# Skip installation of fluentd if already installed
if ((service_installed -name "$fluentd_service_name") -OR (Test-Path -Path "$fluentd_base_dir\bin\fluentd")) {
$SkipFluentd = $TRUE
Write-Host "The $fluentd_service_name service is already installed. Skipping fluentd installation."
} else {
. $toolsDir\fluentd.ps1
}
}
# Try starting the service(s) only after all components were successfully installed and SPLUNK_ACCESS_TOKEN was found.
if (!$SPLUNK_ACCESS_TOKEN) {
write-host ""
write-host "*NOTICE*: SPLUNK_ACCESS_TOKEN was not specified as an installation parameter and not found in the Windows Registry."
write-host "This is required for the default configuration to reach Splunk Observability Cloud and can be configured with:"
write-host " PS> Set-ItemProperty -path `"HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment`" -name `"SPLUNK_ACCESS_TOKEN`" -value `"ACTUAL_ACCESS_TOKEN`""
write-host "before starting the $service_name service with:"
write-host " PS> Start-Service -Name `"${service_name}`""
if ($WITH_FLUENTD) {
write-host "Then restart the fluentd service to ensure collected log events are forwarded to the $service_name service with:"
write-host " PS> Stop-Service -Name `"${fluentd_service_name}`""
write-host " PS> Start-Service -Name `"${fluentd_service_name}`""
}
write-host ""
} else {
try {
write-host "Starting $service_name service..."
start_service -name "$service_name" -config_path "$config_path"
write-host "- Started"
if ($WITH_FLUENTD -and !$SkipFluentd) {
# The fluentd service is automatically started after msi installation.
# Wait for it to be running before trying to restart it with our custom config.
Write-Host "Restarting $fluentd_service_name service..."
wait_for_service -name "$fluentd_service_name"
stop_service -name "$fluentd_service_name"
start_service -name "$fluentd_service_name" -config_path "$fluentd_config_path"
Write-Host "- Started"
}
write-host ""
} catch {
$err = $_.Exception.Message
# Don't fail if all components were installed successfully but service(s) fail to start.
# Otherwise, chocolatey may leave the system in a weird state.
Write-Warning "Installation completed, but one or more services failed to start:"
Write-Warning "$err"
continue
}
}
2023-06-27 01:24:03,506 4660 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-27 01:24:03,522 4660 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-27 01:24:04,413 4660 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-27 01:24:05,164 4660 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-27 01:24:05,178 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-27 01:24:05,178 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-27 01:24:05,193 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-27 01:24:05,193 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-27 01:24:05,209 4660 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-27 01:24:05,209 4660 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-27 01:24:05,224 4660 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-27 01:24:05,224 4660 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-27 01:24:05,240 4660 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-27 01:24:05,240 4660 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-27 01:24:05,256 4660 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-27 01:24:05,256 4660 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-27 01:24:05,271 4660 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-27 01:24:05,287 4660 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-27 01:24:05,303 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-27 01:24:05,303 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-27 01:24:05,318 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-27 01:24:05,334 4660 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-27 01:24:05,334 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-27 01:24:05,349 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-27 01:24:05,349 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-27 01:24:05,365 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-27 01:24:05,365 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-27 01:24:05,381 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-27 01:24:05,381 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-27 01:24:05,396 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-27 01:24:05,396 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-27 01:24:05,412 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-27 01:24:05,412 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-27 01:24:05,428 4660 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-27 01:24:05,443 4660 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-27 01:24:05,443 4660 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-27 01:24:05,459 4660 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-27 01:24:05,459 4660 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-27 01:24:05,459 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-27 01:24:05,475 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-27 01:24:05,475 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-27 01:24:05,490 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-27 01:24:05,490 4660 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-27 01:24:05,506 4660 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-27 01:24:05,506 4660 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-27 01:24:05,521 4660 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-27 01:24:05,521 4660 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-27 01:24:05,537 4660 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-27 01:24:05,537 4660 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-27 01:24:05,553 4660 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-27 01:24:05,553 4660 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-27 01:24:05,568 4660 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-27 01:24:05,568 4660 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-27 01:24:05,616 4660 [DEBUG] - Loading community extensions
2023-06-27 01:24:05,647 4660 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
2023-06-27 01:24:05,662 4660 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
2023-06-27 01:24:05,787 4660 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
2023-06-27 01:24:05,787 4660 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
2023-06-27 01:24:05,803 4660 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
2023-06-27 01:24:05,819 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2023-06-27 01:24:05,819 4660 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility
2023-06-27 01:24:05,834 4660 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2023-06-27 01:24:05,849 4660 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility
2023-06-27 01:24:05,849 4660 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2023-06-27 01:24:05,865 4660 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility
2023-06-27 01:24:05,881 4660 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2023-06-27 01:24:06,087 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2023-06-27 01:24:06,087 4660 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2023-06-27 01:24:06,100 4660 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2023-06-27 01:24:06,100 4660 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2023-06-27 01:24:06,115 4660 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2023-06-27 01:24:06,131 4660 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2023-06-27 01:24:06,287 4660 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2023-06-27 01:24:06,302 4660 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2023-06-27 01:24:06,302 4660 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2023-06-27 01:24:06,318 4660 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2023-06-27 01:24:06,318 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2023-06-27 01:24:06,334 4660 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2023-06-27 01:24:06,350 4660 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2023-06-27 01:24:06,412 4660 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2023-06-27 01:24:06,427 4660 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2023-06-27 01:24:06,427 4660 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2023-06-27 01:24:06,443 4660 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2023-06-27 01:24:06,443 4660 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2023-06-27 01:24:06,459 4660 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2023-06-27 01:24:06,459 4660 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2023-06-27 01:24:06,475 4660 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-27 01:24:06,475 4660 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-27 01:24:06,601 4660 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-27 01:24:06,615 4660 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-27 01:24:06,615 4660 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-27 01:24:06,630 4660 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-27 01:24:06,630 4660 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-27 01:24:06,630 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-27 01:24:06,646 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-27 01:24:06,646 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-27 01:24:06,662 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-27 01:24:06,662 4660 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-27 01:24:06,677 4660 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-27 01:24:06,677 4660 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-27 01:24:06,677 4660 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-27 01:24:06,693 4660 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-27 01:24:06,708 4660 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-27 01:24:06,708 4660 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-27 01:24:06,724 4660 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-27 01:24:06,724 4660 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-27 01:24:06,741 4660 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-27 01:24:06,741 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-27 01:24:06,756 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-27 01:24:06,756 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-27 01:24:06,771 4660 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-27 01:24:06,771 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-27 01:24:06,787 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-27 01:24:06,803 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-27 01:24:06,818 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-27 01:24:06,818 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-27 01:24:06,818 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-27 01:24:06,834 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-27 01:24:06,850 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-27 01:24:06,850 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-27 01:24:06,850 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-27 01:24:06,865 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-27 01:24:06,881 4660 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-27 01:24:06,881 4660 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-27 01:24:06,896 4660 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-27 01:24:06,896 4660 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-27 01:24:06,959 4660 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-27 01:24:06,974 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-27 01:24:06,974 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-27 01:24:06,990 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-27 01:24:06,990 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-27 01:24:07,005 4660 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-27 01:24:07,005 4660 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-27 01:24:07,021 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2023-06-27 01:24:07,021 4660 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2023-06-27 01:24:07,021 4660 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2023-06-27 01:24:07,037 4660 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2023-06-27 01:24:07,037 4660 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2023-06-27 01:24:07,053 4660 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2023-06-27 01:24:07,053 4660 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2023-06-27 01:24:07,068 4660 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2023-06-27 01:24:07,068 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2023-06-27 01:24:07,084 4660 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2023-06-27 01:24:07,084 4660 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2023-06-27 01:24:07,100 4660 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-27 01:24:07,100 4660 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-27 01:24:07,115 4660 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-27 01:24:07,115 4660 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-27 01:24:07,131 4660 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-27 01:24:07,131 4660 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-27 01:24:07,146 4660 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-27 01:24:07,146 4660 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-27 01:24:07,162 4660 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-27 01:24:07,162 4660 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-27 01:24:07,178 4660 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-27 01:24:07,178 4660 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-27 01:24:07,193 4660 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2023-06-27 01:24:07,193 4660 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2023-06-27 01:24:07,209 4660 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-27 01:24:07,209 4660 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-27 01:24:07,224 4660 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-27 01:24:07,240 4660 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-27 01:24:07,240 4660 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2023-06-27 01:24:07,256 4660 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-27 01:24:07,256 4660 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-27 01:24:07,272 4660 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-27 01:24:07,272 4660 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-27 01:24:07,287 4660 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2023-06-27 01:24:07,490 4660 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-27 01:24:07,490 4660 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-27 01:24:07,506 4660 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-27 01:24:07,506 4660 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-27 01:24:07,521 4660 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-27 01:24:07,521 4660 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-27 01:24:07,537 4660 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2023-06-27 01:24:07,537 4660 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-27 01:24:07,552 4660 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-27 01:24:07,552 4660 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-27 01:24:07,568 4660 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-27 01:24:07,568 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2023-06-27 01:24:07,584 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-27 01:24:07,599 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-27 01:24:07,599 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-27 01:24:07,615 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-27 01:24:07,615 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-27 01:24:07,631 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-27 01:24:07,631 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-27 01:24:07,646 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-27 01:24:07,661 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-27 01:24:07,661 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-27 01:24:07,661 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-27 01:24:07,677 4660 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-27 01:24:07,677 4660 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-27 01:24:07,693 4660 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2023-06-27 01:24:07,693 4660 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2023-06-27 01:24:07,708 4660 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-27 01:24:07,708 4660 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-27 01:24:07,708 4660 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-27 01:24:07,724 4660 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-27 01:24:07,724 4660 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-27 01:24:07,740 4660 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-27 01:24:07,740 4660 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-27 01:24:07,740 4660 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-27 01:24:07,755 4660 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-27 01:24:07,755 4660 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-27 01:24:07,771 4660 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2023-06-27 01:24:07,771 4660 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2023-06-27 01:24:07,787 4660 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2023-06-27 01:24:07,787 4660 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-27 01:24:07,802 4660 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-27 01:24:07,818 4660 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-27 01:24:07,818 4660 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-27 01:24:07,833 4660 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-27 01:24:07,833 4660 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-27 01:24:07,849 4660 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-27 01:24:07,849 4660 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-27 01:24:07,865 4660 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-27 01:24:07,865 4660 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-27 01:24:07,960 4660 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-27 01:24:07,990 4660 [DEBUG] - Running 'ChocolateyScriptRunner' for splunk-otel-collector v0.80.0 with packageScript 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\splunk-otel-collector', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-27 01:24:08,053 4660 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1'
2023-06-27 01:24:08,147 4660 [INFO ] - Checking configuration parameters ...
2023-06-27 01:24:08,225 4660 [DEBUG] - Running Get-PackageParameters
2023-06-27 01:24:08,225 4660 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-06-27 01:24:08,271 4660 [INFO ] - Checking execution policy
2023-06-27 01:24:08,335 4660 [INFO ] - The SPLUNK_ACCESS_TOKEN parameter is not specified.
2023-06-27 01:24:08,350 4660 [INFO ] - The SPLUNK_REALM parameter is not specified. Using default configuration.
2023-06-27 01:24:08,382 4660 [INFO ] - The SPLUNK_INGEST_URL parameter is not specified. Using default configuration.
2023-06-27 01:24:08,398 4660 [INFO ] - The SPLUNK_INGEST_URL parameter is not specified. Using default configuration.
2023-06-27 01:24:08,428 4660 [INFO ] - The SPLUNK_HEC_TOKEN parameter is not specified. Using default configuration.
2023-06-27 01:24:08,444 4660 [INFO ] - The SPLUNK_HEC_URL parameter is not specified. Using default configuration.
2023-06-27 01:24:08,459 4660 [INFO ] - The SPLUNK_TRACE_URL parameter is not specified. Using default configuration.
2023-06-27 01:24:08,475 4660 [INFO ] - The SPLUNK_MEMORY_TOTAL_MIB parameter is not specified. Using default configuration.
2023-06-27 01:24:08,505 4660 [INFO ] - The SPLUNK_BUNDLE_DIR parameter is not specified. Using default configuration.
2023-06-27 01:24:09,068 4660 [INFO ] - VERBOSE: Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM win32_service WHERE Name = 'splunk-otel-collector','queryDialect' = WQL,'namespaceName' = root\cimv2'.
2023-06-27 01:24:10,865 4660 [INFO ] - VERBOSE: Operation 'Query CimInstances' complete.
2023-06-27 01:24:10,960 4660 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_API_URL...
2023-06-27 01:24:10,991 4660 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_BUNDLE_DIR...
2023-06-27 01:24:11,006 4660 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_HEC_TOKEN...
2023-06-27 01:24:11,038 4660 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_HEC_URL...
2023-06-27 01:24:11,053 4660 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_INGEST_URL...
2023-06-27 01:24:11,085 4660 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_MEMORY_TOTAL_MIB...
2023-06-27 01:24:11,100 4660 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_REALM...
2023-06-27 01:24:11,116 4660 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_TRACE_URL...
2023-06-27 01:24:11,209 4660 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '/qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.80.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector"' -file 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi' -packageName 'splunk-otel-collector' -validExitCodes '0' -fileType 'msi'
2023-06-27 01:24:11,241 4660 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-27 01:24:11,287 4660 [INFO ] - Installing splunk-otel-collector...
2023-06-27 01:24:11,412 4660 [DEBUG] - Ensuring 'C:\Users\vagrant\AppData\Local\Temp\chocolatey' exists
2023-06-27 01:24:11,428 4660 [DEBUG] - Ensuring 'C:\Program Files\Splunk' exists
2023-06-27 01:24:11,773 4660 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools' -statements '/i "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.80.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-27 01:24:11,850 4660 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-27 01:24:11,881 4660 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.80.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" ]. This may take a while, depending on the statements.
2023-06-27 01:25:22,287 4660 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.80.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" ] exited with '0'.
2023-06-27 01:25:22,334 4660 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-27 01:25:22,365 4660 [INFO ] - splunk-otel-collector has been installed.
2023-06-27 01:25:22,381 4660 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_CONFIG...
2023-06-27 01:25:22,413 4660 [INFO ] - VERBOSE: Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM win32_service WHERE Name = 'fluentdwinsvc','queryDialect' = WQL,'namespaceName' = root\cimv2'.
2023-06-27 01:25:23,506 4660 [INFO ] - VERBOSE: Operation 'Query CimInstances' complete.
2023-06-27 01:25:23,646 4660 [INFO ] - C:\Users\vagrant\AppData\Local\Temp\chocolatey\Fluentd
2023-06-27 01:25:23,693 4660 [INFO ] - Copying C:\Program Files\Splunk\OpenTelemetry Collector\fluentd\td-agent.conf to C:\opt\td-agent\etc\td-agent\td-agent.conf
2023-06-27 01:25:23,787 4660 [INFO ] - Copying C:\Program Files\Splunk\OpenTelemetry Collector\fluentd\conf.d\eventlog.conf to C:\opt\td-agent\etc\td-agent\conf.d\eventlog.conf
2023-06-27 01:25:23,803 4660 [INFO ] - Downloading https://packages.treasuredata.com/4/windows/td-agent-4.3.2-x64.msi...
2023-06-27 01:25:26,085 4660 [INFO ] - Installing C:\Users\vagrant\AppData\Local\Temp\chocolatey\Fluentd\td-agent-4.3.2-x64.msi ...
2023-06-27 01:29:14,961 4660 [INFO ] - - Done
2023-06-27 01:29:15,007 4660 [INFO ] -
2023-06-27 01:29:15,023 4660 [INFO ] - *NOTICE*: SPLUNK_ACCESS_TOKEN was not specified as an installation parameter and not found in the Windows Registry.
2023-06-27 01:29:15,037 4660 [INFO ] - This is required for the default configuration to reach Splunk Observability Cloud and can be configured with:
2023-06-27 01:29:15,053 4660 [INFO ] - PS> Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_ACCESS_TOKEN" -value "ACTUAL_ACCESS_TOKEN"
2023-06-27 01:29:15,069 4660 [INFO ] - before starting the splunk-otel-collector service with:
2023-06-27 01:29:15,084 4660 [INFO ] - PS> Start-Service -Name "splunk-otel-collector"
2023-06-27 01:29:15,101 4660 [INFO ] - Then restart the fluentd service to ensure collected log events are forwarded to the splunk-otel-collector service with:
2023-06-27 01:29:15,116 4660 [INFO ] - PS> Stop-Service -Name "fluentdwinsvc"
2023-06-27 01:29:15,632 4660 [INFO ] - PS> Start-Service -Name "fluentdwinsvc"
2023-06-27 01:29:15,632 4660 [INFO ] -
2023-06-27 01:29:16,132 4660 [DEBUG] - ----------------------------------------------------------------------
2023-06-27 01:29:16,164 4660 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-27 01:29:16,179 4660 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-27 01:29:26,124 4660 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-27 01:29:26,813 4660 [INFO ] - splunk-otel-collector may be able to be automatically uninstalled.
2023-06-27 01:29:26,843 4660 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-06-27 01:29:26,858 4660 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-06-27 01:29:26,874 4660 [DEBUG] - * SPLUNK_API_URL='https://api.us0.signalfx.com' (Machine)
2023-06-27 01:29:26,889 4660 [DEBUG] - * SPLUNK_BUNDLE_DIR='C:\Program Files\Splunk\OpenTelemetry Collector\agent-bundle' (Machine)
2023-06-27 01:29:26,905 4660 [DEBUG] - * SPLUNK_HEC_TOKEN='' (Machine)
2023-06-27 01:29:26,905 4660 [DEBUG] - * SPLUNK_HEC_URL='https://ingest.us0.signalfx.com/v1/log' (Machine)
2023-06-27 01:29:26,920 4660 [DEBUG] - * SPLUNK_INGEST_URL='https://ingest.us0.signalfx.com' (Machine)
2023-06-27 01:29:26,936 4660 [DEBUG] - * SPLUNK_MEMORY_TOTAL_MIB='512' (Machine)
2023-06-27 01:29:26,952 4660 [DEBUG] - * SPLUNK_REALM='us0' (Machine)
2023-06-27 01:29:26,952 4660 [DEBUG] - * SPLUNK_TRACE_URL='https://ingest.us0.signalfx.com/v2/trace' (Machine)
2023-06-27 01:29:26,967 4660 [DEBUG] - * SPLUNK_CONFIG='C:\ProgramData\Splunk\OpenTelemetry Collector\agent_config.yaml' (Machine)
2023-06-27 01:29:26,983 4660 [DEBUG] - * TD_AGENT_TOPDIR='C:\opt\td-agent\' (Machine)
2023-06-27 01:29:27,017 4660 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\splunk-otel-collector'
2023-06-27 01:29:29,048 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nupkg'
with checksum '17D4C466B1F8DEBA5689835BFAE41D97'
2023-06-27 01:29:29,063 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nuspec'
with checksum '0F4F9CD5D9B757FB2B7ED1FFBA79148F'
2023-06-27 01:29:29,078 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1'
with checksum 'CD196BB2850BF7E328CAE2F0DB5F96FC'
2023-06-27 01:29:29,094 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1'
with checksum 'A5785E4520BFE6984C8F08032A109991'
2023-06-27 01:29:29,109 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\common.ps1'
with checksum '60A3CEE74465AAE925580696ED470219'
2023-06-27 01:29:29,109 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\fluentd.ps1'
with checksum 'C90531DF862456AE5AC197E8694681E1'
2023-06-27 01:29:29,124 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\LICENSE.txt'
with checksum '061F57C2DB997D6EDCEC03CBA65C29A9'
2023-06-27 01:29:31,251 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi'
with checksum 'A255CBC468D14D17CDEA2C2BA6ED5515'
2023-06-27 01:29:31,267 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-27 01:29:31,267 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\VERIFICATION.txt'
with checksum '576E94B279257C10DC31E5BBFD4359B8'
2023-06-27 01:29:31,298 4660 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.80.0".
2023-06-27 01:29:32,737 4660 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.80.0\.registry'
2023-06-27 01:29:32,767 4660 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.80.0\.files'
2023-06-27 01:29:33,315 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.80.0\.extra".
2023-06-27 01:29:33,331 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.80.0\.version".
2023-06-27 01:29:33,346 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.80.0\.sxs".
2023-06-27 01:29:33,362 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.80.0\.pin".
2023-06-27 01:29:33,378 4660 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-27 01:29:33,378 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\splunk-otel-collector\.chocolateyPending".
2023-06-27 01:29:33,409 4660 [INFO ] - The install of splunk-otel-collector was successful.
2023-06-27 01:29:33,409 4660 [INFO ] - Software installed as 'msi', install location is likely default.
2023-06-27 01:29:33,424 4660 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\splunk-otel-collector.0.80.0.nupkg".
2023-06-27 01:29:34,113 4660 [WARN ] -
Chocolatey installed 3/3 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-27 01:29:34,127 4660 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-27 01:29:34,238 4660 [DEBUG] - Exiting with 0
2023-06-27 01:32:28,580 1448 [DEBUG] - XmlConfiguration is now operational
2023-06-27 01:32:29,564 1448 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-27 01:32:29,580 1448 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-27 01:32:29,595 1448 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-27 01:32:29,611 1448 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-27 01:32:29,626 1448 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-27 01:32:29,642 1448 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-27 01:32:32,252 1448 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-27 01:32:32,266 1448 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-27 01:32:32,282 1448 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-27 01:32:32,299 1448 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-27 01:32:32,314 1448 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-27 01:32:32,330 1448 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-27 01:32:32,345 1448 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-27 01:32:32,361 1448 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-27 01:32:32,377 1448 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-27 01:32:32,392 1448 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-27 01:32:32,407 1448 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-27 01:32:32,423 1448 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-27 01:32:32,438 1448 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-27 01:32:32,454 1448 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-27 01:32:32,469 1448 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-27 01:32:32,485 1448 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-27 01:32:32,517 1448 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-27 01:32:33,048 1448 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-27 01:32:35,751 1448 [INFO ] - ============================================================
2023-06-27 01:32:38,674 1448 [INFO ] - Chocolatey v1.3.0
2023-06-27 01:32:39,815 1448 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-27 01:32:40,391 1448 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-27 01:32:40,407 1448 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-27 01:32:41,050 1448 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall splunk-otel-collector --version 0.80.0 -dvy --execution-timeout=2700
2023-06-27 01:32:41,095 1448 [DEBUG] - Received arguments: uninstall splunk-otel-collector --version 0.80.0 -dvy --execution-timeout=2700
2023-06-27 01:32:43,393 1448 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-27 01:32:44,064 1448 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-27 01:32:44,190 1448 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-27 01:32:46,081 1448 [DEBUG] - Performing validation checks.
2023-06-27 01:32:46,128 1448 [DEBUG] - Global Configuration Validation Checks:
2023-06-27 01:32:46,157 1448 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-27 01:32:46,736 1448 [DEBUG] - System State Validation Checks:
2023-06-27 01:32:46,767 1448 [DEBUG] - Reboot Requirement Checks:
2023-06-27 01:32:47,877 1448 [DEBUG] - - Pending Computer Rename = Checked
2023-06-27 01:32:47,907 1448 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-27 01:32:47,939 1448 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-27 01:32:47,986 1448 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-27 01:32:48,563 1448 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-27 01:32:48,595 1448 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-27 01:32:49,157 1448 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-27 01:32:49,846 1448 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-27 01:32:49,892 1448 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-06-27 01:32:50,641 1448 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='splunk-otel-collector'|Version='0.80.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='splunk-otel-collector'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-QU294RLN8HL'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-27 01:32:50,720 1448 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-27 01:32:50,940 1448 [INFO ] - Uninstalling the following packages:
2023-06-27 01:32:50,954 1448 [INFO ] - splunk-otel-collector
2023-06-27 01:32:51,455 1448 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-27 01:32:51,472 1448 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-27 01:32:51,985 1448 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-27 01:32:52,001 1448 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-27 01:32:52,033 1448 [DEBUG] - * 'ChocolateyLastPathUpdate'='133322548826977347' ('User')
2023-06-27 01:32:52,064 1448 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-27 01:32:52,079 1448 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-27 01:32:52,112 1448 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-27 01:32:52,642 1448 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-27 01:32:52,658 1448 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-27 01:32:52,689 1448 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-27 01:32:52,706 1448 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-27 01:32:52,736 1448 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-27 01:32:52,767 1448 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-27 01:32:52,783 1448 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-27 01:32:52,814 1448 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-27 01:32:52,830 1448 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-27 01:32:52,845 1448 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-27 01:32:52,877 1448 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-27 01:32:52,893 1448 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-27 01:32:52,923 1448 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-27 01:32:52,939 1448 [DEBUG] - * 'SPLUNK_API_URL'='https://api.us0.signalfx.com' ('Machine')
2023-06-27 01:32:52,954 1448 [DEBUG] - * 'SPLUNK_BUNDLE_DIR'='C:\Program Files\Splunk\OpenTelemetry Collector\agent-bundle' ('Machine')
2023-06-27 01:32:52,985 1448 [DEBUG] - * 'SPLUNK_HEC_TOKEN'='' ('Machine')
2023-06-27 01:32:53,001 1448 [DEBUG] - * 'SPLUNK_HEC_URL'='https://ingest.us0.signalfx.com/v1/log' ('Machine')
2023-06-27 01:32:53,033 1448 [DEBUG] - * 'SPLUNK_INGEST_URL'='https://ingest.us0.signalfx.com' ('Machine')
2023-06-27 01:32:53,064 1448 [DEBUG] - * 'SPLUNK_MEMORY_TOTAL_MIB'='512' ('Machine')
2023-06-27 01:32:53,565 1448 [DEBUG] - * 'SPLUNK_REALM'='us0' ('Machine')
2023-06-27 01:32:53,615 1448 [DEBUG] - * 'SPLUNK_TRACE_URL'='https://ingest.us0.signalfx.com/v2/trace' ('Machine')
2023-06-27 01:32:54,126 1448 [DEBUG] - * 'SPLUNK_CONFIG'='C:\ProgramData\Splunk\OpenTelemetry Collector\agent_config.yaml' ('Machine')
2023-06-27 01:32:54,143 1448 [DEBUG] - * 'TD_AGENT_TOPDIR'='C:\opt\td-agent\' ('Machine')
2023-06-27 01:32:58,659 1448 [DEBUG] - Running list with the following filter = ''
2023-06-27 01:32:58,689 1448 [DEBUG] - --- Start of List ---
2023-06-27 01:33:03,455 1448 [DEBUG] - splunk-otel-collector 0.80.0
2023-06-27 01:33:03,518 1448 [DEBUG] - --- End of List ---
2023-06-27 01:33:06,048 1448 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-27 01:33:06,079 1448 [DEBUG] - Backing up existing splunk-otel-collector prior to operation.
2023-06-27 01:33:06,626 1448 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\splunk-otel-collector'
to 'C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector'
2023-06-27 01:33:09,127 1448 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\splunk-otel-collector".
2023-06-27 01:33:09,237 1448 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector\splunk-otel-collector.nupkg"
to "C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nupkg".
2023-06-27 01:33:11,096 1448 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector\splunk-otel-collector.nuspec"
to "C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nuspec".
2023-06-27 01:33:13,643 1448 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools".
2023-06-27 01:33:13,674 1448 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1".
2023-06-27 01:33:14,235 1448 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1".
2023-06-27 01:33:15,001 1448 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector\tools\common.ps1"
to "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\common.ps1".
2023-06-27 01:33:15,032 1448 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector\tools\fluentd.ps1"
to "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\fluentd.ps1".
2023-06-27 01:33:15,063 1448 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\LICENSE.txt".
2023-06-27 01:33:15,094 1448 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi"
to "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi".
2023-06-27 01:33:16,737 1448 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi.ignore".
2023-06-27 01:33:16,784 1448 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\VERIFICATION.txt".
2023-06-27 01:33:18,753 1448 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\splunk-otel-collector'
2023-06-27 01:33:20,032 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nupkg'
with checksum '17D4C466B1F8DEBA5689835BFAE41D97'
2023-06-27 01:33:20,064 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nuspec'
with checksum '0F4F9CD5D9B757FB2B7ED1FFBA79148F'
2023-06-27 01:33:20,095 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1'
with checksum 'CD196BB2850BF7E328CAE2F0DB5F96FC'
2023-06-27 01:33:20,127 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1'
with checksum 'A5785E4520BFE6984C8F08032A109991'
2023-06-27 01:33:20,157 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\common.ps1'
with checksum '60A3CEE74465AAE925580696ED470219'
2023-06-27 01:33:20,173 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\fluentd.ps1'
with checksum 'C90531DF862456AE5AC197E8694681E1'
2023-06-27 01:33:20,923 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\LICENSE.txt'
with checksum '061F57C2DB997D6EDCEC03CBA65C29A9'
2023-06-27 01:33:24,143 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi'
with checksum 'A255CBC468D14D17CDEA2C2BA6ED5515'
2023-06-27 01:33:24,173 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-27 01:33:24,205 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\VERIFICATION.txt'
with checksum '576E94B279257C10DC31E5BBFD4359B8'
2023-06-27 01:33:37,237 1448 [INFO ] - [NuGet] Uninstalling 'splunk-otel-collector 0.80.0'.
2023-06-27 01:33:38,158 1448 [INFO ] -
splunk-otel-collector v0.80.0
2023-06-27 01:33:38,393 1448 [DEBUG] - Setting installer args for splunk-otel-collector
2023-06-27 01:33:38,423 1448 [DEBUG] - Setting package parameters for splunk-otel-collector
2023-06-27 01:33:38,455 1448 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1':
2023-06-27 01:33:38,752 1448 [DEBUG] - $ErrorActionPreference = 'Stop'; # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = $env:ChocolateyPackageTitle
fileType = 'MSI'
silentArgs = "/qn /norestart"
validExitCodes = @(0)
}
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
if ($key.Count -eq 1) {
$key | % {
$packageArgs['file'] = "$($_.UninstallString)" #NOTE: You may need to split this if it contains spaces, see below
if ($packageArgs['fileType'] -eq 'MSI') {
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
$packageArgs['file'] = ''
}
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)"}
}
2023-06-27 01:33:40,689 1448 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-27 01:33:40,987 1448 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-27 01:33:55,346 1448 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-27 01:34:01,439 1448 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-27 01:34:01,955 1448 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-27 01:34:01,987 1448 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-27 01:34:02,095 1448 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-27 01:34:02,159 1448 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-27 01:34:02,284 1448 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-27 01:34:02,878 1448 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-27 01:34:02,908 1448 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-27 01:34:02,939 1448 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-27 01:34:02,986 1448 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-27 01:34:03,017 1448 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-27 01:34:03,049 1448 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-27 01:34:03,096 1448 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-27 01:34:03,127 1448 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-27 01:34:03,158 1448 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-27 01:34:03,220 1448 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-27 01:34:03,267 1448 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-27 01:34:03,300 1448 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-27 01:34:03,346 1448 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-27 01:34:03,377 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-27 01:34:03,408 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-27 01:34:03,440 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-27 01:34:03,485 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-27 01:34:03,518 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-27 01:34:03,564 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-27 01:34:03,595 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-27 01:34:03,626 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-27 01:34:03,673 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-27 01:34:03,704 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-27 01:34:03,736 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-27 01:34:03,768 1448 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-27 01:34:03,798 1448 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-27 01:34:03,846 1448 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-27 01:34:03,876 1448 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-27 01:34:03,907 1448 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-27 01:34:03,938 1448 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-27 01:34:03,985 1448 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-27 01:34:04,017 1448 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-27 01:34:04,064 1448 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-27 01:34:04,095 1448 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-27 01:34:04,126 1448 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-27 01:34:04,191 1448 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-27 01:34:04,252 1448 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-27 01:34:04,283 1448 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-27 01:34:04,314 1448 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-27 01:34:04,345 1448 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-27 01:34:04,377 1448 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-27 01:34:04,423 1448 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-27 01:34:04,454 1448 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-27 01:34:04,486 1448 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-27 01:34:04,908 1448 [DEBUG] - Loading community extensions
2023-06-27 01:34:05,299 1448 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
2023-06-27 01:34:05,346 1448 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
2023-06-27 01:34:08,501 1448 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
2023-06-27 01:34:08,580 1448 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
2023-06-27 01:34:08,643 1448 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
2023-06-27 01:34:08,815 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2023-06-27 01:34:08,893 1448 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility
2023-06-27 01:34:09,096 1448 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2023-06-27 01:34:09,238 1448 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility
2023-06-27 01:34:09,362 1448 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2023-06-27 01:34:09,425 1448 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility
2023-06-27 01:34:10,033 1448 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2023-06-27 01:34:10,127 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2023-06-27 01:34:10,158 1448 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2023-06-27 01:34:10,205 1448 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2023-06-27 01:34:10,267 1448 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2023-06-27 01:34:10,378 1448 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2023-06-27 01:34:10,439 1448 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2023-06-27 01:34:13,861 1448 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2023-06-27 01:34:13,909 1448 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2023-06-27 01:34:14,049 1448 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2023-06-27 01:34:14,658 1448 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2023-06-27 01:34:14,751 1448 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2023-06-27 01:34:14,831 1448 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2023-06-27 01:34:14,893 1448 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2023-06-27 01:34:14,939 1448 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2023-06-27 01:34:14,955 1448 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2023-06-27 01:34:14,987 1448 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2023-06-27 01:34:15,017 1448 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2023-06-27 01:34:15,049 1448 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2023-06-27 01:34:15,127 1448 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2023-06-27 01:34:15,158 1448 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2023-06-27 01:34:15,237 1448 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-27 01:34:15,283 1448 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-27 01:34:16,288 1448 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-27 01:34:16,331 1448 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-27 01:34:16,408 1448 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-27 01:34:16,439 1448 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-27 01:34:16,502 1448 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-27 01:34:16,535 1448 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-27 01:34:16,580 1448 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-27 01:34:16,626 1448 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-27 01:34:16,658 1448 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-27 01:34:16,705 1448 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-27 01:34:16,736 1448 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-27 01:34:16,782 1448 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-27 01:34:16,813 1448 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-27 01:34:16,861 1448 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-27 01:34:16,892 1448 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-27 01:34:16,923 1448 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-27 01:34:16,955 1448 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-27 01:34:17,001 1448 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-27 01:34:17,033 1448 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-27 01:34:17,080 1448 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-27 01:34:17,111 1448 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-27 01:34:17,143 1448 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-27 01:34:17,205 1448 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-27 01:34:17,236 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-27 01:34:17,268 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-27 01:34:17,331 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-27 01:34:17,361 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-27 01:34:17,391 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-27 01:34:17,424 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-27 01:34:17,456 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-27 01:34:17,486 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-27 01:34:17,533 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-27 01:34:17,596 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-27 01:34:17,626 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-27 01:34:17,658 1448 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-27 01:34:17,690 1448 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-27 01:34:17,720 1448 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-27 01:34:17,751 1448 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-27 01:34:17,783 1448 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-27 01:34:17,830 1448 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-27 01:34:17,862 1448 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-27 01:34:17,892 1448 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-27 01:34:17,924 1448 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-27 01:34:17,955 1448 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-27 01:34:17,986 1448 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-27 01:34:18,017 1448 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2023-06-27 01:34:18,050 1448 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2023-06-27 01:34:18,095 1448 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2023-06-27 01:34:18,142 1448 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2023-06-27 01:34:18,173 1448 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2023-06-27 01:34:18,204 1448 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2023-06-27 01:34:18,252 1448 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2023-06-27 01:34:18,284 1448 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2023-06-27 01:34:18,314 1448 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2023-06-27 01:34:18,346 1448 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2023-06-27 01:34:18,376 1448 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2023-06-27 01:34:18,409 1448 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-27 01:34:18,439 1448 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-27 01:34:18,469 1448 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-27 01:34:18,517 1448 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-27 01:34:18,549 1448 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-27 01:34:18,595 1448 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-27 01:34:18,658 1448 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-27 01:34:18,705 1448 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-27 01:34:18,751 1448 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-27 01:34:18,815 1448 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-27 01:34:18,861 1448 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-27 01:34:18,954 1448 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-27 01:34:18,986 1448 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2023-06-27 01:34:19,032 1448 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2023-06-27 01:34:19,064 1448 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-27 01:34:19,111 1448 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-27 01:34:19,143 1448 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-27 01:34:19,173 1448 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-27 01:34:19,236 1448 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2023-06-27 01:34:19,267 1448 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-27 01:34:19,345 1448 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-27 01:34:19,376 1448 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-27 01:34:19,423 1448 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-27 01:34:19,517 1448 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2023-06-27 01:34:19,548 1448 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-27 01:34:19,595 1448 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-27 01:34:19,643 1448 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-27 01:34:19,674 1448 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-27 01:34:19,704 1448 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-27 01:34:19,736 1448 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-27 01:34:19,767 1448 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2023-06-27 01:34:19,798 1448 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-27 01:34:19,845 1448 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-27 01:34:19,877 1448 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-27 01:34:19,908 1448 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-27 01:34:19,938 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2023-06-27 01:34:19,985 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-27 01:34:20,017 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-27 01:34:20,049 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-27 01:34:20,080 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-27 01:34:20,127 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-27 01:34:20,158 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-27 01:34:20,205 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-27 01:34:20,236 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-27 01:34:20,268 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-27 01:34:20,314 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-27 01:34:20,346 1448 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-27 01:34:20,377 1448 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-27 01:34:20,409 1448 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-27 01:34:20,455 1448 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2023-06-27 01:34:20,486 1448 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2023-06-27 01:34:20,533 1448 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-27 01:34:20,565 1448 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-27 01:34:20,596 1448 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-27 01:34:20,659 1448 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-27 01:34:20,689 1448 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-27 01:34:20,721 1448 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-27 01:34:20,752 1448 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-27 01:34:20,798 1448 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-27 01:34:20,814 1448 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-27 01:34:20,846 1448 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-27 01:34:20,893 1448 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2023-06-27 01:34:20,924 1448 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2023-06-27 01:34:20,955 1448 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2023-06-27 01:34:20,986 1448 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-27 01:34:21,033 1448 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-27 01:34:21,064 1448 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-27 01:34:21,111 1448 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-27 01:34:21,142 1448 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-27 01:34:21,189 1448 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-27 01:34:21,221 1448 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-27 01:34:21,251 1448 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-27 01:34:21,299 1448 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-27 01:34:21,362 1448 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-27 01:34:23,845 1448 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-27 01:34:24,174 1448 [DEBUG] - Running 'ChocolateyScriptRunner' for splunk-otel-collector v0.80.0 with packageScript 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\splunk-otel-collector', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-27 01:34:25,034 1448 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1'
2023-06-27 01:34:27,815 1448 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'Splunk OpenTelemetry Collector'
2023-06-27 01:34:28,081 1448 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-27 01:34:29,829 1448 [DEBUG] - Registry uninstall keys on system: 29
2023-06-27 01:34:29,877 1448 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-27 01:34:31,550 1448 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'Splunk OpenTelemetry Collector'
2023-06-27 01:34:32,519 1448 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'splunk-otel-collector' -fileType 'MSI' -validExitCodes '0' -silentArgs '{846DF813-59E3-47FD-8833-7A4AA3F2E51A} /qn /norestart' -file ''
2023-06-27 01:34:34,985 1448 [INFO ] - Uninstalling splunk-otel-collector...
2023-06-27 01:34:37,627 1448 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements '/x {846DF813-59E3-47FD-8833-7A4AA3F2E51A} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-27 01:34:38,862 1448 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-27 01:34:39,658 1448 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {846DF813-59E3-47FD-8833-7A4AA3F2E51A} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-27 01:51:12,825 1448 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {846DF813-59E3-47FD-8833-7A4AA3F2E51A} /qn /norestart ] exited with '0'.
2023-06-27 01:51:13,841 1448 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-27 01:51:13,889 1448 [INFO ] - 0
2023-06-27 01:51:14,496 1448 [INFO ] - splunk-otel-collector has been uninstalled.
2023-06-27 01:51:14,747 1448 [DEBUG] - ----------------------------------------------------------------------
2023-06-27 01:51:14,856 1448 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-27 01:51:15,043 1448 [INFO ] - Running auto uninstaller...
2023-06-27 01:51:15,060 1448 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-27 01:51:17,262 1448 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{846DF813-59E3-47FD-8833-7A4AA3F2E51A}' for 'Splunk OpenTelemetry Collector'
2023-06-27 01:51:17,559 1448 [INFO ] - Skipping auto uninstaller - 'Splunk OpenTelemetry Collector' appears to have been uninstalled already by other means.
2023-06-27 01:51:17,590 1448 [DEBUG] - Searched for install path '' - found? False
2023-06-27 01:51:17,684 1448 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{846DF813-59E3-47FD-8833-7A4AA3F2E51A}' value 'InstallLocation' - found? False
2023-06-27 01:51:17,699 1448 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{D1624B76-0050-4AA8-A8FE-2295640A5FDB}' for 'Td-agent v4.3.2'
2023-06-27 01:51:17,779 1448 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2023-06-27 01:51:17,826 1448 [DEBUG] - Installer type is 'MsiInstaller'
2023-06-27 01:51:17,856 1448 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector\0.80.0
2023-06-27 01:51:17,887 1448 [DEBUG] - Attempting to create directory "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector".
2023-06-27 01:51:17,919 1448 [DEBUG] - Args are '/X{D1624B76-0050-4AA8-A8FE-2295640A5FDB} /qn /norestart'
2023-06-27 01:51:17,983 1448 [DEBUG] - Calling command ['"MsiExec.exe" /X{D1624B76-0050-4AA8-A8FE-2295640A5FDB} /qn /norestart']
2023-06-27 02:10:57,771 1448 [DEBUG] - Command ['"MsiExec.exe" /X{D1624B76-0050-4AA8-A8FE-2295640A5FDB} /qn /norestart'] exited with '0'
2023-06-27 02:10:57,850 1448 [INFO ] - Auto uninstaller has successfully uninstalled splunk-otel-collector or detected previous uninstall.
2023-06-27 02:10:57,896 1448 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-27 02:10:58,443 1448 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-27 02:10:58,584 1448 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\splunk-otel-collector".
2023-06-27 02:10:58,959 1448 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools'.
2023-06-27 02:10:58,989 1448 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools'.
2023-06-27 02:10:59,053 1448 [DEBUG] - [NuGet] Removed file 'common.ps1' to folder 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools'.
2023-06-27 02:10:59,084 1448 [DEBUG] - [NuGet] Removed file 'fluentd.ps1' to folder 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools'.
2023-06-27 02:10:59,130 1448 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools'.
2023-06-27 02:10:59,726 1448 [DEBUG] - [NuGet] Removed file 'splunk-otel-collector-0.80.0-amd64.msi' to folder 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools'.
2023-06-27 02:10:59,772 1448 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools'.
2023-06-27 02:10:59,850 1448 [DEBUG] - [NuGet] Removed file 'splunk-otel-collector.nuspec' to folder 'C:\ProgramData\chocolatey\lib\splunk-otel-collector'.
2023-06-27 02:10:59,914 1448 [DEBUG] - [NuGet] Removed file 'splunk-otel-collector.nupkg' to folder 'C:\ProgramData\chocolatey\lib\splunk-otel-collector'.
2023-06-27 02:10:59,975 1448 [DEBUG] - [NuGet] The directory is not empty.
2023-06-27 02:11:00,006 1448 [INFO ] - [NuGet] Successfully uninstalled 'splunk-otel-collector 0.80.0'.
2023-06-27 02:11:00,148 1448 [INFO ] - splunk-otel-collector has been successfully uninstalled.
2023-06-27 02:11:00,177 1448 [DEBUG] - Removing nupkg if it still exists.
2023-06-27 02:11:00,240 1448 [DEBUG] - Ensuring removal of installation files.
2023-06-27 02:11:00,334 1448 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-27 02:11:00,366 1448 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.80.0-amd64.msi.ignore".
2023-06-27 02:11:00,414 1448 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\splunk-otel-collector".
2023-06-27 02:11:00,461 1448 [DEBUG] - Ensuring removal of package cache files.
2023-06-27 02:11:00,600 1448 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-06-27 02:11:00,630 1448 [DEBUG] - The following values have been removed:
2023-06-27 02:11:00,647 1448 [DEBUG] - * SPLUNK_CONFIG='C:\ProgramData\Splunk\OpenTelemetry Collector\agent_config.yaml' (Machine)
2023-06-27 02:11:00,679 1448 [DEBUG] - * TD_AGENT_TOPDIR='C:\opt\td-agent\' (Machine)
2023-06-27 02:11:00,897 1448 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-27 02:11:00,960 1448 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-27 02:11:01,255 1448 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment