Skip to content

Commit 79848bb

Browse files
kimsaucejpipkin1JV0812
authored
OTEL Remote Management GA (#4875)
* OTEL Remote Management GA * release note * Edits to release note & doc * Processing rule edits * Update docs/send-data/opentelemetry-collector/remote-management/processing-rules/include-and-exclude-rules.md * edits * Update docs/send-data/opentelemetry-collector/remote-management/processing-rules/include-and-exclude-rules.md * Update docs/send-data/opentelemetry-collector/remote-management/overview.md Co-authored-by: John Pipkin (Sumo Logic) <[email protected]> * Update docs/send-data/opentelemetry-collector/remote-management/overview.md Co-authored-by: John Pipkin (Sumo Logic) <[email protected]> * More edits * Update docs/send-data/opentelemetry-collector/remote-management/index.md * Update docs/send-data/opentelemetry-collector/remote-management/processing-rules/index.md * more edits * Update docs/send-data/opentelemetry-collector/remote-management/remote-management-v2.md * Update docs/send-data/opentelemetry-collector/remote-management/remote-management-v2.md * edits for consistency * Update macos.md * Update linux.md * Update windows.md * Update linux.md * Update macos.md * Update puppet.md * Update windows.md * last edits * link fix * link fix * Update blog-service/2025-01-06-otel-remote-management.md * Add/Edit/Delete collector tag info added (#4841) * Updates * broken anchor * links * Update docs/send-data/opentelemetry-collector/remote-management/source-templates/manage-source-templates.md * swap screenshots * Consolidating docs * last edits * link fix * links * last fixes --------- Co-authored-by: John Pipkin (Sumo Logic) <[email protected]> Co-authored-by: Jagadisha V <[email protected]>
1 parent 53092d7 commit 79848bb

33 files changed

+706
-724
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Remote Management for OpenTelemetry Collector (Collection)
3+
image: https://help.sumologic.com/img/sumo-square.png
4+
keywords:
5+
- collection
6+
- opentelemetry
7+
- otel
8+
- remote-management
9+
hide_table_of_contents: true
10+
---
11+
12+
import useBaseUrl from '@docusaurus/useBaseUrl';
13+
14+
<a href="https://help.sumologic.com/release-notes-service/rss.xml"><img src={useBaseUrl('img/release-notes/rss-orange2.png')} alt="icon" width="50"/></a>
15+
16+
The Sumo Logic Distribution for OpenTelemetry Collector now supports remote management, enabling you to configure and manage data collection directly from the Sumo Logic UI. With this feature, you can:
17+
18+
* **Simplify configuration**. Set up and manage data collection for multiple collectors without server access.
19+
* **Streamline workflows**. Use tags to group collectors and apply centralized data source templates, reducing redundancy and manual effort.
20+
* **Enhance automation**. Automatically monitor new servers by tagging them during setup.
21+
* **Accelerate time to value**. Start collecting data in minutes with an intuitive UI and no need to manage configuration files.
22+
23+
This release provides a faster, more efficient way to manage large-scale data collection, supporting scalable and automated operations. [Learn more](/docs/send-data/opentelemetry-collector/remote-management).

cid-redirects.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2674,7 +2674,7 @@
26742674
"/cid/9008": "/docs/alerts/webhook-connections/new-relic",
26752675
"/cid/10333": "/docs/send-data/opentelemetry-collector/remote-management/processing-rules",
26762676
"/cid/10334": "/docs/send-data/opentelemetry-collector/remote-management/processing-rules/include-and-exclude-rules",
2677-
"/cid/10335": "/docs/send-data/opentelemetry-collector/remote-management/processing-rules/metrics-include-and-exclude-rules",
2677+
"/cid/10335": "/docs/send-data/opentelemetry-collector/remote-management/processing-rules/include-and-exclude-rules",
26782678
"/cid/10336": "/docs/send-data/opentelemetry-collector/remote-management/processing-rules/mask-rules",
26792679
"/cid/9010": "/docs/send-data/opentelemetry-collector",
26802680
"/cid/9011": "/docs/send-data/opentelemetry-collector/install-collector/linux",
Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
import useBaseUrl from '@docusaurus/useBaseUrl';
1+
In this step, we'll install the collector and add a uniquely identifiable tag to these collectors.
22

3-
In this step, we will install the collector and add a uniquely identifiable tag to these collectors.
3+
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data > Collection > OpenTelemetry Collection**.<br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the Sumo Logic top menu select **Configuration**, and then under **Data Collection** select **OpenTelemetry Collection**. You can also click the **Go To...** menu at the top of the screen and select **OpenTelemetry Collection**.
4+
1. On the **OpenTelemetry Collection** page, click **+ Add Collector**.
5+
1. In the **Set up Collector** step:
6+
1. Choose your platform (for example, Linux).
7+
1. Enter your **Installation Token**.
8+
1. Under **Tag data on Collector level**, add a new tag to identify these collectors as having Apache running on them (for example, `application = Apache`).
9+
1. Leave the **Collector Settings** at their default values to configure collectors as remotely managed.
10+
1. Under **Generate and run the command to install the collector**, copy and run the installation command in your system terminal where the collector needs to be installed.
11+
1. After installation is complete, click **Next** to proceed.
12+
1. Select a source template (for example, Apache source template) to start collecting logs from all linked collectors, then proceed with the data configuration.<br/><img src="/img/send-data/source-template.png" alt="source template page" style={{border:'1px solid gray'}} width="90%" />
413

5-
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data > Collection > OpenTelemetry Collection**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the Sumo Logic top menu select **Configuration**, and then under **Data Collection** select **OpenTelemetry Collection**. You can also click the **Go To...** menu at the top of the screen and select **OpenTelemetry Collection**.
6-
1. On the **OpenTelemetry Collection** page, click **Add Collector**.
7-
1. Select the platform of the remote host in the **Set up Collector** section.<br/><img src={useBaseUrl('img/send-data/linux-install.png')} alt="Linux-install" style={{border: '1px solid gray'}} width="800"/>
8-
1. Enter your **Installation Token**.
9-
1. Under **Tag data on Collector level**, add a new key-value pair by clicking **+New tags**, for example, `application = Apache` to identify these collectors as having Apache running on them.
10-
1. For **Collector Settings**, leave it as default.
11-
1. Under **Generate and run the command to install the collector**, copy the command and execute it in your system terminal, where the collector needs to be installed.<br/><img src={useBaseUrl('img/send-data/linux-terminal-installation.png')} alt="Linux-terminal-installation" width="800"/>
12-
1. Wait for the installation process to complete, then click **Next** to proceed.
13-
1. On the next screen, you will see a list of available Source Templates.
14-
15-
:::note
16-
If you close this Source template creation screen, you can navigate back. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data > Collection > Source Template**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the Sumo Logic top menu select **Configuration**, and then under **Data Collection** select **Source Template**. You can also click the **Go To...** menu at the top of the screen and select **Source Template**.
17-
:::
14+
To revisit this screen later: From the [**Classic UI**](/docs/get-started/sumo-logic-ui-classic), select **Manage Data > Collection > Source Template**. From the [**New UI**](/docs/get-started/sumo-logic-ui), select **Configuration** > **Source Template**.
Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,48 @@
1-
import useBaseUrl from '@docusaurus/useBaseUrl';
2-
3-
In this step, we'll create a data collection configuration and link them to all the collectors that have particular tags.
4-
5-
1. Complete the Source Template form by providing the necessary details, then click **Next**.
6-
1. On the **Link Collectors** step, you will have the option to link the collectors using the Collector name or by adding tags to find the group of collectors. For our scenario, we will add the tag `application = Apache`.<br/><img src={useBaseUrl('img/send-data/local-file-apache.png')} alt="local-file-apache" style={{border: '1px solid gray'}} width="300"/>
7-
1. Click **Preview Collector(s)** to see the list of collectors that will be linked to the newly created source template.<br/><img src={useBaseUrl('img/send-data/link-collectors.png')} alt="link-collectors" style={{border: '1px solid grey'}} width="800"/>
8-
1. Click **Next** to complete the Source Template creation. In the background, the system will apply the configuration to all the linked collectors and will start collecting the respective telemetry data from the remote host.
9-
1. Click the **Log Search** or **Metric Search** icon to search for data collected for this Source Template.
1+
:::info
2+
A new source template will always be created with the latest version of the source template.
3+
:::
4+
5+
Follow the below steps to create a data collection configuration to gather the required logs and link them to all the collectors with the help of collector tags.
6+
7+
1. Complete the source template form with the name and file path for your logs (for example, error logs or access logs), then click **Next**.
8+
1. Under **Link Collectors**, you will have the option to link the collectors using the collector name or by adding tags to find the group of collectors (for example, `application = Apache`).<br/><img src="/img/send-data/local-file-apache.png" alt="Screenshot of the file path configuration for Apache logs" style={{border:'1px solid gray'}} width="80%" />
9+
1. Preview and confirm the collectors that will be linked (fetched automatically) to the newly created source template.<br/><img src="/img/send-data/preview-collectors1.png" alt="Screenshot showing the linked collectors preview" style={{border:'1px solid gray'}} width="90%" /><br/><img src="/img/send-data/preview-collectors2.png" alt="Screenshot showing the linked collectors preview" style={{border:'1px solid gray'}} width="90%" />
10+
1. Click **Next** to complete the source template creation. In the background, the system will apply the configuration to all the linked collectors and will start collecting the respective telemetry data from the remote host (in the example, it would start collecting Apache error logs).
11+
1. Click the **Log Search** or **Metrics Search** icons to search for and analyze your data collected for this source template.
12+
13+
<!-- Remove temporarily; not yet released
14+
15+
### Collector tags
16+
17+
#### Add a collector tag
18+
19+
You can add collector tags during OTEL collector setup - as described in the previous section - or after creation:
20+
21+
1. Navigate to the **OpenTelemetry Collection** page.
22+
1. Click on the desired collector where you need to add collector tags.
23+
1. In the right pane, scroll to the **Collector Tags** section and click **Edit**.
24+
1. In the edit window, click **+ Add tags**.
25+
1. Add the required tags and click **Proceed**.
26+
1. A new **Update Collector Tag(s)** window appears. Click the **click here** link to understand the impact of this update.
27+
1. You will be redirected to the **Mapped Source Template** section, which displays the mapped source templates for the collector tags added. This window also displays the **Compatible** and **Incompatible Version** details for the mapped source template for the collector.
28+
1. If there are any incompatible source templates, [upgrade the source template](/docs/send-data/opentelemetry-collector/remote-management/source-templates/manage-source-templates/#upgrade-a-source-template) to ensure compatibility.
29+
1. Once the source template is upgraded and is compatible, enter **PROCEED** and click **Confirm**.
30+
31+
#### Edit or delete a collector tag
32+
33+
:::note
34+
- For default collector tags, you can only edit the **Values**.
35+
- System collector tags like `sumo.disco.enabled` cannot be edited.
36+
:::
37+
38+
To edit or delete a collector tag:
39+
40+
1. Go to the **OpenTelemetry Collection** page.
41+
1. Click on the desired collector where you need to add the collector tags.
42+
1. In the right pane, scroll to the **Collector Tags** section and click **Edit**.
43+
1. Edit or delete the required tags and click **Proceed**.
44+
1. A new **Update Collector Tag(s)** window appears. Click the **click here** button to see the impact of this update.
45+
1. You will be redirected to a **Mapped Source Template** section, which displays the mapped source templates for the edited or deleted collector tags, along with **Compatible** and **Incompatible Version** details.
46+
1. If find you find an incompatible source template, [upgrade the source template](/docs/send-data/opentelemetry-collector/remote-management/source-templates/manage-source-templates/#upgrade-a-source-template).
47+
1. Once the source template is upgraded and is compatible, enter **PROCEED** and click **Confirm**.
48+
-->
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
**Advance options** for log collection can be used as follows :
2-
3-
**Timestamp Format**. By default, Sumo Logic will automatically detect the timestamp format of your logs. However, you can manually specify a timestamp format for a source by specifying the following:
4-
- **Timestamp locator**. This will be a [Go regular expression](https://github.com/google/re2/wiki/Syntax) which should have timestamp matched using a named capture group. Name of this captured group should be “timestamp_field”.
5-
- **Layout**. The exact layout of the timestamp to be parsed for example - %Y-%m-%dT%H:%M:%S.%LZ. To learn more about the rules, [refer here](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/internal/coreinternal/timeutils/internal/ctimefmt/ctimefmt.go#L68).
6-
- **Location (Time zone)** : The geographic location (timezone) to use when parsing a timestamp that does not include a timezone. The available locations depend on the local IANA Time Zone database. [This page](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) contains many examples, such as America/New_York.
1+
**Advance options** for log collection can be used as follows:
2+
* **Timestamp Format**. By default, Sumo Logic will automatically detect the timestamp format of your logs. However, you can manually specify a timestamp format for a source by configuring the following:
3+
- **Timestamp locator**. Use a [Go regular expression](https://github.com/google/re2/wiki/Syntax) to match the timestamp in your logs. Ensure the regular expression includes a named capture group called `timestamp_field`.
4+
- **Layout**. Specify the exact layout of the timestamp to be parsed. For example, `- %Y-%m-%dT%H:%M:%S.%LZ`. To learn more about the formatting rules, refer to [this guide](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/internal/coreinternal/timeutils/internal/ctimefmt/ctimefmt.go#L68).
5+
- **Location (Time zone)**. Define the geographic location (timezone) to use when parsing a timestamp that does not include a timezone. The available locations depend on the local IANA Time Zone database. For example, `America/New_York`. See more examples [here](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).

0 commit comments

Comments
 (0)