-
I am trying to setup OpenTelemetry Collector for Kubernetes in Splunk Cloud. For this I followed the following article Splunk OpenTelemetry Collector for Kubernetes I am using google Kubernetes engine. As mentioned in article I tried both below two helm to install Splunk OpenTelemetry Collector in a Kubernetes cluster. None of these worked and I keep getting error message " no such host". helm install my-splunk-otel-collector --set="splunkPlatform.endpoint=https://http-inputs-prd-p-19lmt.splunkcloud.com:8088/services/collector/event,splunkPlatform.token=XXXX-XXXX-XXXX-XXXX-XXXX,splunkPlatform.index=main,clusterName=spluk-kub" splunk-otel-collector-chart/splunk-otel-collector helm install my-splunk-otel-collector --set="splunkPlatform.endpoint=https://prd-p-19lmt.splunkcloud.com:8088/services/collector/event,splunkPlatform.token=XXXX-XXXX-XXXX-XXXX-XXXX,splunkPlatform.index=main,clusterName=spluk-kub" splunk-otel-collector-chart/splunk-otel-collector Here is how the error log loooks like 2022-09-01T04:43:43.953Z info exporterhelper/queued_retry.go:427 Exporting failed. Will retry the request after interval. {"kind": "exporter", "data_type": "logs", "name": "splunk_hec/platform_logs", "error": "Post "[https://http-inputs-prd-p-19lmt.splunkcloud.com:8088/services/collector/event](https://http-inputs-prd-p-19lmt.splunkcloud.com:8088/services/collector/event/)": dial tcp: lookup http-inputs-prd-p-19lmt.splunkcloud.com on 10.4.0.10:53: no such host", "interval": "32.444167474s"} Please advice . Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 21 replies
-
This error indicates that your collector cannot connect to the Please ensure this endpoint is valid and responds. Currently this host is not registered under a DNS record:
Please refer to this documentation to establish the correct endpoint associated with your Splunk Cloud instance: https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/UsetheHTTPEventCollector#Send_data_to_HTTP_Event_Collector_on_Splunk_Cloud_Platform |
Beta Was this translation helpful? Give feedback.
-
I did followed that articate before and built my endpoint. I am using Splunk Cloud trail and my Splunk cloud website is https://prd-p-19lmt.splunkcloud.com/ Based on the docment the sysntax is ://http-inputs-.splunkcloud.com:/ I modified a bit to use raw instead of event and still getting error "no such host" helm install my-splunk-otel-collector --set="splunkPlatform.endpoint=https://http-inputs-prd-p-19lmt.splunkcloud.com:8088/services/collector/raw,splunkPlatform.token=xxxxxxxxx,splunkPlatform.index=main,clusterName=splunk" splunk-otel-collector-chart/splunk-otel-collector Please suggest what should I use when tail website is https://prd-p-19lmt.splunkcloud.com/ Thanks |
Beta Was this translation helpful? Give feedback.
-
Getting same error: |
Beta Was this translation helpful? Give feedback.
This error indicates that your collector cannot connect to the
https://http-inputs-prd-p-19lmt.splunkcloud.com:8088/services/collector/event
endpoint.Please ensure this endpoint is valid and responds. Currently this host is not registered under a DNS record:
Please refer to this documentation to establish the correct endpoint associated with your Splunk Cloud instance: https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/UsetheHTTPEventCollector#Send_data_to_HTTP_Event_Collector_on_Splunk_Cloud_Platform