Ssl collectd的Write_http插件中的curl无效

Ssl collectd的Write_http插件中的curl无效,ssl,curl,splunk,collectd,Ssl,Curl,Splunk,Collectd,我正在尝试在collect中为Splunk编写\uHTTP插件,问题是当我尝试外部卷曲时 curl http://10.xx.xxx.x:8088/services/collector/raw -H "Authorization: Splunk 2c396ad4-f518-416f-83cd-e37596228792" -d {"test":"value"} 它起作用了。但当我在我的生活中也这样做的时候 收集插件 <Plugin write_http> <Node "nod

我正在尝试在collect中为Splunk编写\uHTTP插件,问题是当我尝试外部卷曲时

curl http://10.xx.xxx.x:8088/services/collector/raw  -H "Authorization: Splunk 2c396ad4-f518-416f-83cd-e37596228792" -d {"test":"value"}
它起作用了。但当我在我的生活中也这样做的时候 收集插件

<Plugin write_http>
<Node "node-http-1">
URL "http://10.xx.xxx.x:8088/services/collector/raw?channel=2c396ad4-f518-416f-83cd-e37596228792"
Header "Authorization: Splunk 2c396ad4-f518-416f-83cd-e37596228792"
Format "JSON"
Metrics true
StoreRates true

这是因为collectd的curl版本吗?

只需在splunk中的http数据输入中检查全局设置中的端口即可。 默认情况下,它必须是8080。在write_http plugin中相应地更改collect.conf中的端口


希望它对你有用

只需在splunk中的http数据输入的全局设置中检查端口即可。 默认情况下,它必须是8080。在write_http plugin中相应地更改collect.conf中的端口

希望它对你有用

[error] write_http plugin: curl_easy_perform failed with status 56: Recv failure: Connection reset by peer