This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Kubernetes state_service metricset
editKubernetes state_service metricset
editThe state_service
metricset for kubernetes service related metrics from kube-state-metrics
.
For a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{ "@timestamp": "2019-03-01T08:05:34.853Z", "event": { "dataset": "kubernetes.service", "duration": 115000, "module": "kubernetes" }, "kubernetes": { "namespace": "kube-system", "service": { "cluster_ip": "10.96.0.10", "created": "2024-04-23T08:49:44.000Z", "name": "kube-dns", "type": "ClusterIP" } }, "metricset": { "name": "state_service", "period": 10000 }, "service": { "address": "127.0.0.1:55555", "type": "kubernetes" } }