Disable to connect to elastic cloud,using httpbeat


(Ikbel Benabd) #1

I'm struggling to connect my httpbeat to elasticsearch hosted into elastic cloud
thus, this is my config:
httpbeat.yml

#----------------------------- httpbeat output --------------------------------
output.elasticsearch:
hosts: ["980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243"]
index: "httpbeat-%{+yyyy.MM}"

httpbeat.full.yml

processors:
#- add_cloud_metadata:
-add_cloud_metadata:
cloud.auth:"elastic:qp6BC0K7UrTsH6n"
cloud.id:"Ikbel_abd:ZXUtY2VudHJhbC0xLmF3cy5jbG91ZC5lcy5pbyQ5ODBkOTF"
output.elasticsearch:
hosts:["https://980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243/"]

I got this error while execution httpbeat :sob:

2018/09/18 14:30:46.515900 metrics.go:39: INFO Non-zero metrics in the last 30s: libbeat.publisher.messages_in_worker_queues=2 libbeat.publisher.published_events=2
2018/09/18 14:30:46.651053 output.go:109: DBG  output worker: publish 2 events
2018/09/18 14:30:46.651053 client.go:642: DBG  ES Ping(url=https://980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243/, timeout=1m30s)
2018/09/18 14:30:47.142627 client.go:647: DBG  Ping request failed with: 401 Unauthorized
2018/09/18 14:30:47.142627 single.go:140: ERR Connecting error publishing events (retrying): 401 Unauthorized
2018/09/18 14:30:47.143608 single.go:156: DBG  send fail
2018/09/18 14:30:48.143755 client.go:642: DBG  ES Ping(url=https://980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243/, timeout=1m30s)
2018/09/18 14:30:48.211812 client.go:647: DBG  Ping request failed with: 401 Unauthorized
2018/09/18 14:30:48.211812 single.go:140: ERR Connecting error publishing events (retrying): 401 Unauthorized
2018/09/18 14:30:48.211812 single.go:156: DBG  send fail
2018/09/18 14:30:50.212087 client.go:642: DBG  ES Ping(url=https://980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243/, timeout=1m30s)
2018/09/18 14:30:50.280145 client.go:647: DBG  Ping request failed with: 401 Unauthorized
2018/09/18 14:30:50.280145 single.go:140: ERR Connecting error publishing events (retrying): 401 Unauthorized
2018/09/18 14:30:50.281147 single.go:156: DBG  send fail
2018/09/18 14:30:51.264254 service.go:33: DBG  Received sigterm/sigint, stopping
2018/09/18 14:30:51.264254 service.go:39: DBG  Received svc stop/shutdown request
2018/09/18 14:30:51.264254 metrics.go:51: INFO Total non-zero values:  libbeat.es.publish.read_bytes=1782 libbeat.es.publish.write_bytes=519 libbeat.publisher.messages_in_worker_queues=2 libbeat.publisher.published_events=2
2018/09/18 14:30:51.265257 metrics.go:52: INFO Uptime: 34.8002288s
2018/09/18 14:30:51.265257 beat.go:237: INFO httpbeat stopped.

(Alex Piggott) #2

Hi

Sorry for the delay in responding to this ... we now have a dedicated support portal for our Cloud service (https://discuss.elastic.co/t/now-live-new-elastic-cloud-standard-support/84161)

(it looks like the password is wrong from the errors, ie 401, did you confirm that you can login with that user/password from the browser?)

Alex


(system) #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.