Kibana monitor data display nothing

i have these index data such as ".monitoring-es-7*" ".monitoring-kibana-7*"...
but kibana monitoring show message "we couldn`t activate monitoring"
i check F12 in chrome found /api/monitoring/v1/clusters response empty cluster info

Hi @GaiserChan, Welcome to the forum!

This is a common problem posted various times on this board. A quick search should find your particular solution.

thanks for your reply. I search this problem on this board, and I found this reply

but I don`t know what should I do for my cluster. should I Post the same query DSL to cluster?

Can you share more info on your setup? Version, deployment, is it a fresh install or a upgrade ?

ES version:7.5.1
kibana version:7.4.2
I restarted after repairing the master node and found that the monitoring data was gone.
The operation steps are:
1.PUT /_cluster/settings { "transient" : { "cluster.routing.allocation.enable" : "none" } }
2. kill $pid
3.Repair node machine failure
4. /bin/Elasticsearch -d
5.PUT /_cluster/settings { "transient" : { "cluster.routing.allocation.enable" : "all" } }

Both of these are EOL and you need to upgrade please :slight_smile:

Also, you should really be running Elasticsearch and Kibana at the same minor version, not mixed ones. Different patch levels are ok.

But I can retrieve the corresponding monitoring data through the query, and the monitoring dashboard has always had data before.

POST .monitoring-es-*/_search
{
  "query": {
    "bool": {
      "filter": [
        {
          "term": {
            "cluster_uuid": "<cluster_uuid>"
          }
        },
        {
          "range": {
            "timestamp": {
              "gte": "2022-04-06T00:00:00.000Z",
              "lte": "2022-04-06T10:00:00.000Z"
            }
          }
        }
      ]
    }
  },
  "aggs": {
    "check": {
      "date_histogram": {
        "field": "timestamp",
        "fixed_interval": "1m"
      },
      "aggs": {
        "metric": {
          "max": {
            "field": "indices_stats._all.total.search.query_total"
          }
        },
        "metric_deriv": {
          "derivative": {
            "buckets_path": "metric",
            "gap_policy": "skip",
            "unit": "1m"
          }
        }
      }
    }
  }
}

7.5 is no longer supported sorry.

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