|
| 1 | +--- |
| 2 | +slug: /send-data/opentelemetry-collector/remote-management/source-templates/customyaml |
| 3 | +title: Custom YAML Source Template |
| 4 | +sidebar_label: Custom YAML |
| 5 | +description: Learn about the Sumo Logic Custom YAML source template for OpenTelemetry. |
| 6 | +--- |
| 7 | + |
| 8 | +<head> |
| 9 | + <meta name="robots" content="noindex" /> |
| 10 | +</head> |
| 11 | + |
| 12 | +<p><a href={useBaseUrl('docs/beta')}><span className="beta">Beta</span></a></p> |
| 13 | + |
| 14 | +import useBaseUrl from '@docusaurus/useBaseUrl'; |
| 15 | +import Tabs from '@theme/Tabs'; |
| 16 | +import TabItem from '@theme/TabItem'; |
| 17 | + |
| 18 | + |
| 19 | +The Custom YAML source template creates an OpenTelemetry configuration based on a provided OpenTelemetry config YAML, that can be pushed to a remotely managed OpenTelemetry collector (abbreviated as otelcol). It lets you directly define and manage collector configurations in YAML format for more flexibility. By creating this source template and pushing the config to the appropriate OpenTelemetry agent, you can collect telemetry data to send to Sumo Logic. |
| 20 | + |
| 21 | +:::note |
| 22 | +This source template works with sumo remotely managed OpenTelemetry collector version >= 0.136.0 |
| 23 | +::: |
| 24 | + |
| 25 | +## Configuring the source template |
| 26 | + |
| 27 | +Follow these steps to set up and deploy the source template to a remotely managed OpenTelemetry collector. |
| 28 | + |
| 29 | +### Step 1: Set up remotely managed OpenTelemetry collector |
| 30 | + |
| 31 | +import CollectorInstallation from '../../../../../reuse/apps/opentelemetry/collector-installation.md'; |
| 32 | + |
| 33 | +<CollectorInstallation/> |
| 34 | + |
| 35 | +### Step 2: Configure the source template |
| 36 | + |
| 37 | +In this step, you will configure the YAML required for Apache Collection. Below are the inputs required for configuration: |
| 38 | + |
| 39 | +- **Name**. Name of the source template. |
| 40 | +- **Description**. Description for the source template. |
| 41 | +- **YAML Configuration**. You can directly provide your OpenTelemetry configurations in YAML format. |
| 42 | + |
| 43 | +### Step 3: Push the source template to the desired remotely managed collectors |
| 44 | + |
| 45 | +import DataConfiguration from '../../../../../reuse/apps/opentelemetry/data-configuration.md'; |
| 46 | + |
| 47 | +<DataConfiguration/> |
| 48 | + |
| 49 | +:::info |
| 50 | +Refer to the [changelog](changelog.md) for information on periodic updates to this source template. |
| 51 | +::: |
0 commit comments