Operating-system telemetry helps distinguish a busy host from a failing application. The System integration adds host metrics and operating-system logs to an Elastic Agent policy in Fleet, covering resources such as CPU, memory, filesystems and network interfaces.

Fleet distributes a policy change to every agent enrolled in that policy. System installs its assets in Elasticsearch and Kibana, while the agents collect the host data. The policy namespace groups the resulting data streams, so the same dataset can appear separately for production and development hosts.

An editable policy and a healthy enrolled agent are the starting point. The Kibana account needs permission to manage Fleet policies and integrations and to view the collected data. Policies created with system collection already enabled contain System; adding a second copy can duplicate collection.

Saving the integration starts collection on every host enrolled in the policy. Logs can include usernames and authentication events. Some streams, including auth logs and disk I/O metrics, require an agent with root privileges. If collection must be rolled back, the saved integration row's Actions menu offers Delete integration; deleting it stops future collection but leaves indexed data.

Steps to add the System integration to an Elastic Agent policy in Fleet:

  1. Open Agent policies in Fleet.
  2. Select the policy assigned to the hosts that need system collection.

    The policy shown here is linux-baseline. Hosted policies can restrict changes. An existing System integration can be edited instead of added again.

  3. Click Add integration on the policy's Integrations tab.
  4. Open the Select integrations picker.

    The flyout identifies the policy receiving the integration. This route adds directly to that policy without creating a new one.

  5. Enter System in the integration picker.
  6. Select System from the results.
  7. Set Integration name to a descriptive value such as linux-system.

    The name identifies this integration configuration. The separate log-source and metric-stream controls are farther down the flyout. Their settings are under Change defaults. File-based logs depend on paths present on the hosts; macOS may need /var/log/system.log, while Linux hosts may use Journald. Windows event collection covers the Application, System and Security channels.

  8. Click Add integration to apply the System settings to the policy.

    The Collect metrics from System instances switch is on by default, including CPU collection. The saved integration inherits the policy's namespace unless it has an override.

  9. Open the enrolled-agent list using the agent count on the saved policy.

    linux-system now appears as System on linux-baseline. Its namespace is production, and the policy revision has increased to 3.

  10. Open Data streams once the agent is Healthy on the policy's new revision.

    Updating can appear while the agent applies the change. An Offline or Unhealthy agent needs attention before its collection can be checked.
    Related: How to monitor Elastic Agent health in Fleet

  11. Enter system.cpu in Filter data streams.
  12. Confirm that system.cpu has recent Last activity in the policy's namespace.

    The metrics row in production corresponds to metrics-system.cpu-production; a policy using default produces metrics-system.cpu-default instead. Recent activity shows that CPU measurements are reaching Elasticsearch. An absent row or an old timestamp does not establish current collection. For a per-host search, Discover can filter data_stream.dataset : "system.cpu" together with the host name.
    Related: How to filter data in Kibana Discover

Share this guide