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: docs/send-data/hosted-collectors/http-source/logs-metrics/index.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,6 @@ To configure an HTTP Logs and Metrics Source:
52
52
* Sumo Logic enforces limits on the volume of metrics and associated metadata you ingest. For more information, see [Data Limits for Metrics](/docs/metrics/manage-metric-volume/data-limits-for-metrics).
53
53
:::
54
54
55
-
56
55
## Upload data to the HTTP Logs and Metrics Source
57
56
58
57
You can upload both logs and supported metric types to an HTTP Source. There are different requirements depending on whether you are uploading logs or metrics to the Source.
@@ -68,12 +67,20 @@ To ensure the appropriate Access-Control-\* response headers are set, make sure
68
67
69
68
## Compressed Data
70
69
71
-
You can send Sumo plain, uncompressed data (such as plain text) or you can send data that has been compressed by either the "deflate" or the "gzip" method. Compressed data can only be sent with the POST method. You can compress log data or metric data prior to upload.
70
+
:::note
71
+
We strongly recommend sending compressed data to Sumo Logic, as it reduces network usage and ensures faster message delivery.
72
+
:::
73
+
74
+
You can compress log or metric data prior to upload. You can send data that has been compressed by either **deflate** or **gzip** method. In the Content-Encoding header of your request, specify a value of `gzip` (for gzip-compressed) or `deflate` (for zlib-compressed) and include the compressed data as the request body.
75
+
76
+
Below are the key benefits that you can obtain by sending compressed data:
72
77
73
-
To send a compressed payload, specify a value of gzip (for gzip-compressed) or deflate (for zlib-compressed) in the Content-Encoding header of your request, and include the compressed data as the request body.
78
+
-**Reduced network usage**. Lower data transfer volume, which leads to improved Send API response time and reduced network transfer costs.
79
+
-**Faster message delivery**. Improved efficiency ensures messages are received more quickly at Sumo Logic.
74
80
75
81
:::important
76
-
Compressed files are decompressed before they are ingested, so they are ingested at the decompressed file size rate.
82
+
- Compressed data can only be sent with the POST method.
83
+
- Compressed files are decompressed before they are ingested, so they are ingested at the decompressed file size rate.
0 commit comments