|
2024-06-05 00:10:05,800 5484 [DEBUG] - XmlConfiguration is now operational
|
|
2024-06-05 00:10:06,018 5484 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-06-05 00:10:06,033 5484 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-06-05 00:10:06,033 5484 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-06-05 00:10:06,049 5484 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-06-05 00:10:06,049 5484 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-06-05 00:10:06,065 5484 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-06-05 00:10:06,065 5484 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-06-05 00:10:06,083 5484 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-06-05 00:10:06,112 5484 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-06-05 00:10:06,127 5484 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-06-05 00:10:06,127 5484 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-06-05 00:10:07,331 5484 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-06-05 00:10:07,331 5484 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-06-05 00:10:07,346 5484 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-06-05 00:10:07,346 5484 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-06-05 00:10:07,362 5484 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-06-05 00:10:07,362 5484 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-06-05 00:10:07,379 5484 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-06-05 00:10:07,379 5484 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-06-05 00:10:07,392 5484 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-06-05 00:10:07,392 5484 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-06-05 00:10:07,441 5484 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-06-05 00:10:07,441 5484 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-06-05 00:10:07,455 5484 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-06-05 00:10:07,455 5484 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-06-05 00:10:07,455 5484 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-06-05 00:10:07,471 5484 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-06-05 00:10:07,471 5484 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-06-05 00:10:07,487 5484 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-06-05 00:10:07,487 5484 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-06-05 00:10:07,487 5484 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-06-05 00:10:07,503 5484 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-06-05 00:10:07,503 5484 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-06-05 00:10:07,503 5484 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-06-05 00:10:07,518 5484 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-06-05 00:10:07,518 5484 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-06-05 00:10:07,535 5484 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-06-05 00:10:07,535 5484 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-06-05 00:10:07,550 5484 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-06-05 00:10:07,550 5484 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-06-05 00:10:07,565 5484 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-06-05 00:10:07,986 5484 [INFO ] - ============================================================
|
|
2024-06-05 00:10:08,565 5484 [INFO ] - Chocolatey v2.2.2
|
|
2024-06-05 00:10:08,613 5484 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-06-05 00:10:08,628 5484 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-06-05 00:10:08,628 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-06-05 00:10:08,659 5484 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install splunk-otel-collector --version 0.102.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-06-05 00:10:08,679 5484 [DEBUG] - Received arguments: install splunk-otel-collector --version 0.102.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-06-05 00:10:08,924 5484 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-06-05 00:10:08,956 5484 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-06-05 00:10:08,989 5484 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-06-05 00:10:09,299 5484 [DEBUG] - Performing validation checks.
|
|
2024-06-05 00:10:09,314 5484 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-06-05 00:10:09,314 5484 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-06-05 00:10:09,345 5484 [DEBUG] - System State Validation Checks:
|
|
2024-06-05 00:10:09,345 5484 [DEBUG] - Reboot Requirement Checks:
|
|
2024-06-05 00:10:09,362 5484 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-06-05 00:10:09,377 5484 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-06-05 00:10:09,377 5484 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-06-05 00:10:09,393 5484 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-06-05 00:10:09,393 5484 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-06-05 00:10:09,409 5484 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-06-05 00:10:09,425 5484 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-06-05 00:10:09,440 5484 [DEBUG] - - Elevated State = Checked
|
|
2024-06-05 00:10:09,440 5484 [DEBUG] - - Folder Exists = Checked
|
|
2024-06-05 00:10:09,455 5484 [DEBUG] - - Folder lockdown = Checked
|
|
2024-06-05 00:10:09,487 5484 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-06-05 00:10:09,549 5484 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-06-05 00:10:09,549 5484 [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.
|
|
2024-06-05 00:10:09,642 5484 [DEBUG] - Configuration: CommandName='install'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|ShowOnlineHelp='False'|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.102.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'|
|
|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2016'|
|
|
Information.ChocolateyVersion='2.2.2.0'|
|
|
Information.ChocolateyProductVersion='2.2.2'|
|
|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-JR0U42GH05N'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='False'|
|
|
Information.IsLicensedAssemblyLoaded='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'|
|
|
ListCommand.ExplicitPageSize='False'|
|
|
ListCommand.ExplicitSource='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.Command='Unknown'|PinCommand.Command='Unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
|
|
CacheCommand.RemoveExpiredItemsOnly='False'|
|
|
2024-06-05 00:10:09,642 5484 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-06-05 00:10:09,659 5484 [INFO ] - Installing the following packages:
|
|
2024-06-05 00:10:09,676 5484 [INFO ] - splunk-otel-collector
|
|
2024-06-05 00:10:09,689 5484 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-06-05 00:10:09,721 5484 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-06-05 00:10:09,721 5484 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-06-05 00:10:09,738 5484 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-06-05 00:10:09,738 5484 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-06-05 00:10:09,751 5484 [DEBUG] - * 'ChocolateyLastPathUpdate'='133619791806122486' ('User')
|
|
2024-06-05 00:10:09,751 5484 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-06-05 00:10:09,767 5484 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-06-05 00:10:09,767 5484 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-06-05 00:10:09,784 5484 [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')
|
|
2024-06-05 00:10:09,799 5484 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-06-05 00:10:09,799 5484 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-06-05 00:10:09,799 5484 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-06-05 00:10:09,815 5484 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-06-05 00:10:09,815 5484 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-06-05 00:10:09,830 5484 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-06-05 00:10:09,830 5484 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-06-05 00:10:09,847 5484 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-06-05 00:10:09,847 5484 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-06-05 00:10:09,862 5484 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-06-05 00:10:09,862 5484 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-06-05 00:10:09,971 5484 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-06-05 00:10:10,720 5484 [DEBUG] - Running list with the following filter = ''
|
|
2024-06-05 00:10:10,720 5484 [DEBUG] - --- Start of List ---
|
|
2024-06-05 00:10:10,803 5484 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-06-05 00:10:11,410 5484 [DEBUG] - chocolatey 2.2.2
|
|
2024-06-05 00:10:11,424 5484 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-06-05 00:10:11,445 5484 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-06-05 00:10:11,471 5484 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-06-05 00:10:11,489 5484 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-06-05 00:10:11,489 5484 [DEBUG] - KB3035131 1.0.3
|
|
2024-06-05 00:10:11,533 5484 [DEBUG] - KB3118401 1.0.5
|
|
2024-06-05 00:10:11,548 5484 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
|
|
2024-06-05 00:10:11,565 5484 [DEBUG] - --- End of List ---
|
|
2024-06-05 00:10:11,581 5484 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-06-05 00:10:13,049 5484 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-06-05 00:10:13,892 5484 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='splunk-otel-collector',Version='0.102.0')
|
|
2024-06-05 00:10:14,158 5484 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='splunk-otel-collector',Version='0.102.0') 263ms
|
|
2024-06-05 00:10:14,533 5484 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-06-05 00:10:15,283 5484 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-06-05 00:10:15,299 5484 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='splunk-otel-collector',Version='0.102.0')
|
|
2024-06-05 00:10:16,846 5484 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
|
|
2024-06-05 00:10:16,923 5484 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 59ms
|
|
2024-06-05 00:10:16,986 5484 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-compatibility.extension'&semVerLevel=2.0.0
|
|
2024-06-05 00:10:17,049 5484 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-compatibility.extension'&semVerLevel=2.0.0 53ms
|
|
2024-06-05 00:10:17,080 5484 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey-compatibility.extension'&$skiptoken='1715767803244','1.0.0','chocolatey-compatibility.extension'
|
|
2024-06-05 00:10:17,300 5484 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey-compatibility.extension'&$skiptoken='1715767803244','1.0.0','chocolatey-compatibility.extension' 185ms
|
|
2024-06-05 00:10:17,314 5484 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-core.extension'&semVerLevel=2.0.0
|
|
2024-06-05 00:10:17,379 5484 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-core.extension'&semVerLevel=2.0.0 48ms
|
|
2024-06-05 00:10:17,582 5484 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey-core.extension'&$skiptoken='1712192601110','1.0.1','chocolatey-core.extension'
|
|
2024-06-05 00:10:17,677 5484 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey-core.extension'&$skiptoken='1712192601110','1.0.1','chocolatey-core.extension' 88ms
|
|
2024-06-05 00:10:18,065 5484 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-06-05 00:10:18,096 5484 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='chocolatey-compatibility.extension',Version='1.0.0')
|
|
2024-06-05 00:10:18,159 5484 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='chocolatey-compatibility.extension',Version='1.0.0') 58ms
|
|
2024-06-05 00:10:18,189 5484 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-06-05 00:10:18,268 5484 [DEBUG] - Attempting to delete file "".
|
|
2024-06-05 00:10:18,330 5484 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/chocolatey-compatibility.extension/1.0.0
|
|
2024-06-05 00:10:18,627 5484 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/chocolatey-compatibility.extension/1.0.0 283ms
|
|
2024-06-05 00:10:18,768 5484 [INFO ] - [NuGet] Acquiring lock for the installation of chocolatey-compatibility.extension 1.0.0
|
|
2024-06-05 00:10:19,050 5484 [INFO ] - [NuGet] Acquired lock for the installation of chocolatey-compatibility.extension 1.0.0
|
|
2024-06-05 00:10:19,737 5484 [INFO ] - [NuGet] Installed chocolatey-compatibility.extension 1.0.0 from https://community.chocolatey.org/api/v2/ with content hash cRfCv902OWoBUREOIdPpWS5y7Hm+qpscBpEeJ0X2IC1qNkoChFKHPM/X8H0jeutO/o/6tD/4uNSmUueRWjJWjQ==.
|
|
2024-06-05 00:10:19,815 5484 [INFO ] - [NuGet] Adding package 'chocolatey-compatibility.extension.1.0.0' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-06-05 00:10:20,002 5484 [INFO ] - [NuGet] Added package 'chocolatey-compatibility.extension.1.0.0' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-06-05 00:10:20,018 5484 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\chocolatey-compatibility.extension/1.0.0\chocolatey-compatibility.extension.1.0.0.nupkg".
|
|
2024-06-05 00:10:20,033 5484 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\chocolatey-compatibility.extension/1.0.0\.nupkg.metadata".
|
|
2024-06-05 00:10:20,033 5484 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\chocolatey-compatibility.extension/1.0.0\chocolatey-compatibility.extension.1.0.0.nupkg.sha512".
|
|
2024-06-05 00:10:20,049 5484 [INFO ] -
|
|
chocolatey-compatibility.extension v1.0.0 (forced) [Approved]
|
|
2024-06-05 00:10:20,175 5484 [INFO ] - chocolatey-compatibility.extension package files install completed. Performing other installation steps.
|
|
2024-06-05 00:10:20,472 5484 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension'
|
|
2024-06-05 00:10:20,472 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\chocolatey-compatibility.extension.nupkg'
|
|
with checksum 'FA277C3720AB0DA4947D11272DAB96A8'
|
|
2024-06-05 00:10:20,486 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\chocolatey-compatibility.extension.nuspec'
|
|
with checksum 'E4F76BE29CB79EF59D3238F490BA92E2'
|
|
2024-06-05 00:10:20,486 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\chocolatey-compatibility.psm1'
|
|
with checksum 'D6BED48F1A2055D2CC8A7E65A3B9B653'
|
|
2024-06-05 00:10:20,502 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Get-PackageParameters.ps1'
|
|
with checksum '71D1214302A8DCEDBC514DDD1A4C8B02'
|
|
2024-06-05 00:10:20,502 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Get-UninstallRegistryKey.ps1'
|
|
with checksum 'BEF350705A6096C5A6D5008674F81A0A'
|
|
2024-06-05 00:10:20,518 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Install-ChocolateyDesktopLink.ps1'
|
|
with checksum '507F2FBE3B0E4E7026FF318F57D11629'
|
|
2024-06-05 00:10:20,534 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-ChocolateyFailure.ps1'
|
|
with checksum '62F5761ED276CC6E52D7B7A57F50B669'
|
|
2024-06-05 00:10:20,534 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-ChocolateySuccess.ps1'
|
|
with checksum 'F2D4D28C6EAA6D52E827761700BFC366'
|
|
2024-06-05 00:10:20,548 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-FileUpdateLog.ps1'
|
|
with checksum '96B9E7F714A968AE4CD62E3749C3E5EC'
|
|
2024-06-05 00:10:20,564 5484 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility".
|
|
2024-06-05 00:10:20,597 5484 [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".
|
|
2024-06-05 00:10:20,597 5484 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\helpers".
|
|
2024-06-05 00:10:20,612 5484 [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".
|
|
2024-06-05 00:10:20,612 5484 [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".
|
|
2024-06-05 00:10:20,627 5484 [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".
|
|
2024-06-05 00:10:20,627 5484 [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".
|
|
2024-06-05 00:10:20,643 5484 [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".
|
|
2024-06-05 00:10:20,643 5484 [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".
|
|
2024-06-05 00:10:22,207 5484 [WARN ] - Installed/updated chocolatey-compatibility extensions.
|
|
2024-06-05 00:10:22,330 5484 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0".
|
|
2024-06-05 00:10:22,379 5484 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.files'
|
|
2024-06-05 00:10:22,393 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.extra".
|
|
2024-06-05 00:10:22,408 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.version".
|
|
2024-06-05 00:10:22,408 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.sxs".
|
|
2024-06-05 00:10:22,424 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.pin".
|
|
2024-06-05 00:10:22,442 5484 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-06-05 00:10:22,456 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\.chocolateyPending".
|
|
2024-06-05 00:10:22,471 5484 [INFO ] - The install of chocolatey-compatibility.extension was successful.
|
|
2024-06-05 00:10:22,471 5484 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility'
|
|
2024-06-05 00:10:22,502 5484 [DEBUG] - Resolving resource DownloadResource for source c:\cached-packages
|
|
2024-06-05 00:10:22,519 5484 [DEBUG] - Attempting to delete file "".
|
|
2024-06-05 00:10:22,581 5484 [INFO ] - [NuGet] Adding package 'chocolatey-core.extension.1.4.0 : chocolatey-compatibility.extension [1.0.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-06-05 00:10:22,799 5484 [INFO ] - [NuGet] Added package 'chocolatey-core.extension.1.4.0 : chocolatey-compatibility.extension [1.0.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-06-05 00:10:22,815 5484 [DEBUG] - [NuGet] Added package 'chocolatey-core.extension.1.4.0 : chocolatey-compatibility.extension [1.0.0, )' to folder 'C:\ProgramData\chocolatey\lib' from source 'c:\cached-packages'
|
|
2024-06-05 00:10:22,815 5484 [INFO ] -
|
|
chocolatey-core.extension v1.4.0 (forced)
|
|
2024-06-05 00:10:22,831 5484 [INFO ] - chocolatey-core.extension package files install completed. Performing other installation steps.
|
|
2024-06-05 00:10:22,862 5484 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension'
|
|
2024-06-05 00:10:22,862 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nupkg'
|
|
with checksum '0CA0F8AA17B974343E7967B1820D0D9C'
|
|
2024-06-05 00:10:22,876 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nuspec'
|
|
with checksum 'B2C1C3F82AA3D894AD8E5547FF7B1688'
|
|
2024-06-05 00:10:22,876 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\chocolatey-core.psm1'
|
|
with checksum '2A0DE2FF529CFC02FDF540ACBEE99EE1'
|
|
2024-06-05 00:10:22,893 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AppInstallLocation.ps1'
|
|
with checksum 'D19FCAF1650F0EE327666CA8823F3731'
|
|
2024-06-05 00:10:22,893 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AvailableDriveLetter.ps1'
|
|
with checksum 'FF3C638BD18B2D3A563753960F6DD323'
|
|
2024-06-05 00:10:22,912 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-EffectiveProxy.ps1'
|
|
with checksum '2584085C65E44561A8D8A78F617AFD3E'
|
|
2024-06-05 00:10:22,924 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageCacheLocation.ps1'
|
|
with checksum '77A378E5C659E5A53D2D64E276159B62'
|
|
2024-06-05 00:10:22,924 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-WebContent.ps1'
|
|
with checksum '57D013E581EFEA3D4D8366183C9A5797'
|
|
2024-06-05 00:10:22,939 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Register-Application.ps1'
|
|
with checksum 'D2853E569DAC9A341642BA76EC4FB411'
|
|
2024-06-05 00:10:22,939 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Remove-Process.ps1'
|
|
with checksum '9A56AD3B71FD44CB8D0EA2C1ADB023B2'
|
|
2024-06-05 00:10:22,957 5484 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-core".
|
|
2024-06-05 00:10:22,978 5484 [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".
|
|
2024-06-05 00:10:22,988 5484 [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".
|
|
2024-06-05 00:10:22,988 5484 [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".
|
|
2024-06-05 00:10:23,004 5484 [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".
|
|
2024-06-05 00:10:23,019 5484 [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".
|
|
2024-06-05 00:10:23,034 5484 [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".
|
|
2024-06-05 00:10:23,034 5484 [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".
|
|
2024-06-05 00:10:23,050 5484 [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".
|
|
2024-06-05 00:10:24,581 5484 [WARN ] - Installed/updated chocolatey-core extensions.
|
|
2024-06-05 00:10:24,596 5484 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0".
|
|
2024-06-05 00:10:24,613 5484 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.files'
|
|
2024-06-05 00:10:24,643 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.extra".
|
|
2024-06-05 00:10:24,643 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.version".
|
|
2024-06-05 00:10:24,660 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.sxs".
|
|
2024-06-05 00:10:24,678 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.pin".
|
|
2024-06-05 00:10:24,689 5484 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-06-05 00:10:24,689 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\.chocolateyPending".
|
|
2024-06-05 00:10:24,707 5484 [INFO ] - The install of chocolatey-core.extension was successful.
|
|
2024-06-05 00:10:24,721 5484 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
|
|
2024-06-05 00:10:24,738 5484 [DEBUG] - Attempting to delete file "".
|
|
2024-06-05 00:10:24,753 5484 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/splunk-otel-collector/0.102.0
|
|
2024-06-05 00:10:25,377 5484 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/splunk-otel-collector/0.102.0 616ms
|
|
2024-06-05 00:10:25,377 5484 [INFO ] - [NuGet] Acquiring lock for the installation of splunk-otel-collector 0.102.0
|
|
2024-06-05 00:10:25,393 5484 [INFO ] - [NuGet] Acquired lock for the installation of splunk-otel-collector 0.102.0
|
|
2024-06-05 00:11:10,314 5484 [INFO ] - [NuGet] Installed splunk-otel-collector 0.102.0 from https://community.chocolatey.org/api/v2/ with content hash 0BiTiNIADU4dGI9CRHRkXCcGRtg6QafVCDG9+L43DeInEyQI6gL5WUSUHgLOo6yyRSD7bdJN160Eryiy24vxog==.
|
|
2024-06-05 00:11:10,345 5484 [INFO ] - [NuGet] Adding package 'splunk-otel-collector.0.102.0 : chocolatey-core.extension [1.3.5.1, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-06-05 00:11:11,347 5484 [INFO ] - [NuGet] Added package 'splunk-otel-collector.0.102.0 : chocolatey-core.extension [1.3.5.1, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-06-05 00:11:11,360 5484 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\splunk-otel-collector/0.102.0\splunk-otel-collector.0.102.0.nupkg".
|
|
2024-06-05 00:11:11,395 5484 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\splunk-otel-collector/0.102.0\.nupkg.metadata".
|
|
2024-06-05 00:11:11,395 5484 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\splunk-otel-collector/0.102.0\splunk-otel-collector.0.102.0.nupkg.sha512".
|
|
2024-06-05 00:11:11,408 5484 [INFO ] -
|
|
splunk-otel-collector v0.102.0 (forced)
|
|
2024-06-05 00:11:11,423 5484 [INFO ] - splunk-otel-collector package files install completed. Performing other installation steps.
|
|
2024-06-05 00:11:11,471 5484 [DEBUG] - Setting installer args for splunk-otel-collector
|
|
2024-06-05 00:11:11,486 5484 [DEBUG] - Setting package parameters for splunk-otel-collector
|
|
2024-06-05 00:11:11,501 5484 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1':
|
|
2024-06-05 00:11:11,533 5484 [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 = $FALSE
|
|
[bool]$SkipFluentd = $FALSE
|
|
|
|
$MODE = $pp['MODE']
|
|
|
|
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
|
|
}
|
|
|
|
# Read splunk-otel-collector environment variables.
|
|
$env_vars = @{}
|
|
$env_var_names = @(
|
|
"SPLUNK_ACCESS_TOKEN",
|
|
"SPLUNK_REALM",
|
|
"SPLUNK_INGEST_URL",
|
|
"SPLUNK_API_URL",
|
|
"SPLUNK_HEC_TOKEN",
|
|
"SPLUNK_HEC_URL",
|
|
"SPLUNK_TRACE_URL",
|
|
"SPLUNK_MEMORY_TOTAL_MIB",
|
|
"SPLUNK_BUNDLE_DIR",
|
|
"SPLUNK_LISTEN_INTERFACE"
|
|
)
|
|
$upgraded_from_version_with_machine_wide_env_vars = $false
|
|
|
|
Write-Host "Checking for previous installation..."
|
|
# First check if any previous version of the collector is installed.
|
|
$installed_collector = Get-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*" -ErrorAction SilentlyContinue |
|
|
Where-Object { $_.DisplayName -eq "Splunk OpenTelemetry Collector" }
|
|
if ($installed_collector) {
|
|
# The package is already present, so this is an upgrade.
|
|
Write-Host "Found a previous installation..."
|
|
$installed_version = [Version]$installed_collector.DisplayVersion # Version for chocolatey doesn't include the prefilx 'v', this conversion is fine.
|
|
$last_version_with_machine_env_vars = [Version]"0.92.0.0"
|
|
if ($installed_version -le $last_version_with_machine_env_vars) {
|
|
$upgraded_from_version_with_machine_wide_env_vars = $true
|
|
Write-Host "Getting machine wide environment variables..."
|
|
foreach ($name in $env_var_names) {
|
|
$value = [Environment]::GetEnvironmentVariable($name, "Machine")
|
|
if ($value) {
|
|
$env_vars[$name] = "$value"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
$reg_path = Join-Path "HKLM:\SYSTEM\CurrentControlSet\Services" $service_name
|
|
if (Test-Path $reg_path) {
|
|
Write-Host "Service registry entry key found: $reg_path"
|
|
$previous_environment = Get-ItemProperty $reg_path -Name "Environment" -ErrorAction SilentlyContinue
|
|
if ($previous_environment) {
|
|
Write-Host "Found previous environment variables for the $service_name service."
|
|
foreach ($entry in $previous_environment) {
|
|
$k, $v = $entry.Split("=", 2)
|
|
$env_vars[$k] = $v
|
|
}
|
|
}
|
|
}
|
|
|
|
# Use default values if package parameters not set
|
|
Write-Host "Setting default values for missing parameters..."
|
|
$access_token = $pp["SPLUNK_ACCESS_TOKEN"]
|
|
if ($access_token) {
|
|
$env_vars["SPLUNK_ACCESS_TOKEN"] = "$access_token" # Env. var values are always strings
|
|
} elseif (!$env_vars["SPLUNK_ACCESS_TOKEN"]) {
|
|
write-host "The SPLUNK_ACCESS_TOKEN parameter is not specified."
|
|
}
|
|
|
|
set_env_var_value_from_package_params $env_vars $pp "SPLUNK_REALM" "us0"
|
|
$realm = $env_vars["SPLUNK_REALM"] # Cache the realm since it is used to build various default values.
|
|
|
|
set_env_var_value_from_package_params $env_vars $pp "SPLUNK_INGEST_URL" "https://ingest.$realm.signalfx.com"
|
|
set_env_var_value_from_package_params $env_vars $pp "SPLUNK_API_URL" "https://api.$realm.signalfx.com"
|
|
set_env_var_value_from_package_params $env_vars $pp "SPLUNK_HEC_TOKEN" $env_vars["SPLUNK_ACCESS_TOKEN"]
|
|
set_env_var_value_from_package_params $env_vars $pp "SPLUNK_HEC_URL" "https://ingest.$realm.signalfx.com/v1/log"
|
|
set_env_var_value_from_package_params $env_vars $pp "SPLUNK_TRACE_URL" "https://ingest.$realm.signalfx.com/v2/trace"
|
|
set_env_var_value_from_package_params $env_vars $pp "SPLUNK_MEMORY_TOTAL_MIB" "512"
|
|
set_env_var_value_from_package_params $env_vars $pp "SPLUNK_BUNDLE_DIR" "$installation_path\agent-bundle"
|
|
|
|
# stop orphaned service or when upgrading from bundle installation
|
|
if (Get-Service -Name $service_name -ErrorAction SilentlyContinue) {
|
|
stop_service -name $service_name
|
|
}
|
|
|
|
# remove orphaned registry entries or when upgrading from bundle installation
|
|
try {
|
|
remove_otel_registry_entries
|
|
} catch {
|
|
write-host "$_"
|
|
}
|
|
|
|
if ($upgraded_from_version_with_machine_wide_env_vars) {
|
|
# Remove the machine-wide environment variables that were set by previous versions of the collector.
|
|
foreach ($name in $env_var_names) {
|
|
[Environment]::SetEnvironmentVariable($name, $null, "Machine")
|
|
}
|
|
}
|
|
|
|
if ($installed_collector) {
|
|
# If upgrading from a previous version, we need to remove the previous version because prior to 0.95.0
|
|
# the collector was installed for the user and not the machine, so remove any previous version.
|
|
$uninstallArgs = @{
|
|
packageName = $env:ChocolateyPackageName
|
|
softwareName = $env:ChocolateyPackageTitle
|
|
file = '' # This is an MSI package, so the file is not needed.
|
|
fileType = 'MSI'
|
|
silentArgs = "$($installed_collector.PSChildName) /qn /norestart"
|
|
validExitCodes = @(0)
|
|
}
|
|
|
|
Write-Host "Uninstalling previous version of the collector..."
|
|
Uninstall-ChocolateyPackage @uninstallArgs
|
|
}
|
|
|
|
$packageArgs = @{
|
|
packageName = $env:ChocolateyPackageName
|
|
fileType = 'msi'
|
|
file = Join-Path "$toolsDir" "splunk-otel-collector-0.102.0-amd64.msi" # replaced at build time
|
|
softwareName = $env:ChocolateyPackageTitle
|
|
checksum64 = "3F921ABB13784107FF5AD7E55BD38F338BA3A4261FE9F6820C06A2F45C4B22E9" # replaced at build time
|
|
checksumType64 = 'sha256'
|
|
silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`" INSTALLDIR=`"$($installation_path)`""
|
|
validExitCodes = @(0)
|
|
}
|
|
|
|
$msi_properties_args = ""
|
|
foreach ($entry in $env_vars.GetEnumerator()) {
|
|
$msi_properties_args += " $($entry.Key)=`"$($entry.Value)`""
|
|
}
|
|
|
|
if ($MODE) {
|
|
$msi_properties_args += " SPLUNK_SETUP_COLLECTOR_MODE=`"$MODE`""
|
|
}
|
|
$packageArgs["silentArgs"] += $msi_properties_args
|
|
|
|
Install-ChocolateyInstallPackage @packageArgs
|
|
|
|
# Install and configure fluentd to forward log events to the collector.
|
|
if ($WITH_FLUENTD) {
|
|
# Skip installation of fluentd if already installed
|
|
if ((Get-Service -Name $fluentd_service_name -ErrorAction SilentlyContinue) -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 (!$env_vars["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> $values = Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\splunk-otel-collector" -Name "Environment" | Select-Object -ExpandProperty Environment'
|
|
write-host ' PS> $values += "SPLUNK_ACCESS_TOKEN=<your_access_token>"'
|
|
write-host ' PS> Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\splunk-otel-collector" -Name $propertyName -Value $values -Type MultiString'
|
|
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..."
|
|
start_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
|
|
}
|
|
}
|
|
|
|
|
|
|
|
2024-06-05 00:11:11,578 5484 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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']
|
|
2024-06-05 00:11:11,611 5484 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-06-05 00:11:13,079 5484 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2024-06-05 00:11:14,203 5484 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-06-05 00:11:14,221 5484 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-06-05 00:11:14,221 5484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-06-05 00:11:14,236 5484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-06-05 00:11:14,251 5484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-06-05 00:11:14,251 5484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-06-05 00:11:14,268 5484 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-06-05 00:11:14,282 5484 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-06-05 00:11:14,282 5484 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-06-05 00:11:14,303 5484 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-06-05 00:11:14,314 5484 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-06-05 00:11:14,330 5484 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-06-05 00:11:14,346 5484 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-06-05 00:11:14,360 5484 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-06-05 00:11:14,360 5484 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-06-05 00:11:14,377 5484 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-06-05 00:11:14,392 5484 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-06-05 00:11:14,409 5484 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-06-05 00:11:14,409 5484 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-06-05 00:11:14,424 5484 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-06-05 00:11:14,442 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-06-05 00:11:14,442 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-06-05 00:11:14,455 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-06-05 00:11:14,470 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-06-05 00:11:14,470 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-06-05 00:11:14,486 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-06-05 00:11:14,486 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-06-05 00:11:14,501 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-06-05 00:11:14,517 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-06-05 00:11:14,517 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-06-05 00:11:14,532 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-06-05 00:11:14,532 5484 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-06-05 00:11:14,548 5484 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-06-05 00:11:14,548 5484 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-06-05 00:11:14,563 5484 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-06-05 00:11:14,563 5484 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-06-05 00:11:14,579 5484 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-06-05 00:11:14,596 5484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-06-05 00:11:14,596 5484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-06-05 00:11:14,611 5484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-06-05 00:11:14,611 5484 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-06-05 00:11:14,627 5484 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-06-05 00:11:14,642 5484 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-06-05 00:11:14,642 5484 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-06-05 00:11:14,657 5484 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-06-05 00:11:14,677 5484 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-06-05 00:11:14,689 5484 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-06-05 00:11:14,708 5484 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-06-05 00:11:14,708 5484 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-06-05 00:11:14,721 5484 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-06-05 00:11:14,721 5484 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-06-05 00:11:14,782 5484 [DEBUG] - Loading community extensions
|
|
2024-06-05 00:11:14,860 5484 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
|
|
2024-06-05 00:11:14,860 5484 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
|
|
2024-06-05 00:11:15,220 5484 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
|
|
2024-06-05 00:11:15,237 5484 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
|
|
2024-06-05 00:11:15,237 5484 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
|
|
2024-06-05 00:11:15,252 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
|
|
2024-06-05 00:11:15,267 5484 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility
|
|
2024-06-05 00:11:15,283 5484 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
|
|
2024-06-05 00:11:15,299 5484 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility
|
|
2024-06-05 00:11:15,315 5484 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
|
|
2024-06-05 00:11:15,315 5484 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility
|
|
2024-06-05 00:11:15,335 5484 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
|
|
2024-06-05 00:11:15,348 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
|
|
2024-06-05 00:11:15,361 5484 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
|
|
2024-06-05 00:11:15,378 5484 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
|
|
2024-06-05 00:11:15,393 5484 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
|
|
2024-06-05 00:11:15,407 5484 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
|
|
2024-06-05 00:11:15,407 5484 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
|
|
2024-06-05 00:11:15,815 5484 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
|
|
2024-06-05 00:11:15,829 5484 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
|
|
2024-06-05 00:11:15,845 5484 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
|
|
2024-06-05 00:11:15,845 5484 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
|
|
2024-06-05 00:11:15,860 5484 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
|
|
2024-06-05 00:11:15,878 5484 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
|
|
2024-06-05 00:11:15,892 5484 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
|
|
2024-06-05 00:11:15,909 5484 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
|
|
2024-06-05 00:11:15,923 5484 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
|
|
2024-06-05 00:11:15,923 5484 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
|
|
2024-06-05 00:11:15,938 5484 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
|
|
2024-06-05 00:11:15,938 5484 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
|
|
2024-06-05 00:11:15,954 5484 [INFO ] - VERBOSE: Importing function 'Register-Application'.
|
|
2024-06-05 00:11:15,954 5484 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
|
|
2024-06-05 00:11:15,970 5484 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-06-05 00:11:15,985 5484 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-06-05 00:11:16,188 5484 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-06-05 00:11:16,219 5484 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-06-05 00:11:16,235 5484 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-06-05 00:11:16,251 5484 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-06-05 00:11:16,267 5484 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-06-05 00:11:16,282 5484 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-06-05 00:11:16,282 5484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-06-05 00:11:16,298 5484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-06-05 00:11:16,315 5484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-06-05 00:11:16,335 5484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-06-05 00:11:16,346 5484 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-06-05 00:11:16,346 5484 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-06-05 00:11:16,361 5484 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-06-05 00:11:16,378 5484 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-06-05 00:11:16,378 5484 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-06-05 00:11:16,392 5484 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-06-05 00:11:16,407 5484 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-06-05 00:11:16,407 5484 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-06-05 00:11:16,424 5484 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-06-05 00:11:16,439 5484 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-06-05 00:11:16,439 5484 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-06-05 00:11:16,454 5484 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-06-05 00:11:16,469 5484 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-06-05 00:11:16,469 5484 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-06-05 00:11:16,504 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-06-05 00:11:16,504 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-06-05 00:11:16,516 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-06-05 00:11:16,531 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-06-05 00:11:16,531 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-06-05 00:11:16,548 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-06-05 00:11:16,548 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-06-05 00:11:16,582 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-06-05 00:11:16,582 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-06-05 00:11:16,596 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-06-05 00:11:16,611 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-06-05 00:11:16,625 5484 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-06-05 00:11:16,625 5484 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-06-05 00:11:16,642 5484 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-06-05 00:11:16,642 5484 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-06-05 00:11:16,660 5484 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-06-05 00:11:16,660 5484 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-06-05 00:11:16,673 5484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-06-05 00:11:16,673 5484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-06-05 00:11:16,691 5484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-06-05 00:11:16,705 5484 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-06-05 00:11:16,705 5484 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-06-05 00:11:16,721 5484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
|
|
2024-06-05 00:11:16,721 5484 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
|
|
2024-06-05 00:11:16,735 5484 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
|
|
2024-06-05 00:11:16,735 5484 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
|
|
2024-06-05 00:11:16,750 5484 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
|
|
2024-06-05 00:11:16,750 5484 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
|
|
2024-06-05 00:11:16,768 5484 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
|
|
2024-06-05 00:11:16,768 5484 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
|
|
2024-06-05 00:11:16,782 5484 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
|
|
2024-06-05 00:11:16,782 5484 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
|
|
2024-06-05 00:11:16,798 5484 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
|
|
2024-06-05 00:11:16,798 5484 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-06-05 00:11:16,813 5484 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-06-05 00:11:16,813 5484 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-06-05 00:11:16,829 5484 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-06-05 00:11:16,829 5484 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-06-05 00:11:16,844 5484 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-06-05 00:11:16,861 5484 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-06-05 00:11:16,861 5484 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-06-05 00:11:16,876 5484 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-06-05 00:11:16,892 5484 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-06-05 00:11:16,892 5484 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-06-05 00:11:16,922 5484 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-06-05 00:11:16,922 5484 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
|
|
2024-06-05 00:11:16,940 5484 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
|
|
2024-06-05 00:11:16,940 5484 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-06-05 00:11:16,955 5484 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-06-05 00:11:16,970 5484 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-06-05 00:11:16,970 5484 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-06-05 00:11:16,986 5484 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-06-05 00:11:16,986 5484 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
|
|
2024-06-05 00:11:17,003 5484 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-06-05 00:11:17,018 5484 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-06-05 00:11:17,018 5484 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-06-05 00:11:17,032 5484 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-06-05 00:11:17,032 5484 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
|
|
2024-06-05 00:11:17,047 5484 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-06-05 00:11:17,065 5484 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-06-05 00:11:17,065 5484 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-06-05 00:11:17,079 5484 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-06-05 00:11:17,097 5484 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-06-05 00:11:17,110 5484 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-06-05 00:11:17,110 5484 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
|
|
2024-06-05 00:11:17,126 5484 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-06-05 00:11:17,126 5484 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-06-05 00:11:17,141 5484 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-06-05 00:11:17,141 5484 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-06-05 00:11:17,141 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
|
|
2024-06-05 00:11:17,162 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-06-05 00:11:17,172 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-06-05 00:11:17,172 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-06-05 00:11:17,197 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-06-05 00:11:17,206 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-06-05 00:11:17,221 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-06-05 00:11:17,221 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-06-05 00:11:17,236 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-06-05 00:11:17,251 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-06-05 00:11:17,251 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-06-05 00:11:17,267 5484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-06-05 00:11:17,267 5484 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-06-05 00:11:17,282 5484 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-06-05 00:11:17,282 5484 [INFO ] - VERBOSE: Importing function 'Register-Application'.
|
|
2024-06-05 00:11:17,297 5484 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
|
|
2024-06-05 00:11:17,297 5484 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-06-05 00:11:17,314 5484 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-06-05 00:11:17,332 5484 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-06-05 00:11:17,332 5484 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-06-05 00:11:17,346 5484 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-06-05 00:11:17,360 5484 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-06-05 00:11:17,360 5484 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-06-05 00:11:17,377 5484 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-06-05 00:11:17,392 5484 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-06-05 00:11:17,392 5484 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-06-05 00:11:17,408 5484 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
|
|
2024-06-05 00:11:17,408 5484 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
|
|
2024-06-05 00:11:17,422 5484 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
|
|
2024-06-05 00:11:17,439 5484 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-06-05 00:11:17,439 5484 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-06-05 00:11:17,454 5484 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-06-05 00:11:17,454 5484 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-06-05 00:11:17,471 5484 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-06-05 00:11:17,471 5484 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-06-05 00:11:17,484 5484 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-06-05 00:11:17,484 5484 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-06-05 00:11:17,501 5484 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-06-05 00:11:17,501 5484 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-06-05 00:11:17,688 5484 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-06-05 00:11:17,734 5484 [DEBUG] - Running 'ChocolateyScriptRunner' for splunk-otel-collector v0.102.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: '',
|
|
2024-06-05 00:11:17,845 5484 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1'
|
|
2024-06-05 00:11:18,207 5484 [INFO ] - Checking configuration parameters ...
|
|
2024-06-05 00:11:18,407 5484 [DEBUG] - Running Get-PackageParameters
|
|
2024-06-05 00:11:18,423 5484 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
|
|
2024-06-05 00:11:18,516 5484 [INFO ] - Checking for previous installation...
|
|
2024-06-05 00:11:18,876 5484 [INFO ] - Setting default values for missing parameters...
|
|
2024-06-05 00:11:18,892 5484 [INFO ] - The SPLUNK_ACCESS_TOKEN parameter is not specified.
|
|
2024-06-05 00:11:18,972 5484 [INFO ] - The SPLUNK_REALM package parameter was not set, using the default value: 'us0'
|
|
2024-06-05 00:11:18,986 5484 [INFO ] - The SPLUNK_INGEST_URL package parameter was not set, using the default value: 'https://ingest.us0.signalfx.com'
|
|
2024-06-05 00:11:19,002 5484 [INFO ] - The SPLUNK_API_URL package parameter was not set, using the default value: 'https://api.us0.signalfx.com'
|
|
2024-06-05 00:11:19,017 5484 [INFO ] - The SPLUNK_HEC_TOKEN package parameter was not set, using the default value: ''
|
|
2024-06-05 00:11:19,033 5484 [INFO ] - The SPLUNK_HEC_URL package parameter was not set, using the default value: 'https://ingest.us0.signalfx.com/v1/log'
|
|
2024-06-05 00:11:19,048 5484 [INFO ] - The SPLUNK_TRACE_URL package parameter was not set, using the default value: 'https://ingest.us0.signalfx.com/v2/trace'
|
|
2024-06-05 00:11:19,064 5484 [INFO ] - The SPLUNK_MEMORY_TOTAL_MIB package parameter was not set, using the default value: '512'
|
|
2024-06-05 00:11:19,080 5484 [INFO ] - The SPLUNK_BUNDLE_DIR package parameter was not set, using the default value: 'C:\Program Files\Splunk\OpenTelemetry Collector\agent-bundle'
|
|
2024-06-05 00:11:19,596 5484 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '/qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.102.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" SPLUNK_TRACE_URL="https://ingest.us0.signalfx.com/v2/trace" SPLUNK_REALM="us0" SPLUNK_API_URL="https://api.us0.signalfx.com" SPLUNK_HEC_URL="https://ingest.us0.signalfx.com/v1/log" SPLUNK_MEMORY_TOTAL_MIB="512" SPLUNK_HEC_TOKEN="" SPLUNK_INGEST_URL="https://ingest.us0.signalfx.com" SPLUNK_BUNDLE_DIR="C:\Program Files\Splunk\OpenTelemetry Collector\agent-bundle"' -file 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.102.0-amd64.msi' -packageName 'splunk-otel-collector' -validExitCodes '0' -fileType 'msi'
|
|
2024-06-05 00:11:19,656 5484 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-06-05 00:11:19,752 5484 [INFO ] - Installing splunk-otel-collector...
|
|
2024-06-05 00:11:20,128 5484 [DEBUG] - Ensuring 'C:\Users\vagrant\AppData\Local\Temp\chocolatey' exists
|
|
2024-06-05 00:11:20,160 5484 [DEBUG] - Ensuring 'C:\Program Files\Splunk' exists
|
|
2024-06-05 00:11:20,207 5484 [DEBUG] - Ensuring 'C:\Program Files\Splunk\OpenTelemetry Collector' exists
|
|
2024-06-05 00:11:20,410 5484 [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.102.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.102.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" SPLUNK_TRACE_URL="https://ingest.us0.signalfx.com/v2/trace" SPLUNK_REALM="us0" SPLUNK_API_URL="https://api.us0.signalfx.com" SPLUNK_HEC_URL="https://ingest.us0.signalfx.com/v1/log" SPLUNK_MEMORY_TOTAL_MIB="512" SPLUNK_HEC_TOKEN="" SPLUNK_INGEST_URL="https://ingest.us0.signalfx.com" SPLUNK_BUNDLE_DIR="C:\Program Files\Splunk\OpenTelemetry Collector\agent-bundle" ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2024-06-05 00:11:20,579 5484 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2024-06-05 00:11:20,658 5484 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.102.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.102.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" SPLUNK_TRACE_URL="https://ingest.us0.signalfx.com/v2/trace" SPLUNK_REALM="us0" SPLUNK_API_URL="https://api.us0.signalfx.com" SPLUNK_HEC_URL="https://ingest.us0.signalfx.com/v1/log" SPLUNK_MEMORY_TOTAL_MIB="512" SPLUNK_HEC_TOKEN="" SPLUNK_INGEST_URL="https://ingest.us0.signalfx.com" SPLUNK_BUNDLE_DIR="C:\Program Files\Splunk\OpenTelemetry Collector\agent-bundle" ]. This may take a while, depending on the statements.
|
|
2024-06-05 00:17:08,347 5484 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.102.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.102.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" SPLUNK_TRACE_URL="https://ingest.us0.signalfx.com/v2/trace" SPLUNK_REALM="us0" SPLUNK_API_URL="https://api.us0.signalfx.com" SPLUNK_HEC_URL="https://ingest.us0.signalfx.com/v1/log" SPLUNK_MEMORY_TOTAL_MIB="512" SPLUNK_HEC_TOKEN="" SPLUNK_INGEST_URL="https://ingest.us0.signalfx.com" SPLUNK_BUNDLE_DIR="C:\Program Files\Splunk\OpenTelemetry Collector\agent-bundle" ] exited with '0'.
|
|
2024-06-05 00:17:08,426 5484 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2024-06-05 00:17:08,426 5484 [INFO ] - splunk-otel-collector has been installed.
|
|
2024-06-05 00:17:08,441 5484 [INFO ] -
|
|
2024-06-05 00:17:08,459 5484 [INFO ] - *NOTICE*: SPLUNK_ACCESS_TOKEN was not specified as an installation parameter and not found in the Windows Registry.
|
|
2024-06-05 00:17:08,473 5484 [INFO ] - This is required for the default configuration to reach Splunk Observability Cloud and can be configured with:
|
|
2024-06-05 00:17:08,489 5484 [INFO ] - PS> $values = Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\splunk-otel-collector" -Name "Environment" | Select-Object -ExpandProperty Environment
|
|
2024-06-05 00:17:08,519 5484 [INFO ] - PS> $values += "SPLUNK_ACCESS_TOKEN=<your_access_token>"
|
|
2024-06-05 00:17:08,519 5484 [INFO ] - PS> Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\splunk-otel-collector" -Name $propertyName -Value $values -Type MultiString
|
|
2024-06-05 00:17:08,535 5484 [INFO ] - before starting the splunk-otel-collector service with:
|
|
2024-06-05 00:17:08,550 5484 [INFO ] - PS> Start-Service -Name "splunk-otel-collector"
|
|
2024-06-05 00:17:08,566 5484 [INFO ] -
|
|
2024-06-05 00:17:08,615 5484 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-06-05 00:17:08,631 5484 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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'.
|
|
2024-06-05 00:17:08,661 5484 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-06-05 00:17:08,833 5484 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-06-05 00:17:08,879 5484 [INFO ] - splunk-otel-collector may be able to be automatically uninstalled.
|
|
2024-06-05 00:17:08,894 5484 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\splunk-otel-collector'
|
|
2024-06-05 00:17:09,707 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nupkg'
|
|
with checksum '9E3291F076F160A5CCCF63B34E7691F6'
|
|
2024-06-05 00:17:09,707 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nuspec'
|
|
with checksum '4D4E3AF68B6071C3CCA018E4C4551043'
|
|
2024-06-05 00:17:09,723 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1'
|
|
with checksum '2449A4B49D6A8F4D232F5B507EE27157'
|
|
2024-06-05 00:17:09,723 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1'
|
|
with checksum 'A5785E4520BFE6984C8F08032A109991'
|
|
2024-06-05 00:17:09,739 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\common.ps1'
|
|
with checksum 'F4556D18D8F6CB045191547C4BC94935'
|
|
2024-06-05 00:17:09,739 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\fluentd.ps1'
|
|
with checksum '6FBE22B4640560DB82DB3EBC646A164B'
|
|
2024-06-05 00:17:09,753 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\LICENSE.txt'
|
|
with checksum '061F57C2DB997D6EDCEC03CBA65C29A9'
|
|
2024-06-05 00:17:10,724 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.102.0-amd64.msi'
|
|
with checksum '35C17B830459BD93C9A5296A373A1155'
|
|
2024-06-05 00:17:10,739 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.102.0-amd64.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2024-06-05 00:17:10,739 5484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\VERIFICATION.txt'
|
|
with checksum '3C5F9F0B50B68021C070E8B6B8539337'
|
|
2024-06-05 00:17:10,754 5484 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.102.0".
|
|
2024-06-05 00:17:10,864 5484 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.102.0\.registry'
|
|
2024-06-05 00:17:10,879 5484 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.102.0\.files'
|
|
2024-06-05 00:17:10,895 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.102.0\.extra".
|
|
2024-06-05 00:17:10,910 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.102.0\.version".
|
|
2024-06-05 00:17:10,927 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.102.0\.sxs".
|
|
2024-06-05 00:17:10,927 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.102.0\.pin".
|
|
2024-06-05 00:17:10,960 5484 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-06-05 00:17:10,974 5484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\splunk-otel-collector\.chocolateyPending".
|
|
2024-06-05 00:17:10,974 5484 [INFO ] - The install of splunk-otel-collector was successful.
|
|
2024-06-05 00:17:10,989 5484 [INFO ] - Software installed as 'msi', install location is likely default.
|
|
2024-06-05 00:17:11,051 5484 [WARN ] -
|
|
Chocolatey installed 3/3 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-06-05 00:17:11,069 5484 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-06-05 00:17:11,083 5484 [DEBUG] - Exiting with 0
|