【问题标题】:Fluent Bit output to Splunk on WindowsFluent Bit 输出到 Windows 上的 Splunk
【发布时间】:2021-01-04 09:40:41
【问题描述】:

我尝试使用以下命令将日志发送到 Splunk

fluent-bit -i dummy -o splunk -p host=10.16.0.41 -p port=8088 -p tls=off -p tls.verify=off -p splunk_token=my_splunk_token_value -m '*'

它适用于 Mac OS但在 Windows 上运行时不起作用。 在 Windows 上,它会给出以下错误

[error] [io] connection #680 failed to: 10.16.0.41:8088
[debug] [upstream] connection #680 failed to 10.16.0.41:8088
[debug] [retry] new retry created for task_id=0 attempts=1
[ warn] [engine] failed to flush chunk '7624-1609745347.351439100.flb', retry in 7 seconds: task_id=0, input=dummy.0 > output=splunk.0

我也可以 telnet 到 Windows 机器上的那个端口

telnet 10.16.0.41 8088

我正在使用 td-agent-bit-1.6.9-win64.zip,如 documentation

【问题讨论】:

    标签: windows fluent-bit


    【解决方案1】:

    这是 fluent-bit 版本 1.6.8 和 1.6.9 Windows 可执行文件的问题。 GitHub issues 中也描述了问题。 1.6.10版本增加了修复。

    据我所知,问题是 “Windows 套接字接口不能正确处理 'errno'

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-19
      • 1970-01-01
      相关资源
      最近更新 更多