Install the Collector for Windows using the MSI installer
Describes how to install the Splunk Distribution of the OpenTelemetry Collector for Windows using the MSI installer.
You can use the Windows MSI installer to install the Splunk Distribution of the Collector for Windows.
Alternatively, you can also install the Collector for Windows:
Using the installer script. See Install the Collector for Windows with the installer script.
Using deployment tools. See Install the Collector for Windows using deployment tools.
Manually. See Install the Collector for Windows manually.
Prerequisites
The Collector supports the following Windows versions, depending on the installation method:
|
Install method |
Supported versions (64-bit) |
|---|---|
|
Installer script |
Windows 10 Pro and Home, Windows 11 Pro and Home, Windows Server 2016, 2019, 2022, 2025 |
|
Windows installer (MSI) |
Windows 10 Pro and Home, Windows 11 Pro and Home, Windows Server 2016, 2019, 2022, 2025 |
|
Ansible |
Windows 10 Pro and Home, Windows 11 Pro and Home, Windows Server 2016, 2019, 2022, 2025 |
|
Chef |
Windows 10 Pro and Home, Windows 11 Pro and Home, Windows Server 2019, 2022 |
|
Nomad |
Windows 10 Pro and Home, Windows 11 Pro and Home, Windows Server 2016, 2019 |
|
Puppet |
Windows 10 Pro and Home, Windows 11 Pro and Home, Windows Server 2016, 2019 |
|
Docker |
Windows 10 Pro and Home, Windows 11 Pro and Home, Windows Server 2019, 2022 |
Install the Collector using the Windows installer file (MSI)
To install the package using Windows Installer, download the Windows MSI package (64-bit only) from the Collector’s GitHub release site.
The package is installed to \Program Files\Splunk\OpenTelemetry Collector.
The
splunk-otel-collectorservice is created, but not started.A default configuration file is copied to \ProgramData\Splunk\OpenTelemetry Collector\agent_config.yaml, if it does not already exist. This file is required to start the
splunk-otel-collectorservice.
Next, follow the installer steps, or install the Collector using a PowerShell terminal.
Install using the graphical installer
Run the downloaded package and follow the instructions in the guided setup.
Install using a PowerShell terminal
Follow these steps:
Open a PowerShell terminal.
Run the following command, where
PATH_TO_MSIis the full path to the downloaded package. For example,C:\your\download\folder\splunk-otel-collector-0.4.0-amd64.msi.Start-Process -Wait msiexec "/i PATH_TO_MSI /qn"Configure the Collector using the variables listed in the table that follows:
Start-Process -Wait msiexec "/i PATH_TO_MSI /qn SPLUNK_ACCESS_TOKEN=<my_access_token>"Use the following installation configurations with the MSI deployment method:
Name
Description
Default
COLLECTOR_SVC_ARGSTells Windows MSI to configure the command-line arguments used to launch the Collector service on Windows.
Empty
GOMEMLIMITSets Go memory limit and tells the garbage collector to run more often as the target is approached. For more information see Update the Collector for Windows.
Available starting on version 0.127.0.
Empty
SPLUNK_ACCESS_TOKENThe Splunk access token to authenticate requests.
Empty
SPLUNK_API_URLThe Splunk API URL.
https://api.[SPLUNK_REALM].signalfx.comSPLUNK_BUNDLE_DIRThe path to the Smart Agent bundle.
[INSTALLDIR]\OpenTelemetry Collector\agent-bundleSPLUNK_COLLECTD_DIRThe path to the collectd config directory for the Smart Agent. For example,
/usr/lib/splunk-otel-collector/agent-bundle/run/collectdOptional. Only added if passed to msiexec command.
SPLUNK_CONFIGDestination path of the Collector custom configuration file.
[CommonAppDataFolder]Splunk\OpenTelemetry Collector\[SPLUNK_SETUP_COLLECTOR_MODE]_config.yamlSPLUNK_GATEWAY_URLURL in Gateway mode.
Optional. Only added if passed to msiexec command.
SPLUNK_HEC_TOKENThe Splunk HEC authentication token.
[SPLUNK_ACCESS_TOKEN]SPLUNK_HEC_URLThe Splunk HEC endpoint URL.
signalfx. https://ingest.[SPLUNK_REALM].signalfx.com/v1/logSPLUNK_INGEST_URLThe Splunk ingest URL.
https://ingest.[SPLUNK_REALM].signalfx.comSPLUNK_LISTEN_INTERFACEThe network interface the agent receivers listen on.
Optional. Only added if passed to msiexec command.
SPLUNK_MEMORY_LIMIT_MIBUse it to set the memory limit for the
memory_limiterprocessor.Optional. Only added if passed to msiexec command.
SPLUNK_MEMORY_TOTAL_MIBTotal memory in MiB to allocate to the Collector
Optional. Only added if passed to msiexec command.
SPLUNK_REALMYour Splunk realm.
us0SPLUNK_SETUP_COLLECTOR_MODEInstall property that sets the Collector’s deployment mode to either
agentorgateway. Learn more at Collector deployment modes.agentSPLUNK_TRACE_URLThe Splunk trace endpoint URL.
https://ingest.[SPLUNK_REALM].signalfx.com/v2/traceStart the
splunk-otel-collectorservice by rebooting the system or by running the following command in a PowerShell terminal:Start-Service splunk-otel-collector
See advanced configuration options in PowerShell, including Service Logging, in the following docs:
Custom MSI URLs
By default, the Collector MSI is downloaded from "https://dl.signalfx.com
To specify custom URLs for this download replace COLLECTOR_MSI_URL with the URL to the desired MSI packages to install:
& {Set-ExecutionPolicy Bypass -Scope Process -Force; $script = ((New-Object System.Net.WebClient).DownloadString('https://dl.signalfx.com/splunk-otel-collector.ps1')); $params = @{access_token = "<SPLUNK_ACCESS_TOKEN>"; realm = "<SPLUNK_REALM>"; collector_msi_url = "<COLLECTOR_MSI_URL>"; Invoke-Command -ScriptBlock ([scriptblock]::Create(". {$script} $(&{$args} @params)"))}Install the Collector using a Chocolatey package
You can use a Chocolatey package to download, install, and configure the Collector with the following PowerShell command:
choco install splunk-otel-collector --params="'/SPLUNK_ACCESS_TOKEN:MY_SPLUNK_ACCESS_TOKEN /SPLUNK_REALM:MY_SPLUNK_REALM'"Next steps
After you have installed the package, see:
-
View logs and errors in the Windows Event Viewer. Search for "view logs and errors" on the Microsoft documentation site for more information.