process_tracker

Function

ArgDescriptionType
sync_querySource for full tracker updates. Query must emit rows with the ProcessTrackerUpdate shape - usually uses pslist() to form a full sync.StoredQuery
sync_periodHow often to do a full sync (default 5000 msec).int64
update_queryAn Event query that produces live updates of the tracker state.StoredQuery
max_sizeMaximum size of process tracker LRU.int64
enrichmentsOne or more VQL lambda functions that can enrich the data for the process.list of string

Description

Install a global process tracker.

The process tracker is an in-memory cache. It has a limited size with older records being expired. This LRU cache size is controlled by the max_size argument. The default is 10k records.

The tracker has two queries: a sync_query and an update_query. The update query resets the internal database.