我已经在我的集群上配置了splunk-connect-kubernetes,并告诉它将数据发送到我配置了HEC的splunk-light。
HEC设置正确,因为我可以直接发布信息。但是,在splunk-connect-kubernetes中,我在日志中看到了以下内容:
2019-05-17 17:10:47 +0000 [error]: #0 Failed POST to http://splunk.default.svc.licence.local:8088/services/collector, response: {"text":"No data","code":5}发布于 2019-05-21 21:40:31
我相信这是因为:
https://answers.splunk.com/answers/458247/how-to-pass-fields-parameter-in-servicescollector.html
具体地说,HEC仅支持一组特定的已知字段。
https://stackoverflow.com/questions/56190876
复制相似问题