|
2023-12-01 03:26:20,095 5776 [DEBUG] - XmlConfiguration is now operational
|
|
2023-12-01 03:26:20,423 5776 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-01 03:26:20,439 5776 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-01 03:26:20,439 5776 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-01 03:26:20,454 5776 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-12-01 03:26:20,470 5776 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-01 03:26:20,485 5776 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-12-01 03:26:20,485 5776 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-01 03:26:20,501 5776 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-12-01 03:26:20,516 5776 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-01 03:26:20,532 5776 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-12-01 03:26:20,532 5776 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-12-01 03:26:22,018 5776 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-01 03:26:22,018 5776 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-01 03:26:22,032 5776 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-01 03:26:22,032 5776 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-01 03:26:22,048 5776 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-01 03:26:22,065 5776 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-01 03:26:22,079 5776 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-01 03:26:22,079 5776 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-01 03:26:22,094 5776 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-01 03:26:22,094 5776 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-01 03:26:22,142 5776 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-12-01 03:26:22,157 5776 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-12-01 03:26:22,175 5776 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-12-01 03:26:22,188 5776 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-12-01 03:26:22,188 5776 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-12-01 03:26:22,220 5776 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-12-01 03:26:22,220 5776 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-12-01 03:26:22,235 5776 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-12-01 03:26:22,235 5776 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-12-01 03:26:22,235 5776 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-12-01 03:26:22,251 5776 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-12-01 03:26:22,251 5776 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-12-01 03:26:22,314 5776 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-12-01 03:26:22,314 5776 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-12-01 03:26:22,330 5776 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-12-01 03:26:22,345 5776 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-12-01 03:26:22,345 5776 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-12-01 03:26:22,362 5776 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-12-01 03:26:22,376 5776 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-12-01 03:26:22,376 5776 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-12-01 03:26:22,876 5776 [INFO ] - ============================================================
|
|
2023-12-01 03:26:23,441 5776 [INFO ] - Chocolatey v2.2.2
|
|
2023-12-01 03:26:23,532 5776 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-12-01 03:26:23,578 5776 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-12-01 03:26:23,594 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-12-01 03:26:23,643 5776 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install splunk-otel-collector --version 0.89.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-12-01 03:26:23,688 5776 [DEBUG] - Received arguments: install splunk-otel-collector --version 0.89.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-12-01 03:26:24,004 5776 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-12-01 03:26:24,065 5776 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-12-01 03:26:24,110 5776 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-12-01 03:26:24,407 5776 [DEBUG] - Performing validation checks.
|
|
2023-12-01 03:26:24,423 5776 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-12-01 03:26:24,439 5776 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-12-01 03:26:24,501 5776 [DEBUG] - System State Validation Checks:
|
|
2023-12-01 03:26:24,518 5776 [DEBUG] - Reboot Requirement Checks:
|
|
2023-12-01 03:26:24,581 5776 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-12-01 03:26:24,612 5776 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-12-01 03:26:24,625 5776 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-12-01 03:26:24,642 5776 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-12-01 03:26:24,658 5776 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-12-01 03:26:24,689 5776 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-12-01 03:26:24,719 5776 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-12-01 03:26:24,734 5776 [DEBUG] - - Elevated State = Checked
|
|
2023-12-01 03:26:24,767 5776 [DEBUG] - - Folder Exists = Checked
|
|
2023-12-01 03:26:24,812 5776 [DEBUG] - - Folder lockdown = Checked
|
|
2023-12-01 03:26:24,877 5776 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-12-01 03:26:25,126 5776 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-12-01 03:26:25,141 5776 [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-01 03:26:25,266 5776 [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.89.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-1IMVS6OEQI2'|
|
|
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-01 03:26:25,266 5776 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2023-12-01 03:26:25,313 5776 [INFO ] - Installing the following packages:
|
|
2023-12-01 03:26:25,331 5776 [INFO ] - splunk-otel-collector
|
|
2023-12-01 03:26:25,362 5776 [INFO ] - By installing, you accept licenses for the packages.
|
|
2023-12-01 03:26:25,439 5776 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-12-01 03:26:25,453 5776 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-12-01 03:26:25,470 5776 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-12-01 03:26:25,484 5776 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-12-01 03:26:25,500 5776 [DEBUG] - * 'ChocolateyLastPathUpdate'='133458271486176970' ('User')
|
|
2023-12-01 03:26:25,548 5776 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-12-01 03:26:25,586 5776 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-12-01 03:26:25,596 5776 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-12-01 03:26:25,627 5776 [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-01 03:26:25,656 5776 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-12-01 03:26:25,673 5776 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-12-01 03:26:25,688 5776 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-12-01 03:26:25,704 5776 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-12-01 03:26:25,704 5776 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-12-01 03:26:25,720 5776 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-12-01 03:26:25,735 5776 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-12-01 03:26:25,751 5776 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
|
|
2023-12-01 03:26:25,766 5776 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-12-01 03:26:25,782 5776 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2023-12-01 03:26:25,798 5776 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2023-12-01 03:26:25,814 5776 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-12-01 03:26:26,875 5776 [DEBUG] - Running list with the following filter = ''
|
|
2023-12-01 03:26:26,875 5776 [DEBUG] - --- Start of List ---
|
|
2023-12-01 03:26:26,969 5776 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-12-01 03:26:27,848 5776 [DEBUG] - chocolatey 2.2.2
|
|
2023-12-01 03:26:27,906 5776 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2023-12-01 03:26:27,938 5776 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-12-01 03:26:27,954 5776 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-12-01 03:26:27,985 5776 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-12-01 03:26:28,002 5776 [DEBUG] - KB3035131 1.0.3
|
|
2023-12-01 03:26:28,002 5776 [DEBUG] - KB3118401 1.0.5
|
|
2023-12-01 03:26:28,063 5776 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
|
|
2023-12-01 03:26:28,063 5776 [DEBUG] - --- End of List ---
|
|
2023-12-01 03:26:28,094 5776 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2023-12-01 03:26:29,406 5776 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2023-12-01 03:26:30,266 5776 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='splunk-otel-collector',Version='0.89.0')
|
|
2023-12-01 03:26:30,548 5776 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='splunk-otel-collector',Version='0.89.0') 242ms
|
|
2023-12-01 03:26:30,906 5776 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2023-12-01 03:26:32,267 5776 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2023-12-01 03:26:32,297 5776 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='splunk-otel-collector',Version='0.89.0')
|
|
2023-12-01 03:26:35,377 5776 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
|
|
2023-12-01 03:26:35,440 5776 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 47ms
|
|
2023-12-01 03:26:35,500 5776 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-compatibility.extension'&semVerLevel=2.0.0
|
|
2023-12-01 03:26:35,580 5776 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-compatibility.extension'&semVerLevel=2.0.0 57ms
|
|
2023-12-01 03:26:35,625 5776 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-core.extension'&semVerLevel=2.0.0
|
|
2023-12-01 03:26:35,689 5776 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-core.extension'&semVerLevel=2.0.0 63ms
|
|
2023-12-01 03:26:36,236 5776 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2023-12-01 03:26:36,266 5776 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='chocolatey-compatibility.extension',Version='1.0.0')
|
|
2023-12-01 03:26:36,330 5776 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='chocolatey-compatibility.extension',Version='1.0.0') 53ms
|
|
2023-12-01 03:26:36,360 5776 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2023-12-01 03:26:36,610 5776 [DEBUG] - Attempting to delete file "".
|
|
2023-12-01 03:26:36,766 5776 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/chocolatey-compatibility.extension/1.0.0
|
|
2023-12-01 03:26:37,316 5776 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/chocolatey-compatibility.extension/1.0.0 527ms
|
|
2023-12-01 03:26:37,439 5776 [INFO ] - [NuGet] Acquiring lock for the installation of chocolatey-compatibility.extension 1.0.0
|
|
2023-12-01 03:26:37,548 5776 [INFO ] - [NuGet] Acquired lock for the installation of chocolatey-compatibility.extension 1.0.0
|
|
2023-12-01 03:26:38,172 5776 [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-01 03:26:38,314 5776 [INFO ] - [NuGet] Adding package 'chocolatey-compatibility.extension.1.0.0' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-01 03:26:38,642 5776 [INFO ] - [NuGet] Added package 'chocolatey-compatibility.extension.1.0.0' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-01 03:26:38,705 5776 [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-01 03:26:38,766 5776 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\chocolatey-compatibility.extension/1.0.0\.nupkg.metadata".
|
|
2023-12-01 03:26:38,782 5776 [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-01 03:26:38,814 5776 [INFO ] -
|
|
chocolatey-compatibility.extension v1.0.0 (forced) [Approved]
|
|
2023-12-01 03:26:39,079 5776 [INFO ] - chocolatey-compatibility.extension package files install completed. Performing other installation steps.
|
|
2023-12-01 03:26:39,860 5776 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension'
|
|
2023-12-01 03:26:39,909 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\chocolatey-compatibility.extension.nupkg'
|
|
with checksum 'FA277C3720AB0DA4947D11272DAB96A8'
|
|
2023-12-01 03:26:39,923 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\chocolatey-compatibility.extension.nuspec'
|
|
with checksum 'E4F76BE29CB79EF59D3238F490BA92E2'
|
|
2023-12-01 03:26:39,939 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\chocolatey-compatibility.psm1'
|
|
with checksum 'D6BED48F1A2055D2CC8A7E65A3B9B653'
|
|
2023-12-01 03:26:39,971 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Get-PackageParameters.ps1'
|
|
with checksum '71D1214302A8DCEDBC514DDD1A4C8B02'
|
|
2023-12-01 03:26:39,986 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Get-UninstallRegistryKey.ps1'
|
|
with checksum 'BEF350705A6096C5A6D5008674F81A0A'
|
|
2023-12-01 03:26:40,001 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Install-ChocolateyDesktopLink.ps1'
|
|
with checksum '507F2FBE3B0E4E7026FF318F57D11629'
|
|
2023-12-01 03:26:40,001 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-ChocolateyFailure.ps1'
|
|
with checksum '62F5761ED276CC6E52D7B7A57F50B669'
|
|
2023-12-01 03:26:40,019 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-ChocolateySuccess.ps1'
|
|
with checksum 'F2D4D28C6EAA6D52E827761700BFC366'
|
|
2023-12-01 03:26:40,032 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\extensions\helpers\Write-FileUpdateLog.ps1'
|
|
with checksum '96B9E7F714A968AE4CD62E3749C3E5EC'
|
|
2023-12-01 03:26:40,063 5776 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility".
|
|
2023-12-01 03:26:40,110 5776 [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-01 03:26:40,158 5776 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\helpers".
|
|
2023-12-01 03:26:40,174 5776 [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-01 03:26:40,204 5776 [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-01 03:26:40,221 5776 [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-01 03:26:40,288 5776 [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-01 03:26:40,347 5776 [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-01 03:26:40,376 5776 [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-01 03:26:41,923 5776 [WARN ] - Installed/updated chocolatey-compatibility extensions.
|
|
2023-12-01 03:26:42,033 5776 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0".
|
|
2023-12-01 03:26:42,178 5776 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.files'
|
|
2023-12-01 03:26:42,205 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.extra".
|
|
2023-12-01 03:26:42,235 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.version".
|
|
2023-12-01 03:26:42,251 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.sxs".
|
|
2023-12-01 03:26:42,268 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-compatibility.extension.1.0.0\.pin".
|
|
2023-12-01 03:26:42,314 5776 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-12-01 03:26:42,345 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-compatibility.extension\.chocolateyPending".
|
|
2023-12-01 03:26:42,376 5776 [INFO ] - The install of chocolatey-compatibility.extension was successful.
|
|
2023-12-01 03:26:42,408 5776 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility'
|
|
2023-12-01 03:26:42,438 5776 [DEBUG] - Resolving resource DownloadResource for source c:\cached-packages
|
|
2023-12-01 03:26:42,471 5776 [DEBUG] - Attempting to delete file "".
|
|
2023-12-01 03:26:42,567 5776 [INFO ] - [NuGet] Adding package 'chocolatey-core.extension.1.4.0 : chocolatey-compatibility.extension [1.0.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-01 03:26:42,861 5776 [INFO ] - [NuGet] Added package 'chocolatey-core.extension.1.4.0 : chocolatey-compatibility.extension [1.0.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-01 03:26:42,877 5776 [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-01 03:26:42,877 5776 [INFO ] -
|
|
chocolatey-core.extension v1.4.0 (forced)
|
|
2023-12-01 03:26:42,909 5776 [INFO ] - chocolatey-core.extension package files install completed. Performing other installation steps.
|
|
2023-12-01 03:26:42,953 5776 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension'
|
|
2023-12-01 03:26:42,971 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nupkg'
|
|
with checksum '0CA0F8AA17B974343E7967B1820D0D9C'
|
|
2023-12-01 03:26:42,985 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nuspec'
|
|
with checksum 'B2C1C3F82AA3D894AD8E5547FF7B1688'
|
|
2023-12-01 03:26:43,002 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\chocolatey-core.psm1'
|
|
with checksum '2A0DE2FF529CFC02FDF540ACBEE99EE1'
|
|
2023-12-01 03:26:43,002 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AppInstallLocation.ps1'
|
|
with checksum 'D19FCAF1650F0EE327666CA8823F3731'
|
|
2023-12-01 03:26:43,033 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AvailableDriveLetter.ps1'
|
|
with checksum 'FF3C638BD18B2D3A563753960F6DD323'
|
|
2023-12-01 03:26:43,048 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-EffectiveProxy.ps1'
|
|
with checksum '2584085C65E44561A8D8A78F617AFD3E'
|
|
2023-12-01 03:26:43,065 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageCacheLocation.ps1'
|
|
with checksum '77A378E5C659E5A53D2D64E276159B62'
|
|
2023-12-01 03:26:43,080 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-WebContent.ps1'
|
|
with checksum '57D013E581EFEA3D4D8366183C9A5797'
|
|
2023-12-01 03:26:43,095 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Register-Application.ps1'
|
|
with checksum 'D2853E569DAC9A341642BA76EC4FB411'
|
|
2023-12-01 03:26:43,110 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Remove-Process.ps1'
|
|
with checksum '9A56AD3B71FD44CB8D0EA2C1ADB023B2'
|
|
2023-12-01 03:26:43,110 5776 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-core".
|
|
2023-12-01 03:26:43,126 5776 [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-01 03:26:43,158 5776 [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-01 03:26:43,158 5776 [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-01 03:26:43,189 5776 [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-01 03:26:43,206 5776 [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-01 03:26:43,235 5776 [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-01 03:26:43,252 5776 [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-01 03:26:43,266 5776 [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-01 03:26:44,820 5776 [WARN ] - Installed/updated chocolatey-core extensions.
|
|
2023-12-01 03:26:44,875 5776 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0".
|
|
2023-12-01 03:26:44,891 5776 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.files'
|
|
2023-12-01 03:26:44,922 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.extra".
|
|
2023-12-01 03:26:44,939 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.version".
|
|
2023-12-01 03:26:44,954 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.sxs".
|
|
2023-12-01 03:26:44,985 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.4.0\.pin".
|
|
2023-12-01 03:26:45,019 5776 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-12-01 03:26:45,050 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\.chocolateyPending".
|
|
2023-12-01 03:26:45,080 5776 [INFO ] - The install of chocolatey-core.extension was successful.
|
|
2023-12-01 03:26:45,094 5776 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
|
|
2023-12-01 03:26:45,128 5776 [DEBUG] - Attempting to delete file "".
|
|
2023-12-01 03:26:45,141 5776 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/splunk-otel-collector/0.89.0
|
|
2023-12-01 03:26:45,798 5776 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/splunk-otel-collector/0.89.0 641ms
|
|
2023-12-01 03:26:45,814 5776 [INFO ] - [NuGet] Acquiring lock for the installation of splunk-otel-collector 0.89.0
|
|
2023-12-01 03:26:45,830 5776 [INFO ] - [NuGet] Acquired lock for the installation of splunk-otel-collector 0.89.0
|
|
2023-12-01 03:27:13,173 5776 [INFO ] - [NuGet] Installed splunk-otel-collector 0.89.0 from https://community.chocolatey.org/api/v2/ with content hash JEiIoHsdH+LvIbTNYaO7HRQLtXJmKNvCpu52js2JsvvX2RikzWatYoZGOFuwJ+d6+//QVerFC0S5kglNNioYUA==.
|
|
2023-12-01 03:27:13,283 5776 [INFO ] - [NuGet] Adding package 'splunk-otel-collector.0.89.0 : chocolatey-core.extension [1.3.5.1, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-01 03:27:15,833 5776 [INFO ] - [NuGet] Added package 'splunk-otel-collector.0.89.0 : chocolatey-core.extension [1.3.5.1, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-01 03:27:15,861 5776 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\splunk-otel-collector/0.89.0\splunk-otel-collector.0.89.0.nupkg".
|
|
2023-12-01 03:27:15,917 5776 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\splunk-otel-collector/0.89.0\.nupkg.metadata".
|
|
2023-12-01 03:27:15,940 5776 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\splunk-otel-collector/0.89.0\splunk-otel-collector.0.89.0.nupkg.sha512".
|
|
2023-12-01 03:27:15,970 5776 [INFO ] -
|
|
splunk-otel-collector v0.89.0 (forced)
|
|
2023-12-01 03:27:16,017 5776 [INFO ] - splunk-otel-collector package files install completed. Performing other installation steps.
|
|
2023-12-01 03:27:16,190 5776 [DEBUG] - Setting installer args for splunk-otel-collector
|
|
2023-12-01 03:27:16,206 5776 [DEBUG] - Setting package parameters for splunk-otel-collector
|
|
2023-12-01 03:27:16,220 5776 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1':
|
|
2023-12-01 03:27:16,267 5776 [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.89.0-amd64.msi" # replaced at build time
|
|
softwareName = $env:ChocolateyPackageTitle
|
|
checksum64 = "747C030B3929D2A878612C8C9DE6EC70B203CE2AA21B6C938137394C1F3C29C6" # 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-01 03:27:16,519 5776 [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-01 03:27:16,614 5776 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-12-01 03:27:19,956 5776 [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-01 03:27:22,660 5776 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-01 03:27:22,674 5776 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-01 03:27:22,706 5776 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-01 03:27:22,722 5776 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-01 03:27:22,767 5776 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-01 03:27:22,799 5776 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-01 03:27:22,850 5776 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-01 03:27:22,915 5776 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-01 03:27:22,941 5776 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-01 03:27:23,018 5776 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-01 03:27:23,081 5776 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-01 03:27:23,126 5776 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-01 03:27:23,159 5776 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-01 03:27:23,221 5776 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-01 03:27:23,253 5776 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-01 03:27:23,299 5776 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-01 03:27:23,315 5776 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-01 03:27:23,315 5776 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-01 03:27:23,348 5776 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-01 03:27:23,394 5776 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-01 03:27:23,410 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-01 03:27:23,441 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-01 03:27:23,456 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-01 03:27:23,505 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-01 03:27:23,518 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-01 03:27:23,535 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-01 03:27:23,550 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-01 03:27:23,564 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-01 03:27:23,580 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-01 03:27:23,596 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-01 03:27:23,612 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-01 03:27:23,626 5776 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-01 03:27:23,642 5776 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-01 03:27:23,673 5776 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-01 03:27:23,690 5776 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-01 03:27:23,722 5776 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-01 03:27:23,753 5776 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-01 03:27:23,770 5776 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-01 03:27:23,800 5776 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-01 03:27:23,815 5776 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-01 03:27:23,878 5776 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-01 03:27:23,909 5776 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-01 03:27:23,940 5776 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-01 03:27:23,940 5776 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-01 03:27:23,957 5776 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-01 03:27:23,971 5776 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-01 03:27:23,987 5776 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-01 03:27:24,002 5776 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-01 03:27:24,018 5776 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-01 03:27:24,033 5776 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-01 03:27:24,048 5776 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-01 03:27:24,439 5776 [DEBUG] - Loading community extensions
|
|
2023-12-01 03:27:24,565 5776 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
|
|
2023-12-01 03:27:24,596 5776 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
|
|
2023-12-01 03:27:25,236 5776 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
|
|
2023-12-01 03:27:25,254 5776 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
|
|
2023-12-01 03:27:25,268 5776 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
|
|
2023-12-01 03:27:25,364 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
|
|
2023-12-01 03:27:25,440 5776 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility
|
|
2023-12-01 03:27:25,490 5776 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
|
|
2023-12-01 03:27:25,501 5776 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility
|
|
2023-12-01 03:27:25,534 5776 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
|
|
2023-12-01 03:27:25,565 5776 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility
|
|
2023-12-01 03:27:25,706 5776 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
|
|
2023-12-01 03:27:25,787 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
|
|
2023-12-01 03:27:25,815 5776 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
|
|
2023-12-01 03:27:25,833 5776 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
|
|
2023-12-01 03:27:25,862 5776 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
|
|
2023-12-01 03:27:26,003 5776 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
|
|
2023-12-01 03:27:26,036 5776 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
|
|
2023-12-01 03:27:26,705 5776 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
|
|
2023-12-01 03:27:26,737 5776 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
|
|
2023-12-01 03:27:26,751 5776 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
|
|
2023-12-01 03:27:26,830 5776 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
|
|
2023-12-01 03:27:26,910 5776 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
|
|
2023-12-01 03:27:26,956 5776 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
|
|
2023-12-01 03:27:27,018 5776 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
|
|
2023-12-01 03:27:27,096 5776 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
|
|
2023-12-01 03:27:27,128 5776 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
|
|
2023-12-01 03:27:27,144 5776 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
|
|
2023-12-01 03:27:27,159 5776 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
|
|
2023-12-01 03:27:27,174 5776 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
|
|
2023-12-01 03:27:27,191 5776 [INFO ] - VERBOSE: Importing function 'Register-Application'.
|
|
2023-12-01 03:27:27,206 5776 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
|
|
2023-12-01 03:27:27,222 5776 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-12-01 03:27:27,238 5776 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-12-01 03:27:27,564 5776 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-01 03:27:27,564 5776 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-01 03:27:27,596 5776 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-01 03:27:27,596 5776 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-01 03:27:27,612 5776 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-01 03:27:27,628 5776 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-01 03:27:27,643 5776 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-01 03:27:27,658 5776 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-01 03:27:27,673 5776 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-01 03:27:27,691 5776 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-01 03:27:27,710 5776 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-01 03:27:27,736 5776 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-01 03:27:27,736 5776 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-01 03:27:27,752 5776 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-01 03:27:27,767 5776 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-01 03:27:27,799 5776 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-01 03:27:27,832 5776 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-01 03:27:27,862 5776 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-01 03:27:27,878 5776 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-01 03:27:27,894 5776 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-01 03:27:27,911 5776 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-01 03:27:27,925 5776 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-01 03:27:28,095 5776 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-01 03:27:28,112 5776 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-01 03:27:28,112 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-01 03:27:28,127 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-01 03:27:28,159 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-01 03:27:28,192 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-01 03:27:28,221 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-01 03:27:28,237 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-01 03:27:28,252 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-01 03:27:28,268 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-01 03:27:28,298 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-01 03:27:28,314 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-01 03:27:28,334 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-01 03:27:28,362 5776 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-01 03:27:28,397 5776 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-01 03:27:28,439 5776 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-01 03:27:28,474 5776 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-01 03:27:28,502 5776 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-01 03:27:28,534 5776 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-01 03:27:28,581 5776 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-01 03:27:28,651 5776 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-01 03:27:28,674 5776 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-01 03:27:28,705 5776 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-01 03:27:28,720 5776 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-01 03:27:28,736 5776 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
|
|
2023-12-01 03:27:28,736 5776 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
|
|
2023-12-01 03:27:28,752 5776 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
|
|
2023-12-01 03:27:28,752 5776 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
|
|
2023-12-01 03:27:28,768 5776 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
|
|
2023-12-01 03:27:28,785 5776 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
|
|
2023-12-01 03:27:28,800 5776 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
|
|
2023-12-01 03:27:28,817 5776 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
|
|
2023-12-01 03:27:28,833 5776 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
|
|
2023-12-01 03:27:28,846 5776 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
|
|
2023-12-01 03:27:28,846 5776 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
|
|
2023-12-01 03:27:28,865 5776 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-01 03:27:28,893 5776 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-01 03:27:28,908 5776 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-01 03:27:28,924 5776 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-01 03:27:28,939 5776 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-01 03:27:28,957 5776 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-01 03:27:28,957 5776 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-01 03:27:28,971 5776 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-01 03:27:28,986 5776 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-01 03:27:28,986 5776 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-01 03:27:29,003 5776 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-01 03:27:29,020 5776 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-12-01 03:27:29,033 5776 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
|
|
2023-12-01 03:27:29,033 5776 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
|
|
2023-12-01 03:27:29,051 5776 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-12-01 03:27:29,096 5776 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-12-01 03:27:29,113 5776 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-12-01 03:27:29,127 5776 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-12-01 03:27:29,143 5776 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-12-01 03:27:29,158 5776 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
|
|
2023-12-01 03:27:29,174 5776 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-12-01 03:27:29,206 5776 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-12-01 03:27:29,237 5776 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-12-01 03:27:29,254 5776 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-12-01 03:27:29,288 5776 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
|
|
2023-12-01 03:27:29,299 5776 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-12-01 03:27:29,299 5776 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-01 03:27:29,315 5776 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-12-01 03:27:29,330 5776 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-12-01 03:27:29,330 5776 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-12-01 03:27:29,362 5776 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-12-01 03:27:29,376 5776 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
|
|
2023-12-01 03:27:29,425 5776 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-12-01 03:27:29,456 5776 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-12-01 03:27:29,487 5776 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-12-01 03:27:29,502 5776 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-12-01 03:27:29,518 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
|
|
2023-12-01 03:27:29,534 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-01 03:27:29,550 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-01 03:27:29,565 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-01 03:27:29,597 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-01 03:27:29,676 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-12-01 03:27:29,689 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-12-01 03:27:29,706 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-01 03:27:29,722 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-01 03:27:29,737 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-12-01 03:27:29,737 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-01 03:27:29,752 5776 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-12-01 03:27:29,768 5776 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-12-01 03:27:29,816 5776 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-01 03:27:29,846 5776 [INFO ] - VERBOSE: Importing function 'Register-Application'.
|
|
2023-12-01 03:27:29,863 5776 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
|
|
2023-12-01 03:27:29,893 5776 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-12-01 03:27:29,908 5776 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-12-01 03:27:29,923 5776 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-01 03:27:29,955 5776 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-12-01 03:27:29,955 5776 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-01 03:27:29,986 5776 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-12-01 03:27:30,019 5776 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-01 03:27:30,051 5776 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-01 03:27:30,112 5776 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-01 03:27:30,143 5776 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-12-01 03:27:30,158 5776 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
|
|
2023-12-01 03:27:30,174 5776 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
|
|
2023-12-01 03:27:30,207 5776 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
|
|
2023-12-01 03:27:30,253 5776 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-12-01 03:27:30,285 5776 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-12-01 03:27:30,299 5776 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-12-01 03:27:30,314 5776 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-12-01 03:27:30,330 5776 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-12-01 03:27:30,346 5776 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-12-01 03:27:30,361 5776 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-01 03:27:30,378 5776 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-12-01 03:27:30,411 5776 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-12-01 03:27:30,426 5776 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-12-01 03:27:30,643 5776 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-12-01 03:27:30,689 5776 [DEBUG] - Running 'ChocolateyScriptRunner' for splunk-otel-collector v0.89.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-01 03:27:30,845 5776 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1'
|
|
2023-12-01 03:27:31,080 5776 [INFO ] - Checking configuration parameters ...
|
|
2023-12-01 03:27:31,298 5776 [DEBUG] - Running Get-PackageParameters
|
|
2023-12-01 03:27:31,330 5776 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
|
|
2023-12-01 03:27:31,517 5776 [INFO ] - The SPLUNK_ACCESS_TOKEN parameter is not specified.
|
|
2023-12-01 03:27:31,550 5776 [INFO ] - The SPLUNK_REALM parameter is not specified. Using default configuration.
|
|
2023-12-01 03:27:31,628 5776 [INFO ] - The SPLUNK_INGEST_URL parameter is not specified. Using default configuration.
|
|
2023-12-01 03:27:31,659 5776 [INFO ] - The SPLUNK_INGEST_URL parameter is not specified. Using default configuration.
|
|
2023-12-01 03:27:31,705 5776 [INFO ] - The SPLUNK_HEC_TOKEN parameter is not specified. Using default configuration.
|
|
2023-12-01 03:27:31,752 5776 [INFO ] - The SPLUNK_HEC_URL parameter is not specified. Using default configuration.
|
|
2023-12-01 03:27:31,831 5776 [INFO ] - The SPLUNK_TRACE_URL parameter is not specified. Using default configuration.
|
|
2023-12-01 03:27:31,894 5776 [INFO ] - The SPLUNK_MEMORY_TOTAL_MIB parameter is not specified. Using default configuration.
|
|
2023-12-01 03:27:31,955 5776 [INFO ] - The SPLUNK_BUNDLE_DIR parameter is not specified. Using default configuration.
|
|
2023-12-01 03:27:33,301 5776 [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-01 03:27:41,518 5776 [INFO ] - VERBOSE: Operation 'Query CimInstances' complete.
|
|
2023-12-01 03:27:42,128 5776 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_API_URL...
|
|
2023-12-01 03:27:42,252 5776 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_BUNDLE_DIR...
|
|
2023-12-01 03:27:42,347 5776 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_HEC_TOKEN...
|
|
2023-12-01 03:27:42,423 5776 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_HEC_URL...
|
|
2023-12-01 03:27:42,486 5776 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_INGEST_URL...
|
|
2023-12-01 03:27:42,598 5776 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_MEMORY_TOTAL_MIB...
|
|
2023-12-01 03:27:42,691 5776 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_REALM...
|
|
2023-12-01 03:27:42,753 5776 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_TRACE_URL...
|
|
2023-12-01 03:27:43,190 5776 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '/qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.89.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector"' -file 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.89.0-amd64.msi' -packageName 'splunk-otel-collector' -validExitCodes '0' -fileType 'msi'
|
|
2023-12-01 03:27:43,346 5776 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-12-01 03:27:43,660 5776 [INFO ] - Installing splunk-otel-collector...
|
|
2023-12-01 03:27:44,377 5776 [DEBUG] - Ensuring 'C:\Users\vagrant\AppData\Local\Temp\chocolatey' exists
|
|
2023-12-01 03:27:44,409 5776 [DEBUG] - Ensuring 'C:\Program Files\Splunk' exists
|
|
2023-12-01 03:27:44,863 5776 [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.89.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.89.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2023-12-01 03:27:45,111 5776 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-12-01 03:27:45,206 5776 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.89.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.89.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" ]. This may take a while, depending on the statements.
|
|
2023-12-01 04:08:46,328 5776 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.89.0-amd64.msi" /qn /norestart /l*v "C:\Users\vagrant\AppData\Local\Temp\chocolatey\splunk-otel-collector.0.89.0.MsiInstall.log" INSTALLDIR="C:\Program Files\Splunk\OpenTelemetry Collector" ] exited with '0'.
|
|
2023-12-01 04:08:46,478 5776 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-12-01 04:08:46,503 5776 [INFO ] - splunk-otel-collector has been installed.
|
|
2023-12-01 04:08:46,594 5776 [INFO ] - Updating HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for SPLUNK_CONFIG...
|
|
2023-12-01 04:08:46,686 5776 [INFO ] -
|
|
2023-12-01 04:08:46,733 5776 [INFO ] - *NOTICE*: SPLUNK_ACCESS_TOKEN was not specified as an installation parameter and not found in the Windows Registry.
|
|
2023-12-01 04:08:46,791 5776 [INFO ] - This is required for the default configuration to reach Splunk Observability Cloud and can be configured with:
|
|
2023-12-01 04:08:46,854 5776 [INFO ] - PS> Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -name "SPLUNK_ACCESS_TOKEN" -value "ACTUAL_ACCESS_TOKEN"
|
|
2023-12-01 04:08:46,918 5776 [INFO ] - before starting the splunk-otel-collector service with:
|
|
2023-12-01 04:08:47,282 5776 [INFO ] - PS> Start-Service -Name "splunk-otel-collector"
|
|
2023-12-01 04:08:47,356 5776 [INFO ] -
|
|
2023-12-01 04:08:47,516 5776 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-12-01 04:08:47,574 5776 [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-01 04:08:47,622 5776 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-12-01 04:08:48,339 5776 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-12-01 04:08:49,153 5776 [INFO ] - splunk-otel-collector may be able to be automatically uninstalled.
|
|
2023-12-01 04:08:49,231 5776 [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-01 04:08:49,265 5776 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2023-12-01 04:08:49,294 5776 [DEBUG] - * SPLUNK_API_URL='https://api.us0.signalfx.com' (Machine)
|
|
2023-12-01 04:08:49,339 5776 [DEBUG] - * SPLUNK_BUNDLE_DIR='C:\Program Files\Splunk\OpenTelemetry Collector\agent-bundle' (Machine)
|
|
2023-12-01 04:08:49,362 5776 [DEBUG] - * SPLUNK_HEC_TOKEN='' (Machine)
|
|
2023-12-01 04:08:49,393 5776 [DEBUG] - * SPLUNK_HEC_URL='https://ingest.us0.signalfx.com/v1/log' (Machine)
|
|
2023-12-01 04:08:49,448 5776 [DEBUG] - * SPLUNK_INGEST_URL='https://ingest.us0.signalfx.com' (Machine)
|
|
2023-12-01 04:08:49,487 5776 [DEBUG] - * SPLUNK_MEMORY_TOTAL_MIB='512' (Machine)
|
|
2023-12-01 04:08:49,531 5776 [DEBUG] - * SPLUNK_REALM='us0' (Machine)
|
|
2023-12-01 04:08:49,562 5776 [DEBUG] - * SPLUNK_TRACE_URL='https://ingest.us0.signalfx.com/v2/trace' (Machine)
|
|
2023-12-01 04:08:49,607 5776 [DEBUG] - * SPLUNK_CONFIG='C:\ProgramData\Splunk\OpenTelemetry Collector\agent_config.yaml' (Machine)
|
|
2023-12-01 04:08:49,746 5776 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\splunk-otel-collector'
|
|
2023-12-01 04:08:52,660 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nupkg'
|
|
with checksum 'E3CB4F54292BE70E62E462643850B89A'
|
|
2023-12-01 04:08:52,698 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\splunk-otel-collector.nuspec'
|
|
with checksum '9172687A1732EED5EAE68217C948D8E6'
|
|
2023-12-01 04:08:52,733 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyinstall.ps1'
|
|
with checksum '6A3D39B488309070288A5130B014535B'
|
|
2023-12-01 04:08:52,796 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\chocolateyuninstall.ps1'
|
|
with checksum 'A5785E4520BFE6984C8F08032A109991'
|
|
2023-12-01 04:08:52,841 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\common.ps1'
|
|
with checksum '60A3CEE74465AAE925580696ED470219'
|
|
2023-12-01 04:08:52,942 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\fluentd.ps1'
|
|
with checksum '6FBE22B4640560DB82DB3EBC646A164B'
|
|
2023-12-01 04:08:53,010 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\LICENSE.txt'
|
|
with checksum '061F57C2DB997D6EDCEC03CBA65C29A9'
|
|
2023-12-01 04:08:56,468 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.89.0-amd64.msi'
|
|
with checksum 'C3E658D1394BA101E2BB9D93277EBF01'
|
|
2023-12-01 04:08:56,495 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\splunk-otel-collector-0.89.0-amd64.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2023-12-01 04:08:56,536 5776 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\splunk-otel-collector\tools\VERIFICATION.txt'
|
|
with checksum '2412FD01791F58F5CE86F02D26C11E8B'
|
|
2023-12-01 04:08:56,621 5776 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.89.0".
|
|
2023-12-01 04:08:56,826 5776 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.89.0\.registry'
|
|
2023-12-01 04:08:56,901 5776 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.89.0\.files'
|
|
2023-12-01 04:08:57,059 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.89.0\.extra".
|
|
2023-12-01 04:08:57,138 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.89.0\.version".
|
|
2023-12-01 04:08:57,191 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.89.0\.sxs".
|
|
2023-12-01 04:08:57,262 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\splunk-otel-collector.0.89.0\.pin".
|
|
2023-12-01 04:08:57,325 5776 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-12-01 04:08:57,357 5776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\splunk-otel-collector\.chocolateyPending".
|
|
2023-12-01 04:08:57,403 5776 [INFO ] - The install of splunk-otel-collector was successful.
|
|
2023-12-01 04:08:57,463 5776 [INFO ] - Software installed as 'msi', install location is likely default.
|
|
2023-12-01 04:08:57,807 5776 [WARN ] -
|
|
Chocolatey installed 3/3 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-12-01 04:08:57,870 5776 [WARN ] -
|
|
Did you know the proceeds of Pro (and some proceeds from other
|
|
licensed editions) go into bettering the community infrastructure?
|
|
Your support ensures an active community, keeps Chocolatey tip-top,
|
|
plus it nets you some awesome features!
|
|
https://chocolatey.org/compare
|
|
2023-12-01 04:08:57,949 5776 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-12-01 04:08:57,949 5776 [DEBUG] - Exiting with 0
|