You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature is in Beta. To participate, contact your Sumo Logic account executive.
16
-
17
9
The Sumo Logic Distribution for OpenTelemetry Collector simplifies remote management of data collection, allowing setup from the Sumo Logic UI and deployment to multiple collectors.
18
10
19
-
## Remote Management features
20
-
21
-
### Collector tags
22
-
23
-
With remote management, you can tag your [OpenTelemetry Collectors](/docs/send-data/opentelemetry-collector) to categorize and group them. These tags are also enriched in your data, enabling you to use them in your dashboards and searches.
24
-
25
-
### Source templates
26
-
27
-
Remote management data configuration for OpenTelemetry collectors is handled using Source templates. This feature extends the [Installed Collector Source](/docs/send-data/installed-collectors/sources) template, allowing association with multiple collectors.
28
-
29
-
Use collector tags to group collectors and associate Source templates to these groups, reducing redundancy in data collection setup. This process, known as *Collector Linking*, streamlines configuration management.
30
-
31
-
## How it works
32
-
33
-
To illustrate the setup and configuration process, let's walk through an example scenario where you'd need to monitor Apache error logs from 50 Linux servers.
34
-
35
-
### Step 1: Install collectors
36
-
37
-
First, you'll need to install the OpenTelemetry collectors on each of the 50 servers and tag them to indicate that they are running Apache.
38
-
39
-
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**.
40
-
1. Click **Add Collector**.
41
-
1. In the **Set up Collector** step, choose **Linux** as the platform.<br/><img src={useBaseUrl('img/send-data/linux-install.png')} alt="linux-install" style={{border: '1px solid gray'}} width="800"/>
42
-
1. Enter your **Installation Token**.
43
-
1. Under **Tag data on Collector level**, add a new tag, `“application = Apache”`.
44
-
1. Leave the **Collector Settings** at their default values.
45
-
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.<br/><img src={useBaseUrl('img/send-data/linux-terminal-installation.png')} alt="linux-terminal-installation" width="800"/>
46
-
1. After installation is complete, click **Next** to proceed.
47
-
1. On the next screen, you will see a list of available Source Templates. Select the **Apache Source Template** to apply the source template to start collecting logs from all linked collectors.
48
-
49
-
To revisit this screen later, 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**. [**New UI**](/docs/get-started/sumo-logic-ui). In the Sumo Logic top menu select **Configuration**, and then under **Data Collection** select **Source Template**).
50
-
51
-
### Step 2: Configure data collection
52
-
53
-
Next, you'll create a data collection configuration to gather Apache error logs and link it to all collectors tagged `"application = Apache"`.
54
-
55
-
1. Complete the Source Template form with the **Name** and **File Path** for your error logs, then click **Next**.
56
-
1. Under **Link Collectors**, add the tag `"application = Apache"`.<br/><img src={useBaseUrl('img/send-data/local-file-apache.png')} alt="local-file-apache" width="300"/>
57
-
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 gray'}} width="800"/>
58
-
1. Click **Next** to complete Source Template creation. The system will apply the configuration to all linked collectors and start collecting Apache error logs.
59
-
60
-
### Step 3: Monitor logs
61
-
62
-
After configuring data collection, you can monitor the collected Apache error logs using the [Log Search](/docs/search). Additionally, use our [Dashboards](/docs/dashboards) to analyze the logs and gain insights from your Apache servers.
11
+
In this section, we'll introduce the following concepts:
The Sumo Logic Distribution for OpenTelemetry Collector simplifies remote management of data collection, allowing setup from the Sumo Logic UI and deployment to multiple collectors.
10
+
11
+
## Remote Management features
12
+
13
+
### Collector tags
14
+
15
+
With remote management, you can tag your [OpenTelemetry Collectors](/docs/send-data/opentelemetry-collector) to categorize and group them. These tags are also enriched in your data, enabling you to use them in your dashboards and searches.
16
+
17
+
### Source templates
18
+
19
+
Remote management data configuration for OpenTelemetry collectors is handled using Source templates. This feature extends the [Installed Collector Source](/docs/send-data/installed-collectors/sources) template, allowing association with multiple collectors.
20
+
21
+
Use collector tags to group collectors and associate Source templates to these groups, reducing redundancy in data collection setup. This process, known as *Collector Linking*, streamlines configuration management.
22
+
23
+
## How it works
24
+
25
+
To illustrate the setup and configuration process, let's walk through an example scenario where you'd need to monitor Apache error logs from 50 Linux servers.
26
+
27
+
### Step 1: Install collectors
28
+
29
+
First, you'll need to install the OpenTelemetry collectors on each of the 50 servers and tag them to indicate that they are running Apache.
30
+
31
+
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**.
32
+
1. Click **Add Collector**.
33
+
1. In the **Set up Collector** step, choose **Linux** as the platform.<br/><img src={useBaseUrl('img/send-data/linux-install.png')} alt="linux-install" style={{border: '1px solid gray'}} width="800"/>
34
+
1. Enter your **Installation Token**.
35
+
1. Under **Tag data on Collector level**, add a new tag, `“application = Apache”`.
36
+
1. Leave the **Collector Settings** at their default values.
37
+
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.<br/><img src={useBaseUrl('img/send-data/linux-terminal-installation.png')} alt="linux-terminal-installation" width="800"/>
38
+
1. After installation is complete, click **Next** to proceed.
39
+
1. On the next screen, you will see a list of available Source Templates. Select the **Apache Source Template** to apply the source template to start collecting logs from all linked collectors.
40
+
41
+
To revisit this screen later, 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**. [**New UI**](/docs/get-started/sumo-logic-ui). In the Sumo Logic top menu select **Configuration**, and then under **Data Collection** select **Source Template**).
42
+
43
+
### Step 2: Configure data collection
44
+
45
+
Next, you'll create a data collection configuration to gather Apache error logs and link it to all collectors tagged `"application = Apache"`.
46
+
47
+
1. Complete the Source Template form with the **Name** and **File Path** for your error logs, then click **Next**.
48
+
1. Under **Link Collectors**, add the tag `"application = Apache"`.<br/><img src={useBaseUrl('img/send-data/local-file-apache.png')} alt="local-file-apache" width="300"/>
49
+
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 gray'}} width="800"/>
50
+
1. Click **Next** to complete Source Template creation. The system will apply the configuration to all linked collectors and start collecting Apache error logs.
51
+
52
+
### Step 3: Monitor logs
53
+
54
+
After configuring data collection, you can monitor the collected Apache error logs using the [Log Search](/docs/search). Additionally, use our [Dashboards](/docs/dashboards) to analyze the logs and gain insights from your Apache servers.
Copy file name to clipboardExpand all lines: docs/send-data/opentelemetry-collector/remote-management/processing-rules/include-and-exclude-rules.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
---
2
2
id: include-and-exclude-rules
3
-
title: Include and Exclude Rules for OpenTelemetry (Beta)
3
+
title: Include and Exclude Rules for OpenTelemetry
4
+
sidebar_label: Include and Exclude Rules
4
5
description: Use include and exclude processing rules to specify what kind of data is sent to Sumo Logic using OpenTelemetry Collector.
5
6
---
6
7
@@ -12,7 +13,7 @@ description: Use include and exclude processing rules to specify what kind of da
12
13
13
14
import useBaseUrl from '@docusaurus/useBaseUrl';
14
15
15
-
You can use include and exclude processing rules to specify what data is sent to Sumo Logic using OpenTelemetry Collector. Internally these will use [filter processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/filterprocessor) to get the data filtered.
16
+
You can use include and exclude processing rules to specify what data is sent to Sumo Logic using OpenTelemetry Collector. Internally these will use [filter processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/filterprocessor) to get the data filtered.
16
17
17
18
* An exclude rule functions as a denylist filter where the matching data is not sent to Sumo Logic.
18
19
* An include rule functions as an allowlist filter where only matching data is sent to Sumo Logic.
Copy file name to clipboardExpand all lines: docs/send-data/opentelemetry-collector/remote-management/processing-rules/mask-rules-windows.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
id: mask-rules-windows
3
-
title: Mask Rules for Windows Source Template (Beta)
3
+
title: Mask Rules for the Windows Source Template
4
4
sidebar_label: Mask Rules for Windows
5
5
description: Create a mask rule to replace an expression with a mask string.
6
6
---
@@ -142,7 +142,7 @@ Using the above masking options would provide the following result:
142
142
}
143
143
```
144
144
145
-
:::note
145
+
:::note
146
146
- For masking, we use the [replace_pattern](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/pkg/ottl/ottlfuncs/README.md#replace_pattern) OTTL function. In this function:
147
147
- $ must be escaped as $$ to bypass environment variable substitution logic.
Copy file name to clipboardExpand all lines: docs/send-data/opentelemetry-collector/remote-management/processing-rules/mask-rules.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
---
2
2
id: mask-rules
3
-
title: Mask Rules (Beta)
4
-
sidebar_label: Mask Rules
3
+
title: Mask Rules
5
4
description: Create a mask rule to replace an expression with a mask string.
6
5
---
7
6
<head>
@@ -56,8 +55,8 @@ Using the masking string `auth=User:AAA` would provide the following result:
56
55
```
57
56
"auth"\s*:\s*"Basic\s*[^"]+"
58
57
```
59
-
60
-
If the masking string given here is `"auth":"#####"`, then the log output will be:
58
+
59
+
If the masking string given here is `"auth":"#####"`, then the log output will be:
61
60
62
61
```
63
62
{
@@ -82,7 +81,7 @@ Using the masking string `auth=User:AAA` would provide the following result:
82
81
auth=User\:(.*(?s).*session=.*?)\]
83
82
```
84
83
85
-
:::note
84
+
:::note
86
85
- For masking, we use the [replace_pattern](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/pkg/ottl/ottlfuncs/README.md#replace_pattern) OTTL function. In this function:
87
86
- $ must be escaped as $$ to bypass environment variable substitution logic.
Copy file name to clipboardExpand all lines: docs/send-data/opentelemetry-collector/remote-management/processing-rules/metrics-include-and-exclude-rules.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
---
2
2
id: metrics-include-and-exclude-rules
3
-
title: Metrics Include and Exclude Rules for OpenTelemetry (Beta)
3
+
title: Metrics Include and Exclude Rules for OpenTelemetry
4
+
sidebar_label: Metrics Include and Exclude Rules
4
5
description: You can use metrics processing rules to specify what metrics are sent to Sumo Logic using OpenTelemetry Collector.
5
6
---
6
7
<head>
@@ -11,7 +12,7 @@ description: You can use metrics processing rules to specify what metrics are se
11
12
12
13
import useBaseUrl from '@docusaurus/useBaseUrl';
13
14
14
-
You can use include and exclude processing rules to specify what metrics is sent to Sumo Logic using OpenTelemetry Collector. Internally these will use [filter processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/filterprocessor) to get the metrics filtered.
15
+
You can use include and exclude processing rules to specify what metrics is sent to Sumo Logic using OpenTelemetry Collector. Internally these will use [filter processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/filterprocessor) to get the metrics filtered.
15
16
16
17
* An exclude rule functions as a denylist filter where all data is sent except matching data to Sumo Logic.
17
18
* An include rule functions as an allowlist filter where only matching data is sent to Sumo Logic.
@@ -23,32 +24,32 @@ As a best practice, specify these rules to match the lesser volume of data.
23
24
24
25
## Metric filter examples
25
26
26
-
For filtering metrics data in source template you can add a metrics filter to the source template. You can then provide the name of the filter followed by **Type** (filter to include or exclude) and **Filter by**.
27
+
For filtering metrics data in source template you can add a metrics filter to the source template. You can then provide the name of the filter followed by **Type** (filter to include or exclude) and **Filter by**.
27
28
28
-
There are three ways to use metrics filter in source template:
29
+
There are three ways to use metrics filter in source template:
29
30
* Filter by metrics name
30
31
* Filter by dimension
31
32
* Filter by metrics name and dimension
32
33
33
34
### Filter by metrics name
34
35
35
-
If you need to filter by name of the metrics, then you can select this option and provide the regex which matched with the metric name.
36
+
If you need to filter by name of the metrics, then you can select this option and provide the regex which matched with the metric name.
36
37
37
-
For example when collecting host metrics, if you need to collect only network metrics, then you can give `network` in the metric name.
38
+
For example when collecting host metrics, if you need to collect only network metrics, then you can give `network` in the metric name.
If you need to filter by dimension of the metrics, then you can select this option and provide the list of keys and values in the dimension table. Key needs to be the exact dimension name and value can be a regex which matches against the value for the key given. All of these key value pairs will have the `AND` condition between them.
44
+
If you need to filter by dimension of the metrics, then you can select this option and provide the list of keys and values in the dimension table. Key needs to be the exact dimension name and value can be a regex which matches against the value for the key given. All of these key value pairs will have the `AND` condition between them.
44
45
45
46
For example, when collecting host metrics you can filter CPU metrics data for a specific CPU (say `cpu0`), and you can mention the respective key value pair in the dimension table.
If you need to filter by metrics name and dimension, then you can select this option and provide the metric name regex and dimension key and value. Key needs to be the exact dimension name and value can be a regex which matches against the value for the key given. All inputs here (that is, metric name) and all key value pairs will have the `AND` condition between them.
52
+
If you need to filter by metrics name and dimension, then you can select this option and provide the metric name regex and dimension key and value. Key needs to be the exact dimension name and value can be a regex which matches against the value for the key given. All inputs here (that is, metric name) and all key value pairs will have the `AND` condition between them.
52
53
53
54
For example, when collecting host metrics, you can filter network metrics for a specific device and direction by giving metric name regex as `network`, and in the dimension table key value pair you can specify `device=lo` and `direction=transmit`.
This feature is in Beta. To participate, contact your Sumo Logic account executive.
15
-
16
8
Source templates in Sumo Logic provide efficient, scalable data collection management by applying consistent setups across multiple collectors. They reduce redundancy and simplify configuration, making it easier to manage and scale your data collection efforts.
0 commit comments