Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 078cfc4

Browse files
WIP
1 parent 0661100 commit 078cfc4

File tree

6 files changed

+61
-86
lines changed

6 files changed

+61
-86
lines changed

gdi/opentelemetry/collector-windows/install-windows-manual.rst

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ Install the Collector for Windows manually
1414

1515
You can use Windows MSI to install the Splunk Distribution of the Collector for Windows.
1616

17+
.. note::
18+
19+
The Splunk Distribution of the OpenTelemetry Collector comes with a default configuration, as detailed in :ref:`windows-config-ootb`. To modify this configuration, refer to :ref:`otel-windows-config`.
20+
21+
To learn how to obtain logs, see :ref:`windows-config-logs`.
22+
1723
Alternatively, you can also install the Collector for Windows:
1824

1925
* Using the installer script. See :ref:`otel-install-windows`.
@@ -78,22 +84,6 @@ To install the Collector using the binary file, follow these steps:
7884
7985
# type Ctrl-c to stop the collector
8086
81-
.. _install-windows-manual-modify-default:
82-
83-
Modify the default configuration
84-
==========================================
85-
86-
All installation methods offer default configurations using environment variables. Before starting the ``splunk-otel-collector`` service, replace the variables in the default configuration file with the appropriate values for your environment. See :ref:`otel-windows-config` for more information.
87-
88-
.. include:: /_includes/collector-env-vars.rst
89-
90-
.. note:: When configuring additional settings, use service, process, or terminal scopes.
91-
92-
Configure proxy settings
93-
----------------------------------
94-
95-
To configure proxy settings to install and run the OpenTelemetry Collector, see :ref:`configure-proxy-collector`.
96-
9787
.. _windows-manual-custom:
9888

9989
Use a custom configuration file

gdi/opentelemetry/collector-windows/install-windows-msi.rst

Lines changed: 25 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ Install the Collector for Windows using MSI
1414

1515
You can use Windows MSI to install the Splunk Distribution of the Collector for Windows.
1616

17+
.. note::
18+
19+
The Splunk Distribution of the OpenTelemetry Collector comes with a default configuration, as detailed in :ref:`windows-config-ootb`. To modify this configuration, refer to :ref:`otel-windows-config`.
20+
21+
To learn how to obtain logs, see :ref:`windows-config-logs`.
22+
1723
Alternatively, you can also install the Collector for Windows:
1824

1925
* Using the installer script. See :ref:`otel-install-windows`.
@@ -27,19 +33,12 @@ Prerequisites
2733

2834
.. include:: /_includes/requirements/collector-windows.rst
2935

30-
.. _install-windows-msi-env-variables:
31-
32-
Collector environment variables
33-
=====================================
34-
35-
.. include:: /_includes/collector-env-vars.rst
36-
3736
.. _windows-installer:
3837

3938
Install the Collector using the Windows installer file (MSI)
4039
===============================================================================
4140

42-
To install the package using Windows Installer, download the Windows MSI package (64-bit only) from :new-page:`GitHub releases <https://github.com/signalfx/splunk-otel-collector/releases>`.
41+
To install the package using Windows Installer, download the Windows MSI package (64-bit only) from the Collector's :new-page:`GitHub release site <https://github.com/signalfx/splunk-otel-collector/releases>`.
4342

4443
- The package is installed to ``\Program Files\Splunk\OpenTelemetry Collector``.
4544
- The ``splunk-otel-collector`` service is created, but not started.
@@ -70,27 +69,24 @@ Follow these steps:
7069
7170
Start-Process -Wait msiexec "/i PATH_TO_MSI /qn"
7271
73-
1. Update all variables in the configuration file as appropriate. See :ref:`install-windows-msi-env-variables`.
72+
1. Update all variables in the configuration file as appropriate. See :ref:`install-windows-msi-modify-default`.
7473
2. Start the ``splunk-otel-collector`` service by rebooting the system or by running the following command in a PowerShell terminal:
7574

7675
.. code-block:: PowerShell
7776
7877
Start-Service splunk-otel-collector
7978
80-
Learn more about advanced configuration options (including Service Logging) using PowerShell in the Splunk Distribution of OpenTelemetry Collector :new-page:`Windows manual <https://github.com/signalfx/splunk-otel-collector/blob/main/docs/getting-started/windows-manual.md>`.
79+
Learn more about advanced configuration options (including Service Logging) using PowerShell in the following docs:
80+
81+
* :ref:`otel-install-windows-manual`
82+
* :ref:`otel-windows-config`
8183

8284
.. _windows-manual-fluentd:
8385

8486
Install Fluentd MSI for log collection
8587
==================================================
8688

87-
Default log collection
88-
-----------------------------------------------
89-
90-
Install, configure, and start the Collector with :ref:`Windows Installer <windows-installer>`. The Collector default configuration file ``\ProgramData\Splunk\OpenTelemetry Collector\agent_config.yaml`` listens for log events on ``127.0.0.1:8006`` and sends them to Splunk Observability Cloud.
91-
92-
Log collection with Fluentd
93-
-----------------------------------------------
89+
If you have a Log Observer entitlement or wish to collect logs for the target host, make sure Fluentd is installed and enabled in your Collector instance.
9490

9591
.. note:: You need to be an Admin to configure log collection with Fluentd.
9692

@@ -117,34 +113,28 @@ Perform the following steps to install Fluentd and forward ``collected`` log eve
117113

118114
Learn more about general Fluentd configuration details in the :new-page:`official Fluentd documentation <https://docs.fluentd.org/configuration>`.
119115

120-
.. _windows-chocolatey:
116+
Custom MSI URLs
117+
==================================================
121118

122-
Install using a Chocolatey package
123-
===========================================
119+
By default, the Collector MSI is downloaded from :new-page:`https://dl.signalfx.com <https://dl.signalfx.com>` and
120+
the Fluentd MSI is downloaded from :new-page:`https://packages.treasuredata.com <https://packages.treasuredata.com>`.
124121

125-
A :new-page:`Chocolatey package <https://community.chocolatey.org/packages/splunk-otel-collector>` is available to download, install, and configure the Collector and Fluentd with the following PowerShell command:
122+
To specify custom URLs for these downloads, use the ``collector_msi_url`` and ``fluentd_msi_url`` options. Replace ``COLLECTOR_MSI_URL`` and ``FLUENTD_MSI_URL`` with the URLs to the desired MSI packages to install:
126123

127124
.. code-block:: PowerShell
128125
129-
choco install splunk-otel-collector --params="'/SPLUNK_ACCESS_TOKEN:MY_SPLUNK_ACCESS_TOKEN /SPLUNK_REALM:MY_SPLUNK_REALM'"
130-
131-
Learn more about the :new-page:`package parameters <https://github.com/signalfx/splunk-otel-collector/blob/main/docs/getting-started/windows-manual.md#package-parameters>` in GitHub.
132-
133-
.. _install-windows-msi-modify-default:
134-
135-
Modify the default configuration
136-
==========================================
126+
& {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>"; fluentd_msi_url = "<FLUENTD_MSI_URL>"}; Invoke-Command -ScriptBlock ([scriptblock]::Create(". {$script} $(&{$args} @params)"))}
137127
138-
All installation methods offer default configurations using environment variables. Before starting the ``splunk-otel-collector`` service, replace the variables in the default configuration file with the appropriate values for your environment. See :ref:`otel-windows-config` for more information.
128+
.. _windows-chocolatey:
139129

140-
.. include:: /_includes/collector-env-vars.rst
130+
Install using a Chocolatey package
131+
===========================================
141132

142-
.. note:: When configuring additional settings, use service, process, or terminal scopes.
133+
A :new-page:`Chocolatey package <https://community.chocolatey.org/packages/splunk-otel-collector>` is available to download, install, and configure the Collector and Fluentd with the following PowerShell command:
143134

144-
Configure proxy settings
145-
----------------------------------
135+
.. code-block:: PowerShell
146136
147-
To configure proxy settings to install and run the OpenTelemetry Collector, see :ref:`configure-proxy-collector`.
137+
choco install splunk-otel-collector --params="'/SPLUNK_ACCESS_TOKEN:MY_SPLUNK_ACCESS_TOKEN /SPLUNK_REALM:MY_SPLUNK_REALM'"
148138
149139
Next steps
150140
==================================

gdi/opentelemetry/collector-windows/install-windows-tools.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ forwarding for all data types. You can install it using the following deployment
2020
* :ref:`windows-nomad`
2121
* :ref:`windows-puppet`
2222

23+
.. note::
24+
25+
The Splunk Distribution of the OpenTelemetry Collector comes with a default configuration, as detailed in :ref:`windows-config-ootb`. To modify this configuration, refer to :ref:`otel-windows-config`.
26+
27+
To learn how to obtain logs, see :ref:`windows-config-logs`.
28+
2329
Alternatively, you can also install the Collector for Windows:
2430

2531
* Using the installer script. See :ref:`otel-install-windows`.

gdi/opentelemetry/collector-windows/install-windows.rst

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ Install the Collector for Windows with the installer script
1414
The Splunk Distribution of the OpenTelemetry Collector for Windows is a package that provides integrated collection and
1515
forwarding for all data types. Read on to see how to install it using the installer script.
1616

17-
.. note:: The Collector comes with a default configuration. To learn more, see :ref:`windows-config-ootb`.
17+
.. note::
18+
19+
The Splunk Distribution of the OpenTelemetry Collector comes with a default configuration, as detailed in :ref:`windows-config-ootb`. To modify this configuration, refer to :ref:`otel-windows-config`.
20+
21+
To learn how to obtain logs, see :ref:`windows-config-logs`.
1822

1923
Alternatively, you can also install the Collector for Windows:
2024

@@ -163,15 +167,6 @@ The Windows installer script supports the following options:
163167
- Specify public MSI properties to be used when installing the Splunk OpenTelemetry Collector MSI package.
164168
-
165169

166-
.. _otel-install-windows-modify:
167-
168-
Modify the default configuration
169-
=========================================
170-
171-
The Splunk Distribution of the OpenTelemetry Collector comes with a default configuration, as detailed in :ref:`windows-config-ootb`. This configuration can be modified as needed. See :ref:`otel-windows-config` for more information.
172-
173-
For more information about the Collector's environment variables, see :ref:`collector-env-var`.
174-
175170
Next steps
176171
==================================
177172

gdi/opentelemetry/collector-windows/windows-config.rst

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ Advanced configuration for Windows
99

1010
The Collector comes with a default configuration. To learn more, see :ref:`windows-config-ootb`.
1111

12-
Configuration variables
13-
==========================================
12+
.. _windows-config-change-default:
13+
14+
Change the default configuration file for the Collector for Windows
15+
==============================================================================
16+
17+
All installation methods offer default configurations using environment variables. Before starting the ``splunk-otel-collector`` service, replace the variables in the default configuration file with the appropriate values for your environment.
1418

1519
.. include:: /_includes/collector-env-vars.rst
1620

17-
Change the default configuration file
18-
==========================================
21+
.. note:: When configuring additional settings, use service, process, or terminal scopes.
1922

20-
Before starting the ``splunk-otel-collector`` service, change the variables in the default configuration file to the appropriate values for your environment. Based on the specified installation parameters, the environment variables are saved to the ``HKLM:\SYSTEM\CurrentControlSet\Services\splunk-otel-collector`` registry key and set on the ``Environment`` entry.
23+
Based on the specified installation parameters, the environment variables are saved to the ``HKLM:\SYSTEM\CurrentControlSet\Services\splunk-otel-collector`` registry key and set on the ``Environment`` entry.
2124

2225
To modify any of the configuration values, run ``regedit`` and browse to the path.
2326

@@ -40,31 +43,25 @@ Configure proxy settings
4043

4144
To configure proxy settings to install and run the OpenTelemetry Collector, see :ref:`configure-proxy-collector`.
4245

43-
Custom MSI URLs
44-
----------------------------------
45-
46-
By default, the Collector MSI is downloaded from :new-page:`https://dl.signalfx.com <https://dl.signalfx.com>` and
47-
the Fluentd MSI is downloaded from :new-page:`https://packages.treasuredata.com <https://packages.treasuredata.com>`.
48-
49-
To specify custom URLs for these downloads, use the ``collector_msi_url`` and ``fluentd_msi_url`` options. Replace ``COLLECTOR_MSI_URL`` and ``FLUENTD_MSI_URL`` with the URLs to the desired MSI packages to install:
46+
.. _windows-config-logs:
5047

51-
.. code-block:: PowerShell
48+
Configure log collection for the Collector for Windows
49+
====================================================================
5250

53-
& {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>"; fluentd_msi_url = "<FLUENTD_MSI_URL>"}; Invoke-Command -ScriptBlock ([scriptblock]::Create(". {$script} $(&{$args} @params)"))}
51+
For Windows environments (physical hosts and virtual machines), use the Universal Forwarder to send logs to the Splunk platform. See more at :ref:`collector-with-the-uf`.
5452

5553
.. _fluentd-manual-config-windows:
5654

5755
Configure Fluentd for log collection
58-
====================================================================
56+
--------------------------------------------------------------------
5957

60-
If you have a Log Observer entitlement or wish to collect logs for the target host with Fluentd, use the ``with_fluentd = 1`` option to also install Fluentd when installing the Collector. For example:
58+
If you have a Log Observer entitlement or wish to collect logs for the target host with Fluentd, use the ``with_fluentd = 1`` option to install and enable Fluentd when installing the Collector. For example:
6159

6260
.. code-block:: PowerShell
6361
6462
& {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>"; with_fluentd = 1}; Invoke-Command -ScriptBlock ([scriptblock]::Create(". {$script} $(&{$args} @params)"))}
6563
66-
When activated, the Fluentd service is configured by default to collect and forward log events with the ``@SPLUNK`` label to the Collector, which then
67-
send these events to the HEC ingest endpoint determined by the ``realm = "<SPLUNK_REALM>"`` option.
64+
When activated, the Fluentd service is configured by default to collect and forward log events with the ``@SPLUNK`` label to the Collector, which then send these events to the HEC ingest endpoint determined by the ``realm = "<SPLUNK_REALM>"`` option.
6865
For example, ``https://ingest.<SPLUNK_REALM>.signalfx.com/v1/log``.
6966

7067
To configure the package to send log events to a custom HTTP Event Collector (HEC) endpoint URL with a token different than ``<SPLUNK_ACCESS_TOKEN>``, you can specify the following parameters for the installer script:

gdi/opentelemetry/opentelemetry.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ Learn more about the Splunk Observability Cloud data model at :ref:`data-model`.
3737

3838
.. include:: /_includes/collector-works.rst
3939

40-
Learn more at :ref:`otel-understand-use`.
41-
4240
.. raw:: html
4341

4442
<embed>
@@ -199,16 +197,15 @@ The Collector also offers a :ref:`zPages extension <zpages-extension>`, which pr
199197
<h2>Available features for the Collector<a name="otel-using" class="headerlink" href="#otel-using" title="Permalink to this headline">¶</a></h2>
200198
</embed>
201199

202-
See the features available for the Collector:
200+
After installing the Collector, read :ref:`otel-understand-use`.
203201

204202
* See how to perform common actions and tasks with the Collector at :ref:`collector-how-to`. For example, learn how to :ref:`collector-remove-data` to strip data out of your telemetry, including PII.
205-
* Learn about automatic discovery and configuration (formerly zero configuration auto instrumentation) to detect telemetry data. See :ref:`discovery_mode`.
206-
* Activate automatic discovery so that the Collector can automatically grab traces from your application, and add metrics for certain types of calls. See :ref:`discovery_mode`.
203+
* Learn about automatic discovery and configuration (formerly zero configuration auto instrumentation) to detect telemetry data. Automatic discovery allows the Collector to automatically grab traces from your application, and add metrics for certain types of calls. See :ref:`discovery_mode`.
207204

208-
For more information:
205+
For more information see also:
209206

210207
- :ref:`otel-troubleshooting`. Try these troubleshooting techniques and learn how to open a support request.
211-
- Read :ref:`otel-collector-scenario`.
208+
- :ref:`otel-collector-scenario`.
212209

213210
.. _otel-intro-enterprise:
214211

0 commit comments

Comments
 (0)