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

Commit d0767e1

Browse files
Merge pull request #1584 from splunk/repo-sync
Pulling refs/heads/main into main
2 parents 0e5dacf + 31f4f2b commit d0767e1

File tree

4 files changed

+87
-55
lines changed

4 files changed

+87
-55
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
.. _collector-addon-configure-instance:
2+
.. _collector-addon-mode:
3+
4+
*********************************************************************************************
5+
Configure the deployment mode of your Splunk Add-on Collector instance
6+
*********************************************************************************************
7+
8+
.. meta::
9+
:description: Configure the deployment mode of the Technical Add-on OpenTelemetry Collector instance
10+
11+
.. toctree::
12+
:maxdepth: 5
13+
:hidden:
14+
15+
The OpenTelemetry Collector has different :ref:`deployment modes <otel-deployment-mode>`:
16+
17+
* Host monitoring (agent): This is the default value and the simplest configuration. The Splunk Add-on for the OpenTelemetry Collector, when configured as an agent, sends data to Splunk Observability Cloud.
18+
19+
* Data forwarding (gateway): When configured as a gateway, your Splunk Add-on for the OpenTelemetry Collector collects data from one or more agents before forwarding it to Splunk Observability Cloud.
20+
21+
* As an agent that sends data to a gateway: To use a gateway instance, you create one or more instances of Splunk add-on for the OpenTelemetry Collector as agents that send data to that gateway instance.
22+
23+
.. _collector-addon-mode-agent:
24+
25+
Deploy the Splunk Add-on for the OpenTelemetry Collector as an agent
26+
============================================================================================================================================
27+
28+
As an agent, the OpenTelemetry Collector sends data directly to Splunk Observability Cloud. This is the default configuration. Learn more at :ref:`collector-agent-mode`.
29+
30+
If your instance is not configured as an agent and you want to configure it as an agent, edit your inputs.conf file and update the variable ``Splunk_config`` to reflect your agent configuration file name. You can find this file in your directory at ``/otelcol/config/``. The default file name is ``ta-agent-config.yaml``. If you are using a custom configuration file, provide that file name.
31+
32+
.. _collector-addon-mode-gateway:
33+
34+
Deploy the Splunk Add-on for the OpenTelemetry Collector as a gateway
35+
============================================================================================================================================
36+
37+
If deployed as a gateway, the Collector instance can collect data from one or more Collector instances deployed as agents. The gateway instance then sends that data to Splunk Observability Cloud. Learn more at :ref:`collector-gateway-mode`.
38+
39+
To configure your Splunk Add-on for OpenTelemetry Collector as a gateway:
40+
41+
#. Edit your inputs.conf file to update the variable ``Splunk_config`` with your gateway configuration file name. You can find this file in your directory at ``/otelcol/config/``. The default file name for the gateway file is ``ta-gateway-config.yaml``. If you are using a custom configuration file, provide that file name.
42+
43+
#. Set the ``splunk_listen_interface`` value to ``0.0.0.0`` or to the specific IP address that sends data to this gateway in ``local/inputs.conf``.
44+
45+
.. caution:: You must also configure one or more Collector instances as agents that send data to your new gateway.
46+
47+
.. _collector-addon-mode-send:
48+
49+
Configure Splunk Add-on for OpenTelemetry Collector as an agent that sends data to a gateway
50+
============================================================================================================================================
51+
52+
You can set up one or more Collector instances as agents that send data to another instance that is set up as a gateway. See more at :ref:`collector-agent-to-gateway`.
53+
54+
To do this configure an instance that works as a gateway, and then one or more instances that operate as agents:
55+
56+
#. Create your gateway, if you have not already done so. See :ref:`collector-addon-mode-gateway` for more information.
57+
58+
#. Edit your inputs.conf file to update the variable ``Splunk_config`` to reflect your gateway configuration file name. You can find the default configuration file in your directory at ``/otelcol/config/``. The default file name for this configuration file is ``ta-agent-to-gateway-config.yaml``. If you are using a custom configuration file, provide that file name.
59+
60+
#. In the README directory, open ``inputs.conf.spec`` and copy the attribute for the ``splunk_gateway_url``.
61+
62+
#. Paste this value into ``ta-agent-to-gateway-config.yaml`` and then update the value for this setting with the gateway IP address.

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

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install the Technical Add-on for the Splunk OpenTelemetry Collector
1111
:maxdepth: 5
1212
:hidden:
1313

14-
You can install the Splunk Add-on for the OpenTelemetry Collector to a :ref:`single <collector-addon-install-uf>` or to :ref:`multiple <collector-addon-install-server>` universal forwarder instances.
14+
You can download the Splunk Add-on for the OpenTelemetry Collector from :new-page:`Splunkbase <https://splunkbase.splunk.com/app/7125>` and install it to a :ref:`single <collector-addon-install-uf>` or to :ref:`multiple <collector-addon-install-server>` universal forwarder instances.
1515

1616
The following applies:
1717

@@ -94,56 +94,3 @@ Follow these steps to install the Splunk Add-on for the OpenTelemetry Collector
9494

9595
#. In :guilabel:`Splunk Infrastructure Monitoring`, navigate to the host where you deployed the Splunk Add-on for the OpenTelemetry Collector and select it to explore its metrics and status. For more information, see :ref:`use-navigators-imm`.
9696

97-
.. _collector-addon-mode:
98-
99-
Configure the deployment mode of your Splunk Add-on Collector instance
100-
============================================================================================================================================
101-
102-
The OpenTelemetry Collector has different :ref:`deployment modes <otel-deployment-mode>`:
103-
104-
* Host monitoring (agent): This is the default value and the simplest configuration. The Splunk Add-on for the OpenTelemetry Collector, when configured as an agent, sends data to Splunk Observability Cloud.
105-
106-
* Data forwarding (gateway): When configured as a gateway, your Splunk Add-on for the OpenTelemetry Collector collects data from one or more agents before forwarding it to Splunk Observability Cloud.
107-
108-
* As an agent that sends data to a gateway: To use a gateway instance, you create one or more instances of Splunk add-on for the OpenTelemetry Collector as agents that send data to that gateway instance.
109-
110-
.. _collector-addon-mode-agent:
111-
112-
Deploy the Splunk Add-on for the OpenTelemetry Collector as an agent
113-
------------------------------------------------------------------------------------------------------------------------
114-
115-
As an agent, the OpenTelemetry Collector sends data directly to Splunk Observability Cloud. This is the default configuration. Learn more at :ref:`collector-agent-mode`.
116-
117-
If your instance is not configured as an agent and you want to configure it as an agent, edit your inputs.conf file and update the variable ``Splunk_config`` to reflect your agent configuration file name. You can find this file in your directory at ``/otelcol/config/``. The default file name is ``ta-agent-config.yaml``. If you are using a custom configuration file, provide that file name.
118-
119-
.. _collector-addon-mode-gateway:
120-
121-
Deploy the Splunk Add-on for the OpenTelemetry Collector as a gateway
122-
------------------------------------------------------------------------------------------------------------------------
123-
124-
If deployed as a gateway, the Collector instance can collect data from one or more Collector instances deployed as agents. The gateway instance then sends that data to Splunk Observability Cloud. Learn more at :ref:`collector-gateway-mode`.
125-
126-
To configure your Splunk Add-on for OpenTelemetry Collector as a gateway:
127-
128-
#. Edit your inputs.conf file to update the variable ``Splunk_config`` with your gateway configuration file name. You can find this file in your directory at ``/otelcol/config/``. The default file name for the gateway file is ``ta-gateway-config.yaml``. If you are using a custom configuration file, provide that file name.
129-
130-
#. Set the ``splunk_listen_interface`` value to ``0.0.0.0`` or to the specific IP address that sends data to this gateway in ``local/inputs.conf``.
131-
132-
.. caution:: You must also configure one or more Collector instances as agents that send data to your new gateway.
133-
134-
.. _collector-addon-mode-send:
135-
136-
Configure Splunk Add-on for OpenTelemetry Collector as an agent that sends data to a gateway
137-
------------------------------------------------------------------------------------------------------------------------
138-
139-
You can set up one or more Collector instances as agents that send data to another instance that is set up as a gateway. See more at :ref:`collector-agent-to-gateway`.
140-
141-
To do this configure an instance that works as a gateway, and then one or more instances that operate as agents:
142-
143-
#. Create your gateway, if you have not already done so. See :ref:`collector-addon-mode-gateway` for more information.
144-
145-
#. Edit your inputs.conf file to update the variable ``Splunk_config`` to reflect your gateway configuration file name. You can find the default configuration file in your directory at ``/otelcol/config/``. The default file name for this configuration file is ``ta-agent-to-gateway-config.yaml``. If you are using a custom configuration file, provide that file name.
146-
147-
#. In the README directory, open ``inputs.conf.spec`` and copy the attribute for the ``splunk_gateway_url``.
148-
149-
#. Paste this value into ``ta-agent-to-gateway-config.yaml`` and then update the value for this setting with the gateway IP address.

gdi/opentelemetry/collector-addon/collector-addon-intro.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ Splunk Add-On for the OpenTelemetry Collector
1212
:hidden:
1313

1414
Install the Technical Add-on <collector-addon-install.rst>
15+
Deployment modes <collector-addon-configure-instance.rst>
1516
Configure the Technical Add-on <collector-addon-configure.rst>
17+
Upgrade the Technical Add-on <collector-addon-upgrade.rst>
1618
Troubleshooting <collector-addon-troubleshooting.rst>
1719

18-
Use the Splunk Add-on for the OpenTelemetry Collector to collect traces and metrics for Splunk Observability Cloud.
20+
Use the Splunk Add-on for the OpenTelemetry Collector to collect traces and metrics with Splunk Observability Cloud.
1921

2022
You have two ways to install and configure the Splunk Add-on for the OpenTelemetry Collector:
2123

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _collector-addon-upgrade:
2+
3+
*********************************************************************************************
4+
Upgrade the Technical Add-on for the Splunk OpenTelemetry Collector
5+
*********************************************************************************************
6+
7+
.. meta::
8+
:description: Upgrade the Technical Add-on for the Splunk Distribution of the OpenTelemetry Collector.
9+
10+
.. toctree::
11+
:maxdepth: 5
12+
:hidden:
13+
14+
To upgrade the Technical Add-on for the Splunk Distribution of the OpenTelemetry Collector using a deployment server follow these steps:
15+
16+
#. Download the upgraded version of the Splunk Add-on for the OpenTelemetry Collector from Splunkbase. See :new-page:`Splunkbase's Splunk Add-on for the OpenTelemetry Collector <https://splunkbase.splunk.com/app/7125>`.
17+
#. Expand your downloaded file.
18+
#. Copy the expanded Splunk_TA_otel/ folder to the :guilabel:`SPLUNK_HOME > etc > deployment apps` directory.
19+
#. Restart the deployment server.
20+
21+

0 commit comments

Comments
 (0)