--- title: "NetworkSessions collector" slug: "networksessions-collector" tags: ["EDR with Forensics (EDRF)", "Endpoint Security"] updated: 2026-08-26T19:31:23Z published: 2026-08-26T19:31:23Z canonical: "docs.trellix.com/networksessions-collector" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # NetworkSessions collector The **NetworkSessions** collector gets information of currently open network sessions (connections made from a remote computer to a shared resource) on the device. > [!WARNING] > Important > > In some Linux distributions (CentOS 7, Oracle Linux Server 7, and RHEL Desktop and Server 7), the net command is not available by default. You must install the samba-common-tools package by executing the following command: `yum install samba-common-tools` **Collector output** | Field | Type | Description | | --- | --- | --- | | **computer** | String | IP or host name of remote device. | | **user** | String | User logged on to host through the network session. | | **client** | String | Remote session command provider (Windows only). | | **file** | String | Path of local resource being accessed by client (Windows only). | | **idletime** | String | Time since last session activity (Windows only). | **Example: Show which shared resources are being accessed by user name "owilde"** ``` NetworkSessions where NetworkSessions user equals "owilde" ``` **Network sessions by non-system drives or IPC$ shares** ``` NetworkSessions computer, user, client, file    WHERE NetworkSessions file not ends with "$" ``` **Network sessions by CIFS share type** ``` NetworkSessions computer, user, client, file    WHERE NetworkSessions file equals "cifsshare" ``` **Network sessions by specific user - single** ``` NetworkSessions computer, user, client, file    WHERE NetworkSessions user equals "alice" ``` **Network sessions by specific user - many** ``` NetworkSessions computer, user, client, file    WHERE NetworkSessions user equals "alice"        OR NetworkSessions user equals "bob"        OR NetworkSessions user equals "frank" ``` **Network sessions by source system - single** ``` NetworkSessions computer, user, client, file    WHERE NetworkSessions computer equals "PC1" ``` **Example: Show which shared resources are being accessed by user name "owilde"** ``` NetworkSessions where NetworkSessions user equals "owilde" ``` **Network sessions by non-system drives or IPC$ shares** ``` NetworkSessions computer, user, client, file    WHERE NetworkSessions file not ends with "$" ``` **Network sessions by CIFS share type** ``` NetworkSessions computer, user, client, file    WHERE NetworkSessions file equals "cifsshare" ``` **Network sessions by specific user - single** ``` NetworkSessions computer, user, client, file    WHERE NetworkSessions user equals "alice" ``` **Network sessions by specific user - many** ``` NetworkSessions computer, user, client, file    WHERE NetworkSessions user equals "alice"        OR NetworkSessions user equals "bob"        OR NetworkSessions user equals "frank" ``` **Network sessions by source system - single** ``` NetworkSessions computer, user, client, file    WHERE NetworkSessions computer equals "PC1" ```