Skip to content

Host & Process Forensics (`host`)

inputs.host provides cross-platform host metrics and T0 live process forensics across Linux, macOS, and Windows with zero runtime dependencies.

If inputs is omitted from config.yml, Ketos Agent automatically enables a default host instance.

inputs:
host:
- id: default
interval: 5s # Optional; inherits global.interval
root_path: "" # Optional; set to /hostfs when monitoring host from a container
mount_point: "/" # Optional; defaults to "/" on Unix or "C:\" on Windows
top_processes_limit: 10 # Optional; default 10 (max 50); set < 0 to disable process scan
Field Type Default Description
id string default Instance ID (default omits prefix; other instances use host.<id>.)
interval duration global.interval Collection interval
root_path string "" Mounted host root path inside containers (maps /proc and /sys)
mount_point string / (C:\ on Windows) Filesystem usage & inode mount point with 3s stuck-mount protection
top_processes_limit int 10 Number of Top processes captured on trigger (max 50, < 0 disables)

Subsystem Metric Unit Description
CPU cpu.usage_pct % Total CPU utilization
cpu.user_pct % User-space CPU percentage
cpu.sys_pct % Kernel-space CPU percentage
cpu.iowait_pct % I/O wait percentage
cpu.steal_pct % Hypervisor steal percentage
Memory mem.usage_pct % Physical memory utilization
mem.avail_bytes B Available memory bytes
mem.cached_bytes B Page cache bytes
mem.swap_usage_pct % Swap utilization
mem.swap_in_ps / mem.swap_out_ps /s Swap pages in / out per second
Load load.1m / load.5m / load.15m - 1 / 5 / 15-minute load averages
Filesystem disk.usage_pct % Mount point disk usage
disk.inode_usage_pct % Mount point inode usage
Disk I/O disk.read_bps / disk.write_bps B/s Physical disk read / write throughput (filters loop/ram/dm-/sr/zram)
disk.io_util_pct % Peak disk I/O utilization
Network net.rx_bps / net.tx_bps B/s NIC receive / transmit throughput (filters lo/docker*/veth*/br-*)
net.rx_err_ps / net.tx_err_ps /s Receive / transmit error packets per second
net.rx_drop_ps / net.tx_drop_ps /s Receive / transmit dropped packets per second
Processes & System proc.total / proc.running / proc.blocked - Total / running / blocked processes
system.uptime_sec s System uptime in seconds
Linux Kernel (Linux only) psi.cpu_some_10s / psi.mem_some_10s / psi.io_some_10s % Linux PSI pressure stall indicators (/proc/pressure/*)
fd.allocated / fd.usage_pct - / % System-wide allocated file descriptors & usage
net.tcp_inuse / net.tcp_tw / net.tcp_retrans_ps - / /s Active TCP sockets, TIME_WAIT sockets, retransmits/s
vm.oom_kill_delta / vm.pgmajfault_ps - / /s OOM kill count delta & major page fault rate

Executed on demand only at T0 when an incident triggers (zero steady-state process scanning):

  • top_processes: Single-pass process table scan ranked automatically by the triggering dimension—CPU for CPU alerts, memory for memory alerts, or deduplicated Top CPU + Top Memory for compound rules.
  • stuck_mounts: Automatically included when a mount point check times out (such as an unresponsive NFS share).