diff --git a/deploy/helm/elastic-agent/examples/system-custom-auth-paths/rendered/manifest.yaml b/deploy/helm/elastic-agent/examples/system-custom-auth-paths/rendered/manifest.yaml index 411c333b3b9..984cb09e3d9 100644 --- a/deploy/helm/elastic-agent/examples/system-custom-auth-paths/rendered/manifest.yaml +++ b/deploy/helm/elastic-agent/examples/system-custom-auth-paths/rendered/manifest.yaml @@ -90,6 +90,7 @@ stringData: metricsets: - cpu period: 10s + system.hostfs: /hostfs - data_stream: dataset: system.diskio type: metrics @@ -97,6 +98,7 @@ stringData: metricsets: - diskio period: 10s + system.hostfs: /hostfs - data_stream: dataset: system.filesystem type: metrics @@ -106,6 +108,7 @@ stringData: processors: - drop_event.when.regexp: system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) + system.hostfs: /hostfs - data_stream: dataset: system.fsstat type: metrics @@ -115,6 +118,7 @@ stringData: processors: - drop_event.when.regexp: system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) + system.hostfs: /hostfs - condition: ${host.platform} != 'windows' data_stream: dataset: system.load @@ -128,6 +132,7 @@ stringData: metricsets: - memory period: 10s + system.hostfs: /hostfs - data_stream: dataset: system.network type: metrics @@ -148,18 +153,21 @@ stringData: process.include_top_n.by_memory: 5 processes: - .* + system.hostfs: /hostfs - data_stream: dataset: system.process_summary type: metrics metricsets: - process_summary period: 10s + system.hostfs: /hostfs - data_stream: dataset: system.socket_summary type: metrics metricsets: - socket_summary period: 10s + system.hostfs: /hostfs - data_stream: dataset: system.uptime type: metrics @@ -295,7 +303,7 @@ spec: labels: name: agent-pernode-example annotations: - checksum/config: 535875b1a8f244fc529158f3467dec1983ca2ef19d365518da249fd46e22d0ef + checksum/config: dc3e48e999091f8db08e8ce2c2de127239731b26d598b6399ad93ef3636a3245 spec: automountServiceAccountToken: true containers: diff --git a/deploy/helm/elastic-agent/templates/integrations/_system/_system_metrics.tpl b/deploy/helm/elastic-agent/templates/integrations/_system/_system_metrics.tpl index 9a2c30f1d09..5aaf7becc6b 100644 --- a/deploy/helm/elastic-agent/templates/integrations/_system/_system_metrics.tpl +++ b/deploy/helm/elastic-agent/templates/integrations/_system/_system_metrics.tpl @@ -22,6 +22,7 @@ - normalized_percentages metricsets: - cpu + system.hostfs: '/hostfs' - data_stream: dataset: system.diskio type: metrics @@ -29,12 +30,14 @@ diskio.include_devices: null metricsets: - diskio + system.hostfs: '/hostfs' - data_stream: dataset: system.filesystem type: metrics period: 1m metricsets: - filesystem + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -44,6 +47,7 @@ period: 1m metricsets: - fsstat + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -60,6 +64,7 @@ period: 10s metricsets: - memory + system.hostfs: '/hostfs' - data_stream: dataset: system.network type: metrics @@ -80,6 +85,7 @@ process.include_cpu_ticks: false metricsets: - process + system.hostfs: '/hostfs' process.include_cpu_ticks: false - data_stream: dataset: system.process_summary @@ -87,12 +93,14 @@ period: 10s metricsets: - process_summary + system.hostfs: '/hostfs' - data_stream: dataset: system.socket_summary type: metrics period: 10s metricsets: - socket_summary + system.hostfs: '/hostfs' - data_stream: type: metrics dataset: system.uptime diff --git a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset-configmap.yaml b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset-configmap.yaml index 741ebfead5c..445fadbd266 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset-configmap.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset-configmap.yaml @@ -446,6 +446,7 @@ data: - normalized_percentages metricsets: - cpu + system.hostfs: '/hostfs' - data_stream: dataset: system.diskio type: metrics @@ -453,12 +454,14 @@ data: diskio.include_devices: null metricsets: - diskio + system.hostfs: '/hostfs' - data_stream: dataset: system.filesystem type: metrics period: 1m metricsets: - filesystem + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -468,6 +471,7 @@ data: period: 1m metricsets: - fsstat + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -484,6 +488,7 @@ data: period: 10s metricsets: - memory + system.hostfs: '/hostfs' - data_stream: dataset: system.network type: metrics @@ -504,19 +509,21 @@ data: process.include_cpu_ticks: false metricsets: - process - process.include_cpu_ticks: false + system.hostfs: '/hostfs' - data_stream: dataset: system.process_summary type: metrics period: 10s metricsets: - process_summary + system.hostfs: '/hostfs' - data_stream: dataset: system.socket_summary type: metrics period: 10s metricsets: - socket_summary + system.hostfs: '/hostfs' - data_stream: type: metrics dataset: system.uptime diff --git a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-ksm-daemonset-configmap.yaml b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-ksm-daemonset-configmap.yaml index 9bfae8731c4..cd6db19e163 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-ksm-daemonset-configmap.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-ksm-daemonset-configmap.yaml @@ -211,6 +211,7 @@ data: - normalized_percentages metricsets: - cpu + system.hostfs: '/hostfs' - data_stream: dataset: system.diskio type: metrics @@ -218,12 +219,14 @@ data: diskio.include_devices: null metricsets: - diskio + system.hostfs: '/hostfs' - data_stream: dataset: system.filesystem type: metrics period: 1m metricsets: - filesystem + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -233,6 +236,7 @@ data: period: 1m metricsets: - fsstat + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -249,6 +253,7 @@ data: period: 10s metricsets: - memory + system.hostfs: '/hostfs' - data_stream: dataset: system.network type: metrics @@ -269,19 +274,21 @@ data: process.include_cpu_ticks: false metricsets: - process - process.include_cpu_ticks: false + system.hostfs: '/hostfs' - data_stream: dataset: system.process_summary type: metrics period: 10s metricsets: - process_summary + system.hostfs: '/hostfs' - data_stream: dataset: system.socket_summary type: metrics period: 10s metricsets: - socket_summary + system.hostfs: '/hostfs' - data_stream: type: metrics dataset: system.uptime diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-ksm-daemonset-configmap.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-ksm-daemonset-configmap.yaml index 9bfae8731c4..cd6db19e163 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-ksm-daemonset-configmap.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-ksm-daemonset-configmap.yaml @@ -211,6 +211,7 @@ data: - normalized_percentages metricsets: - cpu + system.hostfs: '/hostfs' - data_stream: dataset: system.diskio type: metrics @@ -218,12 +219,14 @@ data: diskio.include_devices: null metricsets: - diskio + system.hostfs: '/hostfs' - data_stream: dataset: system.filesystem type: metrics period: 1m metricsets: - filesystem + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -233,6 +236,7 @@ data: period: 1m metricsets: - fsstat + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -249,6 +253,7 @@ data: period: 10s metricsets: - memory + system.hostfs: '/hostfs' - data_stream: dataset: system.network type: metrics @@ -269,19 +274,21 @@ data: process.include_cpu_ticks: false metricsets: - process - process.include_cpu_ticks: false + system.hostfs: '/hostfs' - data_stream: dataset: system.process_summary type: metrics period: 10s metricsets: - process_summary + system.hostfs: '/hostfs' - data_stream: dataset: system.socket_summary type: metrics period: 10s metricsets: - socket_summary + system.hostfs: '/hostfs' - data_stream: type: metrics dataset: system.uptime diff --git a/deploy/kubernetes/elastic-agent-kustomize/ksm-hints/elastic-agent-standalone/elastic-agent-standalone-daemonset-configmap.yaml b/deploy/kubernetes/elastic-agent-kustomize/ksm-hints/elastic-agent-standalone/elastic-agent-standalone-daemonset-configmap.yaml index 46cc127268a..422bf8b417c 100644 --- a/deploy/kubernetes/elastic-agent-kustomize/ksm-hints/elastic-agent-standalone/elastic-agent-standalone-daemonset-configmap.yaml +++ b/deploy/kubernetes/elastic-agent-kustomize/ksm-hints/elastic-agent-standalone/elastic-agent-standalone-daemonset-configmap.yaml @@ -415,6 +415,7 @@ data: - normalized_percentages metricsets: - cpu + system.hostfs: '/hostfs' - data_stream: dataset: system.diskio type: metrics @@ -422,12 +423,14 @@ data: diskio.include_devices: null metricsets: - diskio + system.hostfs: '/hostfs' - data_stream: dataset: system.filesystem type: metrics period: 1m metricsets: - filesystem + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -437,6 +440,7 @@ data: period: 1m metricsets: - fsstat + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -453,6 +457,7 @@ data: period: 10s metricsets: - memory + system.hostfs: '/hostfs' - data_stream: dataset: system.network type: metrics @@ -473,19 +478,21 @@ data: process.include_cpu_ticks: false metricsets: - process - process.include_cpu_ticks: false + system.hostfs: '/hostfs' - data_stream: dataset: system.process_summary type: metrics period: 10s metricsets: - process_summary + system.hostfs: '/hostfs' - data_stream: dataset: system.socket_summary type: metrics period: 10s metricsets: - socket_summary + system.hostfs: '/hostfs' - data_stream: type: metrics dataset: system.uptime diff --git a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml index 0797b92080a..883a283725e 100644 --- a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml @@ -443,6 +443,7 @@ data: - normalized_percentages metricsets: - cpu + system.hostfs: '/hostfs' - data_stream: dataset: system.diskio type: metrics @@ -450,12 +451,14 @@ data: diskio.include_devices: null metricsets: - diskio + system.hostfs: '/hostfs' - data_stream: dataset: system.filesystem type: metrics period: 1m metricsets: - filesystem + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -465,6 +468,7 @@ data: period: 1m metricsets: - fsstat + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -481,6 +485,7 @@ data: period: 10s metricsets: - memory + system.hostfs: '/hostfs' - data_stream: dataset: system.network type: metrics @@ -501,19 +506,21 @@ data: process.include_cpu_ticks: false metricsets: - process - process.include_cpu_ticks: false + system.hostfs: '/hostfs' - data_stream: dataset: system.process_summary type: metrics period: 10s metricsets: - process_summary + system.hostfs: '/hostfs' - data_stream: dataset: system.socket_summary type: metrics period: 10s metricsets: - socket_summary + system.hostfs: '/hostfs' - data_stream: type: metrics dataset: system.uptime diff --git a/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset-configmap.yaml b/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset-configmap.yaml index 4d837d4775b..4685069f1d5 100644 --- a/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset-configmap.yaml +++ b/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset-configmap.yaml @@ -443,6 +443,7 @@ data: - normalized_percentages metricsets: - cpu + system.hostfs: '/hostfs' - data_stream: dataset: system.diskio type: metrics @@ -450,12 +451,14 @@ data: diskio.include_devices: null metricsets: - diskio + system.hostfs: '/hostfs' - data_stream: dataset: system.filesystem type: metrics period: 1m metricsets: - filesystem + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -465,6 +468,7 @@ data: period: 1m metricsets: - fsstat + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -481,6 +485,7 @@ data: period: 10s metricsets: - memory + system.hostfs: '/hostfs' - data_stream: dataset: system.network type: metrics @@ -501,19 +506,21 @@ data: process.include_cpu_ticks: false metricsets: - process - process.include_cpu_ticks: false + system.hostfs: '/hostfs' - data_stream: dataset: system.process_summary type: metrics period: 10s metricsets: - process_summary + system.hostfs: '/hostfs' - data_stream: dataset: system.socket_summary type: metrics period: 10s metricsets: - socket_summary + system.hostfs: '/hostfs' - data_stream: type: metrics dataset: system.uptime diff --git a/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-ksm-daemonset-configmap.yaml b/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-ksm-daemonset-configmap.yaml index 9bfae8731c4..cd6db19e163 100644 --- a/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-ksm-daemonset-configmap.yaml +++ b/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-ksm-daemonset-configmap.yaml @@ -211,6 +211,7 @@ data: - normalized_percentages metricsets: - cpu + system.hostfs: '/hostfs' - data_stream: dataset: system.diskio type: metrics @@ -218,12 +219,14 @@ data: diskio.include_devices: null metricsets: - diskio + system.hostfs: '/hostfs' - data_stream: dataset: system.filesystem type: metrics period: 1m metricsets: - filesystem + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -233,6 +236,7 @@ data: period: 1m metricsets: - fsstat + system.hostfs: '/hostfs' processors: - drop_event.when.regexp: system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/) @@ -249,6 +253,7 @@ data: period: 10s metricsets: - memory + system.hostfs: '/hostfs' - data_stream: dataset: system.network type: metrics @@ -269,19 +274,21 @@ data: process.include_cpu_ticks: false metricsets: - process - process.include_cpu_ticks: false + system.hostfs: '/hostfs' - data_stream: dataset: system.process_summary type: metrics period: 10s metricsets: - process_summary + system.hostfs: '/hostfs' - data_stream: dataset: system.socket_summary type: metrics period: 10s metricsets: - socket_summary + system.hostfs: '/hostfs' - data_stream: type: metrics dataset: system.uptime