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
Copy file name to clipboardExpand all lines: _data-prepper/pipelines/configuration/sources/otel-logs-source.md
+118-3Lines changed: 118 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,18 +51,133 @@ To get started, create a `pipeline.yaml` file and add `otel_logs_source` as the
51
51
52
52
```yaml
53
53
source:
54
-
- otel_logs_source:
54
+
otel_logs_source:
55
55
```
56
+
{% include copy.html %}
56
57
57
58
To generate data in the OpenTelemetry format, set the `output_format` setting to `otel`, as shown in the following example:
58
59
59
60
```yaml
60
61
source:
61
-
- otel_logs_source:
62
-
output_format: otel
62
+
otel_logs_source:
63
+
output_format: otel
64
+
```
65
+
{% include copy.html %}
66
+
67
+
## Example
68
+
69
+
The following pipeline shows Data Prepper receiving OTLP logs over HTTPS using a PEM certificate and key, with unframed HTTP at a custom path, accepting gzip-compressed payloads, and indexing them into OpenSearch using the OpenTelemetry field schema:
0 commit comments