0

I'm running an OpenSearch Domain on AWS and when I'm sending a request to the Nodes Info API endpoint, I don't get the http metric in the response body. The endpoint is described here

Request: GET /_nodes/http

Response:

{
  "_nodes" : {
    "total" : 5,
    "successful" : 5,
    "failed" : 0
  },
  "cluster_name" : "xxx",
  "nodes" : {
    "KwG-74JLTuuFywGYSkRNYg" : {
      "name" : "452ed43bcbb48894313f978b178b2b4d",
      "version" : "1.3.2",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "data", "ingest", "remote_cluster_client" ]
    },
    ...
  }
}

When I send the same request to my local OpenSearch cluster I see a lot more metrics in the response body:

{
   "_nodes" : {
      "failed" : 0,
      "successful" : 1,
      "total" : 1
   },
   "cluster_name" : "docker-cluster",
   "nodes" : {
      "UlJE-xNjRwO1vWgG0yoM8w" : {
         "build_hash" : "6febcf7b53ff189de767e460e905e9e5aeecc8cb",
         "build_type" : "tar",
         "host" : "xxx",
         "http" : {
            "bound_address" : [
               "xx.xx.xx.xx:9200"
            ],
            "max_content_length_in_bytes" : 104857600,
            "publish_address" : "xx.xx.xx.xx:9200"
         },
         "ip" : "xx.xx.xx.xx",
         "name" : "800cc57d1a11",
         "roles" : [
            "data",
            "ingest",
            "master",
            "remote_cluster_client"
         ],
         "transport_address" : "xx.xx.xx.xx:9300",
         "version" : "1.3.2"
      }
   }
}

Is there a way to configure OpenSearch on AWS to expose more metrics or do I need to provide some special privileges to the role calling the endpoint?

Peter Lustig
  • 1,585
  • 1
  • 18
  • 34

0 Answers0