diff --git a/packages/kubernetes/changelog.yml b/packages/kubernetes/changelog.yml index 51e2ab9e747..842ce42e93c 100644 --- a/packages/kubernetes/changelog.yml +++ b/packages/kubernetes/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: 1.59.0 + changes: + - description: Add metadata fields to state_namespace data stream. + type: enhancement + link: https://github.com/elastic/integrations/pull/9356 - version: 1.58.0 changes: - description: Migrate to format_version v3. diff --git a/packages/kubernetes/data_stream/state_namespace/fields/base-fields.yml b/packages/kubernetes/data_stream/state_namespace/fields/base-fields.yml index 930faf85c2c..e66afa5a86b 100644 --- a/packages/kubernetes/data_stream/state_namespace/fields/base-fields.yml +++ b/packages/kubernetes/data_stream/state_namespace/fields/base-fields.yml @@ -15,3 +15,16 @@ description: > Kubernetes namespace + - name: labels.* + type: object + object_type: keyword + object_type_mapping_type: "*" + description: > + Kubernetes labels map + + - name: annotations.* + type: object + object_type: keyword + object_type_mapping_type: "*" + description: >- + Kubernetes annotations map diff --git a/packages/kubernetes/docs/kube-state-metrics.md b/packages/kubernetes/docs/kube-state-metrics.md index b1140393733..27657dda9e4 100644 --- a/packages/kubernetes/docs/kube-state-metrics.md +++ b/packages/kubernetes/docs/kube-state-metrics.md @@ -1121,6 +1121,8 @@ An example event for `state_namespace` looks as following: | host.os.platform | Operating system platform (such centos, ubuntu, windows). | keyword | | | | host.os.version | Operating system version as a raw string. | keyword | | | | host.type | Type of host. For Cloud providers this can be the machine type like `t2.medium`. If vm, this could be the container, for example, or other information meaningful in your environment. | keyword | | | +| kubernetes.annotations.\* | Kubernetes annotations map | object | | | +| kubernetes.labels.\* | Kubernetes labels map | object | | | | kubernetes.namespace | Kubernetes namespace | keyword | | | | kubernetes.state_namespace.created.sec | Epoch seconds since the namespace was created. | double | s | gauge | | kubernetes.state_namespace.status.active | Whether the namespace is active (true or false). | boolean | | | diff --git a/packages/kubernetes/manifest.yml b/packages/kubernetes/manifest.yml index e5d02ebbf71..7041a3348f0 100644 --- a/packages/kubernetes/manifest.yml +++ b/packages/kubernetes/manifest.yml @@ -1,7 +1,7 @@ format_version: 3.1.2 name: kubernetes title: Kubernetes -version: 1.58.0 +version: 1.59.0 description: Collect logs and metrics from Kubernetes clusters with Elastic Agent. type: integration categories: @@ -10,7 +10,7 @@ categories: - kubernetes conditions: kibana: - version: "^8.12.0" + version: "^8.14.0" screenshots: - src: /img/metricbeat_kubernetes_overview.png title: Metricbeat Kubernetes Overview