|
2023-12-08 14:27:36,267 1760 [DEBUG] - XmlConfiguration is now operational
|
|
2023-12-08 14:27:36,472 1760 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-08 14:27:36,472 1760 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-08 14:27:36,487 1760 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-08 14:27:36,487 1760 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-12-08 14:27:36,502 1760 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-08 14:27:36,518 1760 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-12-08 14:27:36,518 1760 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-08 14:27:36,518 1760 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-12-08 14:27:36,534 1760 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-08 14:27:36,534 1760 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-12-08 14:27:36,548 1760 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-12-08 14:27:37,829 1760 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-08 14:27:37,846 1760 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-08 14:27:37,846 1760 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-08 14:27:37,866 1760 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-08 14:27:37,878 1760 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-08 14:27:37,894 1760 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-08 14:27:37,907 1760 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-08 14:27:37,907 1760 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-08 14:27:37,924 1760 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-08 14:27:37,924 1760 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-08 14:27:37,955 1760 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-12-08 14:27:37,971 1760 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-12-08 14:27:37,971 1760 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-12-08 14:27:37,986 1760 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-12-08 14:27:37,986 1760 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-12-08 14:27:37,986 1760 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-12-08 14:27:38,002 1760 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-12-08 14:27:38,002 1760 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-12-08 14:27:38,018 1760 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-12-08 14:27:38,034 1760 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-12-08 14:27:38,034 1760 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-12-08 14:27:38,051 1760 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-12-08 14:27:38,051 1760 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-12-08 14:27:38,064 1760 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-12-08 14:27:38,064 1760 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-12-08 14:27:38,080 1760 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-12-08 14:27:38,080 1760 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-12-08 14:27:38,097 1760 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-12-08 14:27:38,097 1760 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-12-08 14:27:38,112 1760 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-12-08 14:27:38,486 1760 [INFO ] - ============================================================
|
|
2023-12-08 14:27:39,097 1760 [INFO ] - Chocolatey v2.2.2
|
|
2023-12-08 14:27:39,144 1760 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-12-08 14:27:39,159 1760 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-12-08 14:27:39,174 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-12-08 14:27:39,206 1760 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install splunk-otel-collector --version 0.90.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-12-08 14:27:39,221 1760 [DEBUG] - Received arguments: install splunk-otel-collector --version 0.90.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-12-08 14:27:39,457 1760 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-12-08 14:27:39,517 1760 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-12-08 14:27:39,549 1760 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-12-08 14:27:39,912 1760 [DEBUG] - Performing validation checks.
|
|
2023-12-08 14:27:39,947 1760 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-12-08 14:27:39,971 1760 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-12-08 14:27:39,986 1760 [DEBUG] - System State Validation Checks:
|
|
2023-12-08 14:27:40,001 1760 [DEBUG] - Reboot Requirement Checks:
|
|
2023-12-08 14:27:40,018 1760 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-12-08 14:27:40,032 1760 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-12-08 14:27:40,051 1760 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-12-08 14:27:40,066 1760 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-12-08 14:27:40,080 1760 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-12-08 14:27:40,096 1760 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-12-08 14:27:40,126 1760 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-12-08 14:27:40,126 1760 [DEBUG] - - Elevated State = Checked
|
|
2023-12-08 14:27:40,147 1760 [DEBUG] - - Folder Exists = Checked
|
|
2023-12-08 14:27:40,175 1760 [DEBUG] - - Folder lockdown = Checked
|
|
2023-12-08 14:27:40,206 1760 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-12-08 14:27:40,286 1760 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-12-08 14:27:40,286 1760 [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-12-08 14:27:40,392 1760 [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.90.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-KGTPN9OL5UG'|
|
|
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'|
|
|
2023-12-08 14:27:40,408 1760 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2023-12-08 14:27:40,455 1760 [INFO ] - Installing the following packages:
|
|
2023-12-08 14:27:40,471 1760 [INFO ] - splunk-otel-collector
|
|
2023-12-08 14:27:40,471 1760 [INFO ] - By installing, you accept licenses for the packages.
|
|
2023-12-08 14:27:40,518 1760 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-12-08 14:27:40,533 1760 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-12-08 14:27:40,533 1760 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-12-08 14:27:40,550 1760 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-12-08 14:27:40,566 1760 [DEBUG] - * 'ChocolateyLastPathUpdate'='133465112182239402' ('User')
|
|
2023-12-08 14:27:40,566 1760 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-12-08 14:27:40,581 1760 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-12-08 14:27:40,581 1760 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-12-08 14:27:40,597 1760 [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-12-08 14:27:40,611 1760 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-12-08 14:27:40,611 1760 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-12-08 14:27:40,629 1760 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-12-08 14:27:40,643 1760 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-12-08 14:27:40,643 1760 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-12-08 14:27:40,659 1760 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-12-08 14:27:40,659 1760 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-12-08 14:27:40,675 1760 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
|
|
2023-12-08 14:27:40,690 1760 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-12-08 14:27:40,690 1760 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2023-12-08 14:27:40,705 1760 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2023-12-08 14:27:40,705 1760 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-12-08 14:27:41,721 1760 [DEBUG] - Running list with the following filter = ''
|
|
2023-12-08 14:27:41,721 1760 [DEBUG] - --- Start of List ---
|
|
2023-12-08 14:27:41,799 1760 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-12-08 14:27:42,627 1760 [DEBUG] - chocolatey 2.2.2
|
|
2023-12-08 14:27:42,674 1760 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2023-12-08 14:27:42,692 1760 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-12-08 14:27:42,705 1760 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-12-08 14:27:42,721 1760 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-12-08 14:27:42,737 1760 [DEBUG] - KB3035131 1.0.3
|
|
2023-12-08 14:27:42,753 1760 [DEBUG] - KB3118401 1.0.5
|
|
2023-12-08 14:27:42,815 1760 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
|
|
2023-12-08 14:27:42,831 1760 [DEBUG] - --- End of List ---
|
|
2023-12-08 14:27:42,862 1760 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2023-12-08 14:27:43,738 1760 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2023-12-08 14:27:45,048 1760 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='splunk-otel-collector',Version='0.90.0')
|
|
2023-12-08 14:27:45,143 1760 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='splunk-otel-collector',Version='0.90.0') 63ms
|
|
2023-12-08 14:27:45,518 1760 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2023-12-08 14:27:46,457 1760 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2023-12-08 14:27:46,471 1760 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='splunk-otel-collector',Version='0.90.0')
|
|
2023-12-08 14:27:48,204 1760 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
|
|
2023-12-08 14:27:48,251 1760 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 45ms
|
|
2023-12-08 14:27:48,345 1760 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-compatibility.extension'&semVerLevel=2.0.0
|
|
2023-12-08 14:27:48,455 1760 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-compatibility.extension'&semVerLevel=2.0.0 84ms
|
|
2023-12-08 14:27:48,550 1760 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-core.extension'&semVerLevel=2.0.0
|
|
2023-12-08 14:27:48,663 1760 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-core.extension'&semVerLevel=2.0.0 93ms
|
|
2023-12-08 14:27:49,220 1760 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2023-12-08 14:27:49,267 1760 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='chocolatey-compatibility.extension',Version='1.0.0')
|
|
2023-12-08 14:27:49,347 1760 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='chocolatey-compatibility.extension',Version='1.0.0') 67ms
|
|
2023-12-08 14:27:49,377 1760 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2023-12-08 14:27:49,579 1760 [DEBUG] - Attempting to delete file "".
|
|
2023-12-08 14:27:49,658 1760 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/chocolatey-compatibility.extension/1.0.0
|
|
2023-12-08 14:27:50,064 1760 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/chocolatey-compatibility.extension/1.0.0 385ms
|
|
2023-12-08 14:27:50,220 1760 [INFO ] - [NuGet] Acquiring lock for the installation of chocolatey-compatibility.extension 1.0.0
|
|
2023-12-08 14:27:50,595 1760 [INFO ] - [NuGet] Acquired lock for the installation of chocolatey-compatibility.extension 1.0.0
|
|
2023-12-08 14:27:51,252 1760 [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==.
|
|
2023-12-08 14:27:51,455 1760 [INFO ] - [NuGet] Adding package 'chocolatey-compatibility.extension.1.0.0' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-08 14:27:51,612 1760 [INFO ] - [NuGet] Added package 'chocolatey-compatibility.extension.1.0.0' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-08 14:27:51,630 1760 [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".
|
|
2023-12-08 14:27:51,642 1760 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\chocolatey-compatibility.extension/1.0.0\.nupkg.metadata".
|
|
2023-12-08 14:27:51,673 1760 [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".
|
|
2023-12-08 14:27:51,690 1760 [INFO ] -
|
|
chocolatey-compatibility.extension v1.0.0 (forced) [Approved]
|
|
2023-12-08 14:27:51,831 1760 [INFO ] - chocolatey-compatibility.extension package files install completed. Performing other installation steps.
|
|
2023-12-08 14:27:52,158 1760 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension'
|
|
2023-12-08 14:27:52,173 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\chocolatey-compatibility.extension.nupkg'
|
|
with checksum 'FA277C3720AB0DA4947D11272DAB96A8'
|
|
2023-12-08 14:27:52,189 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\chocolatey-compatibility.extension.nuspec'
|
|
with checksum 'E4F76BE29CB79EF59D3238F490BA92E2'
|
|
2023-12-08 14:27:52,205 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\chocolatey-compatibility.psm1'
|
|
with checksum 'D6BED48F1A2055D2CC8A7E65A3B9B653'
|
|
2023-12-08 14:27:52,221 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Get-PackageParameters.ps1'
|
|
with checksum '71D1214302A8DCEDBC514DDD1A4C8B02'
|
|
2023-12-08 14:27:52,221 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Get-UninstallRegistryKey.ps1'
|
|
with checksum 'BEF350705A6096C5A6D5008674F81A0A'
|
|
2023-12-08 14:27:52,238 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Install-ChocolateyDesktopLink.ps1'
|
|
with checksum '507F2FBE3B0E4E7026FF318F57D11629'
|
|
2023-12-08 14:27:52,253 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-ChocolateyFailure.ps1'
|
|
with checksum '62F5761ED276CC6E52D7B7A57F50B669'
|
|
2023-12-08 14:27:52,268 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-ChocolateySuccess.ps1'
|
|
with checksum 'F2D4D28C6EAA6D52E827761700BFC366'
|
|
2023-12-08 14:27:52,282 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-FileUpdateLog.ps1'
|
|
with checksum '96B9E7F714A968AE4CD62E3749C3E5EC'
|
|
2023-12-08 14:27:52,315 1760 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility".
|
|
2023-12-08 14:27:52,346 1760 [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-12-08 14:27:52,362 1760 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\helpers".
|
|
2023-12-08 14:27:52,362 1760 [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-12-08 14:27:52,376 1760 [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-12-08 14:27:52,393 1760 [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-12-08 14:27:52,409 1760 [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-12-08 14:27:52,409 1760 [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-12-08 14:27:52,424 1760 [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-12-08 14:27:53,956 1760 [WARN ] - Installed/updated chocolatey-compatibility extensions.
|
|
2023-12-08 14:27:54,018 1760 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0".
|
|
2023-12-08 14:27:54,095 1760 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.files'
|
|
2023-12-08 14:27:54,158 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.extra".
|
|
2023-12-08 14:27:54,190 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.version".
|
|
2023-12-08 14:27:54,190 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.sxs".
|
|
2023-12-08 14:27:54,205 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.pin".
|
|
2023-12-08 14:27:54,236 1760 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-12-08 14:27:54,236 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\.chocolateyPending".
|
|
2023-12-08 14:27:54,269 1760 [INFO ] - The install of chocolatey-compatibility.extension was successful.
|
|
2023-12-08 14:27:54,269 1760 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility'
|
|
2023-12-08 14:27:54,347 1760 [DEBUG] - Resolving resource DownloadResource for source c:\cached-packages
|
|
2023-12-08 14:27:54,361 1760 [DEBUG] - Attempting to delete file "".
|
|
2023-12-08 14:27:54,441 1760 [INFO ] - [NuGet] Adding package 'chocolatey-core.extension.1.4.0 : chocolatey-compatibility.extension [1.0.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-08 14:27:54,768 1760 [INFO ] - [NuGet] Added package 'chocolatey-core.extension.1.4.0 : chocolatey-compatibility.extension [1.0.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-08 14:27:54,784 1760 [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'
|
|
2023-12-08 14:27:54,801 1760 [INFO ] -
|
|
chocolatey-core.extension v1.4.0 (forced)
|
|
2023-12-08 14:27:54,845 1760 [INFO ] - chocolatey-core.extension package files install completed. Performing other installation steps.
|
|
2023-12-08 14:27:54,876 1760 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension'
|
|
2023-12-08 14:27:54,908 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nupkg'
|
|
with checksum '0CA0F8AA17B974343E7967B1820D0D9C'
|
|
2023-12-08 14:27:54,908 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nuspec'
|
|
with checksum 'B2C1C3F82AA3D894AD8E5547FF7B1688'
|
|
2023-12-08 14:27:54,924 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\chocolatey-core.psm1'
|
|
with checksum '2A0DE2FF529CFC02FDF540ACBEE99EE1'
|
|
2023-12-08 14:27:54,940 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AppInstallLocation.ps1'
|
|
with checksum 'D19FCAF1650F0EE327666CA8823F3731'
|
|
2023-12-08 14:27:54,987 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AvailableDriveLetter.ps1'
|
|
with checksum 'FF3C638BD18B2D3A563753960F6DD323'
|
|
2023-12-08 14:27:54,987 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-EffectiveProxy.ps1'
|
|
with checksum '2584085C65E44561A8D8A78F617AFD3E'
|
|
2023-12-08 14:27:55,020 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageCacheLocation.ps1'
|
|
with checksum '77A378E5C659E5A53D2D64E276159B62'
|
|
2023-12-08 14:27:55,079 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-WebContent.ps1'
|
|
with checksum '57D013E581EFEA3D4D8366183C9A5797'
|
|
2023-12-08 14:27:55,128 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Register-Application.ps1'
|
|
with checksum 'D2853E569DAC9A341642BA76EC4FB411'
|
|
2023-12-08 14:27:55,145 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Remove-Process.ps1'
|
|
with checksum '9A56AD3B71FD44CB8D0EA2C1ADB023B2'
|
|
2023-12-08 14:27:55,158 1760 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-core".
|
|
2023-12-08 14:27:55,173 1760 [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-12-08 14:27:55,190 1760 [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-12-08 14:27:55,205 1760 [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-12-08 14:27:55,221 1760 [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-12-08 14:27:55,236 1760 [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-12-08 14:27:55,252 1760 [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-12-08 14:27:55,252 1760 [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-12-08 14:27:55,268 1760 [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-12-08 14:27:56,808 1760 [WARN ] - Installed/updated chocolatey-core extensions.
|
|
2023-12-08 14:27:56,838 1760 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0".
|
|
2023-12-08 14:27:56,846 1760 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.files'
|
|
2023-12-08 14:27:56,862 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.extra".
|
|
2023-12-08 14:27:56,878 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.version".
|
|
2023-12-08 14:27:56,893 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.sxs".
|
|
2023-12-08 14:27:56,908 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.pin".
|
|
2023-12-08 14:27:56,923 1760 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-12-08 14:27:56,939 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\.chocolateyPending".
|
|
2023-12-08 14:27:56,956 1760 [INFO ] - The install of chocolatey-core.extension was successful.
|
|
2023-12-08 14:27:56,956 1760 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
|
|
2023-12-08 14:27:56,986 1760 [DEBUG] - Attempting to delete file "".
|
|
2023-12-08 14:27:57,001 1760 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/splunk-otel-collector/0.90.0
|
|
2023-12-08 14:27:57,205 1760 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/splunk-otel-collector/0.90.0 196ms
|
|
2023-12-08 14:27:57,205 1760 [INFO ] - [NuGet] Acquiring lock for the installation of splunk-otel-collector 0.90.0
|
|
2023-12-08 14:27:57,259 1760 [INFO ] - [NuGet] Acquired lock for the installation of splunk-otel-collector 0.90.0
|
|
2023-12-08 14:28:21,939 1760 [INFO ] - [NuGet] Installed splunk-otel-collector 0.90.0 from https://community.chocolatey.org/api/v2/ with content hash wKeE3XJ24L4na2l47tfBiVb9GqvJLezCvnb2j4WMNuOVmKw3dBObAje+CLaXLJHhbrmWd5HnpS+vm/n7xgldIQ==.
|
|
2023-12-08 14:28:22,002 1760 [INFO ] - [NuGet] Adding package 'splunk-otel-collector.0.90.0 : chocolatey-core.extension [1.3.5.1, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-08 14:28:23,770 1760 [INFO ] - [NuGet] Added package 'splunk-otel-collector.0.90.0 : chocolatey-core.extension [1.3.5.1, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-08 14:28:23,815 1760 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\splunk-otel-collector/0.90.0\splunk-otel-collector.0.90.0.nupkg".
|
|
2023-12-08 14:28:23,845 1760 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\splunk-otel-collector/0.90.0\.nupkg.metadata".
|
|
2023-12-08 14:28:23,878 1760 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\splunk-otel-collector/0.90.0\splunk-otel-collector.0.90.0.nupkg.sha512".
|
|
2023-12-08 14:28:23,911 1760 [INFO ] -
|
|
splunk-otel-collector v0.90.0 (forced)
|
|
2023-12-08 14:28:23,939 1760 [INFO ] - splunk-otel-collector package files install completed. Performing other installation steps.
|
|
2023-12-08 14:28:24,018 1760 [DEBUG] - Setting installer args for splunk-otel-collector
|
|
2023-12-08 14:28:24,033 1760 [DEBUG] - Setting package parameters for splunk-otel-collector
|
|
2023-12-08 14:28:24,050 1760 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1':
|
|
2023-12-08 14:28:24,126 1760 [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']
|
|
|
|
$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_LISTEN_INTERFACE = $pp['SPLUNK_LISTEN_INTERFACE']
|
|
$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_LISTEN_INTERFACE) {
|
|
$SPLUNK_LISTEN_INTERFACE = Get-ItemPropertyValue -PATH "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_LISTEN_INTERFACE" -ErrorAction SilentlyContinue
|
|
}
|
|
}
|
|
catch {
|
|
}
|
|
|
|
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"
|
|
if ($SPLUNK_LISTEN_INTERFACE) {
|
|
update_registry -path "$regkey" -name "SPLUNK_LISTEN_INTERFACE" -value "$SPLUNK_LISTEN_INTERFACE"
|
|
}
|
|
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.90.0-amd64.msi" # replaced at build time
|
|
softwareName = $env:ChocolateyPackageTitle
|
|
checksum64 = "19ABAAC8EDA9D3D6188AC7F0289C1577DBF258831CCA164D654EC3B750561F61" # 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-12-08 14:28:24,315 1760 [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']
|
|
2023-12-08 14:28:24,346 1760 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-12-08 14:28:26,891 1760 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-12-08 14:28:28,048 1760 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-08 14:28:28,078 1760 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-08 14:28:28,094 1760 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-08 14:28:28,111 1760 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-08 14:28:28,126 1760 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-08 14:28:28,144 1760 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-08 14:28:28,158 1760 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-08 14:28:28,173 1760 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-08 14:28:28,189 1760 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-08 14:28:28,204 1760 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-08 14:28:28,219 1760 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-08 14:28:28,235 1760 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-08 14:28:28,250 1760 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-08 14:28:28,283 1760 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-08 14:28:28,298 1760 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-08 14:28:28,313 1760 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-08 14:28:28,332 1760 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-08 14:28:28,344 1760 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-08 14:28:28,360 1760 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-08 14:28:28,375 1760 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-08 14:28:28,375 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-08 14:28:28,392 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-08 14:28:28,406 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-08 14:28:28,406 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-08 14:28:28,422 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-08 14:28:28,438 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-08 14:28:28,454 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-08 14:28:28,454 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-08 14:28:28,470 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-08 14:28:28,485 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-08 14:28:28,500 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-08 14:28:28,515 1760 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-08 14:28:28,515 1760 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-08 14:28:28,532 1760 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-08 14:28:28,532 1760 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-08 14:28:28,547 1760 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-08 14:28:28,565 1760 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-08 14:28:28,565 1760 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-08 14:28:28,578 1760 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-08 14:28:28,594 1760 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-08 14:28:28,609 1760 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-08 14:28:28,609 1760 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-08 14:28:28,624 1760 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-08 14:28:28,640 1760 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-08 14:28:28,640 1760 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-08 14:28:28,656 1760 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-08 14:28:28,674 1760 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-08 14:28:28,689 1760 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-08 14:28:28,703 1760 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-08 14:28:28,703 1760 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-08 14:28:28,719 1760 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-08 14:28:28,781 1760 [DEBUG] - Loading community extensions
|
|
2023-12-08 14:28:28,864 1760 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
|
|
2023-12-08 14:28:28,890 1760 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
|
|
2023-12-08 14:28:29,140 1760 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
|
|
2023-12-08 14:28:29,157 1760 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
|
|
2023-12-08 14:28:29,172 1760 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
|
|
2023-12-08 14:28:29,186 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
|
|
2023-12-08 14:28:29,219 1760 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility
|
|
2023-12-08 14:28:29,266 1760 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
|
|
2023-12-08 14:28:29,281 1760 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility
|
|
2023-12-08 14:28:29,296 1760 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
|
|
2023-12-08 14:28:29,312 1760 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility
|
|
2023-12-08 14:28:29,344 1760 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
|
|
2023-12-08 14:28:29,454 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
|
|
2023-12-08 14:28:29,485 1760 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
|
|
2023-12-08 14:28:29,516 1760 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
|
|
2023-12-08 14:28:29,532 1760 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
|
|
2023-12-08 14:28:29,568 1760 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
|
|
2023-12-08 14:28:29,594 1760 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
|
|
2023-12-08 14:28:30,143 1760 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
|
|
2023-12-08 14:28:30,143 1760 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
|
|
2023-12-08 14:28:30,175 1760 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
|
|
2023-12-08 14:28:30,187 1760 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
|
|
2023-12-08 14:28:30,202 1760 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
|
|
2023-12-08 14:28:30,218 1760 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
|
|
2023-12-08 14:28:30,233 1760 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
|
|
2023-12-08 14:28:30,233 1760 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
|
|
2023-12-08 14:28:30,264 1760 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
|
|
2023-12-08 14:28:30,264 1760 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
|
|
2023-12-08 14:28:30,282 1760 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
|
|
2023-12-08 14:28:30,282 1760 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
|
|
2023-12-08 14:28:30,296 1760 [INFO ] - VERBOSE: Importing function 'Register-Application'.
|
|
2023-12-08 14:28:30,296 1760 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
|
|
2023-12-08 14:28:30,312 1760 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-12-08 14:28:30,326 1760 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-12-08 14:28:30,534 1760 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-08 14:28:30,549 1760 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-08 14:28:30,563 1760 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-08 14:28:30,579 1760 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-08 14:28:30,593 1760 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-08 14:28:30,608 1760 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-08 14:28:30,608 1760 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-08 14:28:30,624 1760 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-08 14:28:30,639 1760 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-08 14:28:30,639 1760 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-08 14:28:30,654 1760 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-08 14:28:30,671 1760 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-08 14:28:30,671 1760 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-08 14:28:30,686 1760 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-08 14:28:30,686 1760 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-08 14:28:30,702 1760 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-08 14:28:30,717 1760 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-08 14:28:30,733 1760 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-08 14:28:30,733 1760 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-08 14:28:30,749 1760 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-08 14:28:30,766 1760 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-08 14:28:30,780 1760 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-08 14:28:30,780 1760 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-08 14:28:30,796 1760 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-08 14:28:30,796 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-08 14:28:30,811 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-08 14:28:30,827 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-08 14:28:30,842 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-08 14:28:30,858 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-08 14:28:30,873 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-08 14:28:30,889 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-08 14:28:30,906 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-08 14:28:30,920 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-08 14:28:30,954 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-08 14:28:30,970 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-08 14:28:30,983 1760 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-08 14:28:31,000 1760 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-08 14:28:31,014 1760 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-08 14:28:31,030 1760 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-08 14:28:31,046 1760 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-08 14:28:31,061 1760 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-08 14:28:31,077 1760 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-08 14:28:31,092 1760 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-08 14:28:31,109 1760 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-08 14:28:31,125 1760 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-08 14:28:31,140 1760 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-08 14:28:31,156 1760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
|
|
2023-12-08 14:28:31,170 1760 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
|
|
2023-12-08 14:28:31,186 1760 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
|
|
2023-12-08 14:28:31,203 1760 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
|
|
2023-12-08 14:28:31,203 1760 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
|
|
2023-12-08 14:28:31,217 1760 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
|
|
2023-12-08 14:28:31,233 1760 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
|
|
2023-12-08 14:28:31,250 1760 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
|
|
2023-12-08 14:28:31,250 1760 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
|
|
2023-12-08 14:28:31,264 1760 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
|
|
2023-12-08 14:28:31,280 1760 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
|
|
2023-12-08 14:28:31,280 1760 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-08 14:28:31,295 1760 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-08 14:28:31,313 1760 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-08 14:28:31,313 1760 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-08 14:28:31,328 1760 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-08 14:28:31,342 1760 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-08 14:28:31,357 1760 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-08 14:28:31,374 1760 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-08 14:28:31,374 1760 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-08 14:28:31,389 1760 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-08 14:28:31,405 1760 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-08 14:28:31,420 1760 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-12-08 14:28:31,420 1760 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
|
|
2023-12-08 14:28:31,435 1760 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
|
|
2023-12-08 14:28:31,452 1760 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-12-08 14:28:31,467 1760 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-12-08 14:28:31,483 1760 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-12-08 14:28:31,483 1760 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-12-08 14:28:31,499 1760 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-12-08 14:28:31,515 1760 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
|
|
2023-12-08 14:28:31,515 1760 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-12-08 14:28:31,530 1760 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-12-08 14:28:31,545 1760 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-12-08 14:28:31,545 1760 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-12-08 14:28:31,562 1760 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
|
|
2023-12-08 14:28:31,576 1760 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-12-08 14:28:31,576 1760 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-08 14:28:31,593 1760 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-12-08 14:28:31,593 1760 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-12-08 14:28:31,609 1760 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-12-08 14:28:31,623 1760 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-12-08 14:28:31,623 1760 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
|
|
2023-12-08 14:28:31,638 1760 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-12-08 14:28:31,638 1760 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-12-08 14:28:31,656 1760 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-12-08 14:28:31,669 1760 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-12-08 14:28:31,686 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
|
|
2023-12-08 14:28:31,686 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-08 14:28:31,702 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-08 14:28:31,717 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-08 14:28:31,717 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-08 14:28:31,734 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-12-08 14:28:31,748 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-12-08 14:28:31,748 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-08 14:28:31,766 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-08 14:28:31,779 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-12-08 14:28:31,794 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-08 14:28:31,794 1760 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-12-08 14:28:31,810 1760 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-12-08 14:28:31,828 1760 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-08 14:28:31,828 1760 [INFO ] - VERBOSE: Importing function 'Register-Application'.
|
|
2023-12-08 14:28:31,843 1760 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
|
|
2023-12-08 14:28:31,858 1760 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-12-08 14:28:31,858 1760 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-12-08 14:28:31,873 1760 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-08 14:28:31,873 1760 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-12-08 14:28:31,889 1760 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-08 14:28:31,904 1760 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-12-08 14:28:31,904 1760 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-08 14:28:31,922 1760 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-08 14:28:31,922 1760 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-08 14:28:31,935 1760 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-12-08 14:28:31,952 1760 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
|
|
2023-12-08 14:28:31,952 1760 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
|
|
2023-12-08 14:28:31,968 1760 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
|
|
2023-12-08 14:28:31,982 1760 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-12-08 14:28:31,997 1760 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-12-08 14:28:31,997 1760 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-12-08 14:28:32,013 1760 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-12-08 14:28:32,030 1760 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-12-08 14:28:32,046 1760 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-12-08 14:28:32,046 1760 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-08 14:28:32,063 1760 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-12-08 14:28:32,076 1760 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-12-08 14:28:32,092 1760 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-12-08 14:28:32,294 1760 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-12-08 14:28:32,356 1760 [DEBUG] - Running 'ChocolateyScriptRunner' for splunk-otel-collector v0.90.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-12-08 14:28:32,531 1760 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1'
|
|
2023-12-08 14:28:32,904 1760 [INFO ] - Checking configuration parameters ...
|
|
2023-12-08 14:28:33,121 1760 [DEBUG] - Running Get-PackageParameters
|
|
2023-12-08 14:28:33,138 1760 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
|
|
2023-12-08 14:28:33,345 1760 [INFO ] - The SPLUNK_ACCESS_TOKEN parameter is not specified.
|
|
2023-12-08 14:28:33,403 1760 [INFO ] - The SPLUNK_REALM parameter is not specified. Using default configuration.
|
|
2023-12-08 14:28:33,435 1760 [INFO ] - The SPLUNK_INGEST_URL parameter is not specified. Using default configuration.
|
|
2023-12-08 14:28:33,482 1760 [INFO ] - The SPLUNK_INGEST_URL parameter is not specified. Using default configuration.
|
|
2023-12-08 14:28:33,512 1760 [INFO ] - The SPLUNK_HEC_TOKEN parameter is not specified. Using default configuration.
|
|
2023-12-08 14:28:33,543 1760 [INFO ] - The SPLUNK_HEC_URL parameter is not specified. Using default configuration.
|
|
2023-12-08 14:28:33,590 1760 [INFO ] - The SPLUNK_TRACE_URL parameter is not specified. Using default configuration.
|
|
2023-12-08 14:28:33,653 1760 [INFO ] - The SPLUNK_MEMORY_TOTAL_MIB parameter is not specified. Using default configuration.
|
|
2023-12-08 14:28:33,699 1760 [INFO ] - The SPLUNK_BUNDLE_DIR parameter is not specified. Using default configuration.
|
|
2023-12-08 14:28:35,121 1760 [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-12-08 14:28:44,088 1760 [INFO ] - VERBOSE: Operation 'Query CimInstances' complete.
|
|
2023-12-08 14:28:44,354 1760 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_API_URL...
|
|
2023-12-08 14:28:44,414 1760 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_BUNDLE_DIR...
|
|
2023-12-08 14:28:44,446 1760 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_HEC_TOKEN...
|
|
2023-12-08 14:28:44,510 1760 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_HEC_URL...
|
|
2023-12-08 14:28:44,555 1760 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_INGEST_URL...
|
|
2023-12-08 14:28:44,572 1760 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_MEMORY_TOTAL_MIB...
|
|
2023-12-08 14:28:44,618 1760 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_REALM...
|
|
2023-12-08 14:28:44,652 1760 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_TRACE_URL...
|
|
2023-12-08 14:28:44,931 1760 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '/qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.90.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector"' -file 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.90.0-amd64.msi' -packageName 'splunk-otel-collector' -validExitCodes '0' -fileType 'msi'
|
|
2023-12-08 14:28:45,030 1760 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-12-08 14:28:45,102 1760 [INFO ] - Installing splunk-otel-collector...
|
|
2023-12-08 14:28:45,493 1760 [DEBUG] - Ensuring 'C:\Users\vagrant\AppData\Local\Temp\chocolatey' exists
|
|
2023-12-08 14:28:45,524 1760 [DEBUG] - Ensuring 'C:\Program Files\Splunk' exists
|
|
2023-12-08 14:28:46,010 1760 [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.90.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.90.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2023-12-08 14:28:46,195 1760 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-12-08 14:28:46,291 1760 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.90.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.90.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" ]. This may take a while, depending on the statements.
|
|
2023-12-08 14:55:39,012 1760 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.90.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.90.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" ] exited with '0'.
|
|
2023-12-08 14:55:39,140 1760 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-12-08 14:55:39,168 1760 [INFO ] - splunk-otel-collector has been installed.
|
|
2023-12-08 14:55:39,217 1760 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_CONFIG...
|
|
2023-12-08 14:55:39,262 1760 [INFO ] -
|
|
2023-12-08 14:55:39,295 1760 [INFO ] - *NOTICE*: SPLUNK_ACCESS_TOKEN was not specified as an installation parameter and not found in the Windows Registry.
|
|
2023-12-08 14:55:39,315 1760 [INFO ] - This is required for the default configuration to reach Splunk Observability Cloud and can be configured with:
|
|
2023-12-08 14:55:39,404 1760 [INFO ] - PS> Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_ACCESS_TOKEN" -value "ACTUAL_ACCESS_TOKEN"
|
|
2023-12-08 14:55:39,418 1760 [INFO ] - before starting the splunk-otel-collector service with:
|
|
2023-12-08 14:55:39,458 1760 [INFO ] - PS> Start-Service -Name "splunk-otel-collector"
|
|
2023-12-08 14:55:39,484 1760 [INFO ] -
|
|
2023-12-08 14:55:39,562 1760 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-12-08 14:55:39,677 1760 [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'.
|
|
2023-12-08 14:55:39,808 1760 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-12-08 14:55:40,764 1760 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-12-08 14:55:41,048 1760 [INFO ] - splunk-otel-collector may be able to be automatically uninstalled.
|
|
2023-12-08 14:55:41,082 1760 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2023-12-08 14:55:41,097 1760 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2023-12-08 14:55:41,122 1760 [DEBUG] - * SPLUNK_API_URL='https://api.us0.signalfx.com' (Machine)
|
|
2023-12-08 14:55:41,144 1760 [DEBUG] - * SPLUNK_BUNDLE_DIR='C:\Program Files\Splunk\OpenTelemetry Collector\agent-bundle' (Machine)
|
|
2023-12-08 14:55:41,172 1760 [DEBUG] - * SPLUNK_HEC_TOKEN='' (Machine)
|
|
2023-12-08 14:55:41,193 1760 [DEBUG] - * SPLUNK_HEC_URL='https://ingest.us0.signalfx.com/v1/log' (Machine)
|
|
2023-12-08 14:55:41,216 1760 [DEBUG] - * SPLUNK_INGEST_URL='https://ingest.us0.signalfx.com' (Machine)
|
|
2023-12-08 14:55:41,233 1760 [DEBUG] - * SPLUNK_MEMORY_TOTAL_MIB='512' (Machine)
|
|
2023-12-08 14:55:41,266 1760 [DEBUG] - * SPLUNK_REALM='us0' (Machine)
|
|
2023-12-08 14:55:41,279 1760 [DEBUG] - * SPLUNK_TRACE_URL='https://ingest.us0.signalfx.com/v2/trace' (Machine)
|
|
2023-12-08 14:55:41,312 1760 [DEBUG] - * SPLUNK_CONFIG='C:\ProgramData\Splunk\OpenTelemetry Collector\agent_config.yaml' (Machine)
|
|
2023-12-08 14:55:41,374 1760 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\splunk-otel-collector'
|
|
2023-12-08 14:55:42,717 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nupkg'
|
|
with checksum 'A5F7AAF9BF6AF2C4BD6A3160592A0C4B'
|
|
2023-12-08 14:55:42,731 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nuspec'
|
|
with checksum 'D99DCCB8F6BF6FDDB9B54401EC56E6C3'
|
|
2023-12-08 14:55:42,763 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1'
|
|
with checksum '600EC8A3BD8BD739571698EFC3A0BA2B'
|
|
2023-12-08 14:55:42,813 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1'
|
|
with checksum 'A5785E4520BFE6984C8F08032A109991'
|
|
2023-12-08 14:55:42,859 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\common.ps1'
|
|
with checksum '60A3CEE74465AAE925580696ED470219'
|
|
2023-12-08 14:55:42,887 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\fluentd.ps1'
|
|
with checksum '6FBE22B4640560DB82DB3EBC646A164B'
|
|
2023-12-08 14:55:42,906 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\LICENSE.txt'
|
|
with checksum '061F57C2DB997D6EDCEC03CBA65C29A9'
|
|
2023-12-08 14:55:44,592 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.90.0-amd64.msi'
|
|
with checksum '950BCCBD3913534CB9825D1D5A6B4830'
|
|
2023-12-08 14:55:44,606 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.90.0-amd64.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2023-12-08 14:55:44,659 1760 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\VERIFICATION.txt'
|
|
with checksum 'E02E2D0E917FE9C1D2B26696DFB74EF7'
|
|
2023-12-08 14:55:44,730 1760 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.90.0".
|
|
2023-12-08 14:55:44,871 1760 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.90.0\.registry'
|
|
2023-12-08 14:55:44,904 1760 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.90.0\.files'
|
|
2023-12-08 14:55:44,970 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.90.0\.extra".
|
|
2023-12-08 14:55:44,982 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.90.0\.version".
|
|
2023-12-08 14:55:45,000 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.90.0\.sxs".
|
|
2023-12-08 14:55:45,031 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.90.0\.pin".
|
|
2023-12-08 14:55:45,044 1760 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-12-08 14:55:45,060 1760 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\splunk-otel-collector\.chocolateyPending".
|
|
2023-12-08 14:55:45,077 1760 [INFO ] - The install of splunk-otel-collector was successful.
|
|
2023-12-08 14:55:45,095 1760 [INFO ] - Software installed as 'msi', install location is likely default.
|
|
2023-12-08 14:55:45,184 1760 [WARN ] -
|
|
Chocolatey installed 3/3 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-12-08 14:55:45,220 1760 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-12-08 14:55:45,249 1760 [DEBUG] - Exiting with 0
|