Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ The `http` destination of {{% param "product.abbrev" %}} can directly post log m

*Description:* Use `accept-encoding()` to request the server to compress the HTTP responses. ({{% param "product.abbrev" %}} doesn't currently use them, but they still contribute to network traffic.) To compress the messages sent by {{% param "product.abbrev" %}}, see the [`content-compression()` option](#content-compression).

- If you want to accept multiple compression types, list them separated by commas inside the quotation mark.
- To enable all available compression types, use `"all"`.

{{< include-headless "chunk/option-destination-http-compression.md" >}}

## accept-redirects()
Expand Down Expand Up @@ -146,27 +149,21 @@ cloud-auth(

{{% include-headless "chunk/example-tls-block-http.md" %}}



{{% include-headless "chunk/option-destination-tls-cipher-suite.md" %}}
{{% include-headless "chunk/topic-tls-block-http.md" %}}
{{% include-headless "chunk/example-tls-block-http.md" %}}

## content-compression()

| | |
| -------- | ------------------ |
| Type: | `"identity"`, `"gzip"`, `"deflate"`, `"all"` |
| Default: | |
| Type: | `"identity"`, `"gzip"`, `"deflate"` |
| Default: | `"identity"` |

*Description:* Use `content-compression()` to compress the messages sent by {{% param "product.abbrev" %}}. To accept compressed responses from the server, see the [`accept-encoding()` option](#accept-encoding).
*Description:* Use `content-compression()` to compress the messages sent by {{% param "product.abbrev" %}}. Use `"identity"` for no compression. To accept compressed responses from the server, see the [`accept-encoding()` option](#accept-encoding).

{{< include-headless "chunk/option-destination-http-compression.md" >}}

{{% include-headless "chunk/topic-tls-block-http.md" %}}

{{% include-headless "chunk/example-tls-block-http.md" %}}



## delimiter() {#https-options-delimiter}

| | |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
---
---
<!-- This file is under the copyright of Axoflow, and licensed under Apache License 2.0, except for using the Axoflow and AxoSyslog trademarks. -->
Use `"identity"` for no compression.

- If you want to accept multiple compression types, list them separated by commas inside the quotation mark.
- To enable all available compression types, use `"all"`.

For example:

```shell
destination d_http_compressed{
http(url("127.0.0.1:80"), content-compression("deflate"), accept-encoding("all"));
http(url("127.0.0.1:80") content-compression("deflate") accept-encoding("all"));
};
```