Get node information
          
      Generally available; Added in 1.3.0
 
        
        
        All methods and paths for this operation:
                      GET
                      /_nodes
                      
                      GET
                      /_nodes/{metric}
                      
                    
                      GET
                      /_nodes/{node_id}
                      
                    
                      GET
                      /_nodes/{node_id}/{metric}
                      
By default, the API returns all attributes and core settings for cluster nodes.
Path parameters
- 
    
  
Comma-separated list of node IDs or names used to limit returned information.
 - 
    
  
Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.
 
Query parameters
- 
    
  
If true, returns settings in flat format.
 - 
    
  
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
External documentation  
        GET
    /_nodes/{node_id}/{metric}
  
  
                    Console
      
        
  GET _nodes/_all/jvm
              resp = client.nodes.info(
    node_id="_all",
    metric="jvm",
)
              const response = await client.nodes.info({
  node_id: "_all",
  metric: "jvm",
});
              response = client.nodes.info(
  node_id: "_all",
  metric: "jvm"
)
              $resp = $client->nodes()->info([
    "node_id" => "_all",
    "metric" => "jvm",
]);
              curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_nodes/_all/jvm"
    
        Response examples (200)
  
  
              An abbreviated response when requesting cluster nodes information.
            
          {
    "_nodes": {},
    "cluster_name": "elasticsearch",
    "nodes": {
      "USpTGYaBSIKbgSUJR2Z9lg": {
        "name": "node-0",
        "transport_address": "192.168.17:9300",
        "host": "node-0.elastic.co",
        "ip": "192.168.17",
        "version": "{version}",
        "transport_version": 100000298,
        "index_version": 100000074,
        "component_versions": {
          "ml_config_version": 100000162,
          "transform_config_version": 100000096
        },
        "build_flavor": "default",
        "build_type": "{build_type}",
        "build_hash": "587409e",
        "roles": [
          "master",
          "data",
          "ingest"
        ],
        "attributes": {},
        "plugins": [
          {
            "name": "analysis-icu",
            "version": "{version}",
            "description": "The ICU Analysis plugin integrates Lucene ICU
  module into elasticsearch, adding ICU relates analysis components.",
            "classname":
  "org.elasticsearch.plugin.analysis.icu.AnalysisICUPlugin",
            "has_native_controller": false
          }
        ],
        "modules": [
          {
            "name": "lang-painless",
            "version": "{version}",
            "description": "An easy, safe and fast scripting language for
  Elasticsearch",
            "classname": "org.elasticsearch.painless.PainlessPlugin",
            "has_native_controller": false
          }
        ]
      }
    }
}