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
We're excited to introduce secure token-based authentication for HTTPS and OTLP sources. This new capability allows you to authenticate using a unique token in the request header, maintaining the existing HTTPS endpoint behavior while adding token validation per source.
12
+
We're excited to introduce secure token-based authentication for the HTTP Logs and Metrics Source. This new capability allows you to authenticate using a unique token in the request header, maintaining the existing HTTPS endpoint behavior while adding token validation per source.
13
13
14
14
Obtain the token to use in an auth header when you configure an HTTP source or regenerate the URL. To learn more, see:
15
15
*[Configure an HTTP Logs and Metrics Source](/docs/send-data/hosted-collectors/http-source/logs-metrics/#configure-an-httplogs-and-metrics-source)
16
-
*[Create an OTLP/HTTP Source](/docs/send-data/hosted-collectors/http-source/otlp/#create-an-otlphttpsource)
17
16
*[Generate a New URL for an HTTP Source](/docs/send-data/hosted-collectors/http-source/generate-new-url/)
Copy file name to clipboardExpand all lines: docs/send-data/hosted-collectors/http-source/otlp.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,11 +36,14 @@ To configure an OTLP/HTTP Source:
36
36
***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. See [Timestamps, Time Zones, Time Ranges, and Date Formats](/docs/send-data/reference-information/time-reference for more information.
37
37
1.[Create any Processing Rules](/docs/send-data/collection/processing-rules/create-processing-rule) you'd like for the OTLP/HTTP Source. <br/><img src={useBaseUrl('img/send-data/OTLP-processing-rules.png')} alt="OTLP processing rules" style={{border: '1px solid gray'}} width="400" />
38
38
1. When you are finished configuring the Source, click **Save**.
39
+
40
+
<!-- Per DOCS-1142. Add the following once we support OTLP:
39
41
1. In the **HTTP Source Address** dialog box, select one of the following to copy the URL where the source data will be stored:
40
42
* **Presigned URL**. Select to copy a presigned URL with embedded authentication.<br/><img src={useBaseUrl('img/send-data/http-source-address-otlp.png')} alt="HTTP Source Address with presigned URL" style={{border: '1px solid gray'}} width="600"/>
41
43
* **Auth Header**. Select to copy the URL, as well as a separate authorization header that contains an authentication token. This option provides greater security than a presigned URL because placing the authentication token in the authorization header of a request prevents the token from being exposed in the URL.<br/><img src={useBaseUrl('img/send-data/http-source-address-otlp-auth.png')} alt="HTTP Source Address with authorization header" style={{border: '1px solid gray'}} width="600"/>
42
44
1. Copy the URL (and header if applicable) and keep in a safe place. You will use the URL in the next step: [Using the OTLP/HTTP Source](#using-the-otlphttp-source).
43
45
1. Click **Done**.
46
+
-->
44
47
45
48
:::note
46
49
* Metrics reported with a timestamp older than 24 hours ago or newer than 24 hours in the future from the time they are reported are dropped. Make sure that the Metrics sent to OTLP Endpoint have appropriate timestamps.
@@ -72,12 +75,15 @@ The following table shows the URL format based on data types.
72
75
73
76
To use the URL, include the URL in otlphttp exporter of OpenTelemetry Collector and refer it in the pipelines, as needed. The exporter will automatically attach the signal type suffix:
74
77
78
+
<!-- Per DOCS-1142. Add the following after the line "endpoint: <source_url>" once we support OTLP:
79
+
headers:
80
+
Authorization: "x-sumo-token: [TokenString]"
81
+
-->
82
+
75
83
```
76
84
exporters:
77
85
otlphttp:
78
86
endpoint: <source_url>
79
-
headers:
80
-
Authorization: "x-sumo-token: [TokenString]"
81
87
82
88
...
83
89
@@ -94,22 +100,27 @@ service:
94
100
exporters: [otlphttp]
95
101
```
96
102
103
+
<!-- Per DOCS-1142. Add the following after we support OTLP:
97
104
:::note
98
105
In the above example, the authorization header value is obtained when you select **Auth Header** when you [Create an OTLP/HTTP Source](#create-an-otlphttpsource), or when you [regenerate the URL](/docs/send-data/hosted-collectors/http-source/generate-new-url/).
99
106
:::
107
+
-->
100
108
101
109
### Alternative
102
110
103
-
It is also possible to optionally configure per-signal URL, e.g.
111
+
It is also possible to optionally configure per-signal URL, for example:
112
+
113
+
<!-- Per DOCS-1142. Add the following after the line "logs_endpoint: <source_url>/v1/logs" once we support OTLP:
0 commit comments