From 534a462ae7034b3b63c3b0e13d5831324b8571f3 Mon Sep 17 00:00:00 2001 From: Jagadisha V <129049263+JV0812@users.noreply.github.com> Date: Tue, 11 Feb 2025 13:52:59 +0530 Subject: [PATCH 1/3] Update index.md --- .../http-source/logs-metrics/index.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md b/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md index f58c76a7c6..a9668fd3d5 100644 --- a/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md +++ b/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md @@ -52,7 +52,6 @@ To configure an HTTP Logs and Metrics Source: * 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). ::: - ## Upload data to the HTTP Logs and Metrics Source 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 ## Compressed Data -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. +:::note +We strongly recommend sending compressed data to Sumo Logic, as it reduces network usage and ensures faster message delivery. +::: + +You can compress log or metric data prior to upload. Sumo Logic provides two methods to compress your data: the "deflate" or the "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. + +Below are the key benefits that you can obtain by sending compressed data: -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. +- **Reduced network usage**. Lower data transfer volume, which leads to improved Send API response time and reduced network transfer costs. +- **Faster message delivery**. Improved efficiency ensures messages are received more quickly at Sumo Logic. :::important -Compressed files are decompressed before they are ingested, so they are ingested at the decompressed file size rate.  +- Compressed data can only be sent with the POST method. +- Compressed files are decompressed before they are ingested, so they are ingested at the decompressed file size rate.  ::: ## Access a Source's URL From c7df08c03c51a88db526775a40fc4d7150d16cec Mon Sep 17 00:00:00 2001 From: Jagadisha V <129049263+JV0812@users.noreply.github.com> Date: Wed, 12 Feb 2025 12:23:35 +0530 Subject: [PATCH 2/3] Update docs/send-data/hosted-collectors/http-source/logs-metrics/index.md Co-authored-by: John Pipkin (Sumo Logic) --- .../hosted-collectors/http-source/logs-metrics/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md b/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md index a9668fd3d5..a5b0e26507 100644 --- a/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md +++ b/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md @@ -71,7 +71,7 @@ To ensure the appropriate Access-Control-\* response headers are set, make sure We strongly recommend sending compressed data to Sumo Logic, as it reduces network usage and ensures faster message delivery. ::: -You can compress log or metric data prior to upload. Sumo Logic provides two methods to compress your data: the "deflate" or the "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. +You can compress log or metric data prior to upload. Sumo Logic provides two methods to compress your data: the "deflate" or the "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. Below are the key benefits that you can obtain by sending compressed data: From 3ef1b838fcbac58efade19b1fe2c3b72677ef535 Mon Sep 17 00:00:00 2001 From: Jagadisha V <129049263+JV0812@users.noreply.github.com> Date: Tue, 18 Feb 2025 12:31:33 +0530 Subject: [PATCH 3/3] updated the content --- .../hosted-collectors/http-source/logs-metrics/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md b/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md index a5b0e26507..0aabb3a30e 100644 --- a/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md +++ b/docs/send-data/hosted-collectors/http-source/logs-metrics/index.md @@ -71,7 +71,7 @@ To ensure the appropriate Access-Control-\* response headers are set, make sure We strongly recommend sending compressed data to Sumo Logic, as it reduces network usage and ensures faster message delivery. ::: -You can compress log or metric data prior to upload. Sumo Logic provides two methods to compress your data: the "deflate" or the "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. +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. Below are the key benefits that you can obtain by sending compressed data: