Atlantiraptor Docs

process_tracker

Type: Function

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.

Argument Type Description
sync_query StoredQuery Source for full tracker updates. Query must emit rows with the ProcessTrackerUpdate shape - usually uses pslist() to form a full sync.
sync_period int64 How often to do a full sync (default 5000 msec).
update_query StoredQuery An Event query that produces live updates of the tracker state.
max_size uint64 Maximum size of process tracker LRU.
max_expiry uint64 Expire process records older than this much.
enrichments list of string One or more VQL lambda functions that can enrich the data for the process.
cache string The path to the cache file - if not set we use a memory based cache.

Platforms: macOS, Linux, Windows