Elasticsearch get auth error

Hi, I just got started with Elasticsearch, but when I try to make a get request It says I need an auth to be able to access.
Any solution?

Hi @sergiownd,

sounds like you also installed x-pack either intentionally or unintentionally (e.g. by using our Docker image or you have started a cluster on Elastic Cloud). Either way, the default credentials are:

  • user: "elastic"
  • password: "changeme"

If you are on Cloud, we create a random and more secure password instead when you create the cluster and present it to you once.

Daniel