I am very new to Splunk and Splunk Connect. We are trying to implement Splunk Connect for Kubernetes. We have gotten the pods running, and it is gathering data to send to the HEC host:
We have successfully sent Curl requests from the node, pod and container to Splunk Cloud with the following command (redacted):
curl -k https://http-inputs-companyname.splunkcloud.com/services/collector/event -H "Authorization: Splunk XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" -d '{"event":"testing with index - inside_container2"}'
and can view the test messages in Splunk.
We believe it to be some sort of configuration issue, but we are at a loss regarding what to change in the values.yaml file we are using to deploy.
Any assistance would be greatly appreciated.
Thank you,
Bob Wieberdink
I am very new to Splunk and Splunk Connect. We are trying to implement Splunk Connect for Kubernetes. We have gotten the pods running, and it is gathering data to send to the HEC host:
2019-07-22 19:38:41 +0000 [debug]: #0 Received 34 pods 2019-07-22 19:38:41 +0000 [debug]: #0 Going to pull config_maps 2019-07-22 19:38:41 +0000 [debug]: #0 Received 32 config_maps 2019-07-22 19:38:44 +0000 [debug]: #0 taking back chunk for errors. chunk="58e4a3589d3ff809c65d7099990a8d3a" 2019-07-22 19:38:44 +0000 [warn]: #0 failed to flush the buffer. retry_time=0 next_retry_seconds=2019-07-22 19:38:45 +0000 chunk="58e4a3589d3ff809c65d7099990a8d3a" error_class=Net::OpenTimeout error="execution expired" 2019-07-22 19:38:44 +0000 [warn]: #0 /usr/local/lib/ruby/2.5.0/net/http.rb:937:in
initialize' 2019-07-22 19:38:44 +0000 [warn]: #0 /usr/local/lib/ruby/2.5.0/net/http.rb:937:in
open' 2019-07-22 19:38:44 +0000 [warn]: #0 /usr/local/lib/ruby/2.5.0/net/http.rb:937:inblock in connect' 2019-07-22 19:38:44 +0000 [warn]: #0 /usr/local/lib/ruby/2.5.0/timeout.rb:103:in
timeout' 2019-07-22 19:38:44 +0000 [warn]: #0 /usr/local/lib/ruby/2.5.0/net/http.rb:935:inconnect' 2019-07-22 19:38:44 +0000 [warn]: #0 /usr/local/lib/ruby/2.5.0/net/http.rb:920:in
do_start' 2019-07-22 19:38:44 +0000 [warn]: #0 /usr/local/lib/ruby/2.5.0/net/http.rb:915:instart' 2019-07-22 19:38:44 +0000 [warn]: #0 /usr/local/bundle/gems/net-http-persistent-3.0.0/lib/net/http/persistent.rb:692:in
start'but is seems when it tries to send to Splunk Cloud, we get the following:
2019-07-22 18:24:03 +0000 [warn]: #0 failed to flush the buffer. retry_time=2 next_retry_seconds=2019-07-22 18:24:05 +0000 chunk="58e492321a0231c40c1532cc29712bac" error_class=Net::OpenTimeout error="execution expired"
Here is our current (redacted) values.yaml file we are using to deploy with Helm:
global: logLevel: debug splunk: hec: protocol: https insecureSSL: true host: http-inputs-companyname.splunkcloud.com token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXX splunk-kubernetes-logging: journalLogPath: /run/log/journal splunk: hec: indexName: index-log splunk-kubernetes-objects: rbac: create: true serviceAccount: create: true name: index-objects kubernetes: insecureSSL: true objects: core: v1:
We have successfully sent Curl requests from the node, pod and container to Splunk Cloud with the following command (redacted): curl -k https://http-inputs-companyname.splunkcloud.com/services/collector/event -H "Authorization: Splunk XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" -d '{"event":"testing with index - inside_container2"}'
and can view the test messages in Splunk.
We believe it to be some sort of configuration issue, but we are at a loss regarding what to change in the values.yaml file we are using to deploy.
Any assistance would be greatly appreciated. Thank you, Bob Wieberdink