当前位置:网站首页>No monitoring information seen in kibana

No monitoring information seen in kibana

2022-06-24 03:13:00 HLee

brief introduction

describe ; see Kibana Of monitor I found that there was no data .

#  View templates 
GET _cat/templates/.monitoring*?v

#  Check to see if there is  .monitoring-es-*  The index of 
GET _cat/indices/.monitoring-*

#  View the cluster configuration 
GET /_cluster/settings
{
  "persistent" : {
    "xpack" : {
      "monitoring" : {
        "collection" : {
          "enabled" : "true"
        },
        "history" : {
          "duration" : "30d"
        }
      }
    }
  },
  "transient" : {
    "cluster" : {
      "routing" : {
        "allocation" : {
          "enable" : "all",
          "exclude" : {
            "_host" : "xxxxxxxx"
          }
        }
      }
    }
  }
}
  • Modify cluster configuration
PUT _cluster/settings
{
  "persistent": {
    "xpack": {
      "monitoring": {
        "elasticsearch": {
          "collection": {
            "enabled": "true"
          }
        },
        "collection": {
          "enabled": "true"
        }
      }
    }
  }
}
原网站

版权声明
本文为[HLee]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/10/20211014192134547M.html