# Kubernetes.node.status.\* metrics not available for alerting

**URL:** <https://discuss.elastic.co/t/kubernetes-node-status-metrics-not-available-for-alerting/323901>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [January 25, 2023, 9:31am UTC](https://discuss.elastic.co/t/kubernetes-node-status-metrics-not-available-for-alerting/323901 "2023-01-25T09:31:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maksym\_Postument](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maksym_postument/32/106661_2.png) [@Maksym\_Postument](https://discuss.elastic.co/u/Maksym_Postument)\
**Post date:** [January 25, 2023, 9:31am UTC](https://discuss.elastic.co/t/kubernetes-node-status-metrics-not-available-for-alerting/323901/1 "2023-01-25T09:31:37Z")

</div>

Hello, i am using metricbeat in kubernetes with next config

```auto
    - module: kubernetes
      metricsets:
        - node
        - system
        - pod
        - container
        - volume
      period: 10s
      host: ${NODE_NAME}
      hosts: ["https://${NODE_NAME}:10250"]
      bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token

```

In kibana i see data which reported by this module. And i want to build alert using kubernetes node metrics [Kubernetes fields | Metricbeat Reference [8.6] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-kubernetes.html#_node_5) especially **`kubernetes.node.status.ready`**

 ![Screenshot 2023-01-25 at 11.24.14](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b70ba883f5c11a41eed68f36b4f8d2c685b1cd2d.png)

But when i want to create alert using this metrics, it is not available

 ![Screenshot 2023-01-25 at 11.16.16](https://us1.discourse-cdn.com/elastic/original/3X/3/c/3c3ef05bcba45bd8cab88ef51071b2ffaf6e6f80.png)

Also if am checking this metric Infrastructure/Explorer it show me empty graph

 ![Screenshot 2023-01-25 at 11.30.57](https://us1.discourse-cdn.com/elastic/original/3X/6/3/63211edb63d0d93eda36413f10633e60a51c59e4.jpeg)

Any advice how can i build alert based on **`kubernetes.node.status.ready`** metrics

---

<div class="post-metadata">

**Author:** ![Tetiana\_Kravchenko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tetiana_kravchenko/32/102683_2.png) [@Tetiana\_Kravchenko](https://discuss.elastic.co/u/Tetiana_Kravchenko)\
**Post date:** [January 25, 2023, 10:46am UTC](https://discuss.elastic.co/t/kubernetes-node-status-metrics-not-available-for-alerting/323901/2 "2023-01-25T10:46:04Z")

</div>

Hello @Maksym_Postument

I think that this [thread](https://discuss.elastic.co/t/kibana-alert-on-boolean-field-possible/252715) might be similar to what you are trying to achieve. Related [PR](https://github.com/elastic/kibana/pull/142255) was merged and this filtering should be available in version 8.6 for [Index threshold](https://www.elastic.co/guide/en/kibana/master/rule-type-index-threshold.html) rule type.

---

<div class="post-metadata">

**Author:** ![Maksym\_Postument](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maksym_postument/32/106661_2.png) [@Maksym\_Postument](https://discuss.elastic.co/u/Maksym_Postument)\
**Post date:** [January 25, 2023, 11:43am UTC](https://discuss.elastic.co/t/kubernetes-node-status-metrics-not-available-for-alerting/323901/3 "2023-01-25T11:43:52Z")

</div>

Thank you Tetiana. I looked at thread which you shared. It is look similar, but my field is not boolean type, but keyword. Which may have one of following values true, false or unknown.

I found this [thread](https://discuss.elastic.co/t/alerts-on-kubernetes-node-status-fields/290780) which looks exactly like my issue. Trying to solution from it

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 22, 2023, 1:44pm UTC](https://discuss.elastic.co/t/kubernetes-node-status-metrics-not-available-for-alerting/323901/4 "2023-02-22T13:44:08Z")

</div>

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