我正在为Fluentd发送数据,从Fluentd。如何压缩Fluentd中的数据?当数据到达其他Fluentd时,我如何解压这些数据?
非常感谢!
是这样的吗?
<match mydata.*>
@type any_output_plugin
<buffer>
@type memory
compress gzip
chunk_limit_size 16m # 16MB compressed events
chunk_total_size 512m # 512MB compressed events in total
</buffer>
</match>发布于 2021-06-29 15:33:54
compress gzip option on forward plugin做到了这一点。
<match mydata.*>
@type forward
compress gzip
<server>
host 192.168.1.2
port 24224
</server>
</match>在发送服务器上启用此功能,并且(从文档中)
您不需要在接收服务器中进行任何配置。数据压缩由目标节点自动检测和透明处理。
https://stackoverflow.com/questions/68169583
复制相似问题