These two fields really turbo charge your visibility and investigation capabilities. This article explains how to leverage these in Trisul Network Analytics.
Trisul automatically creates two counter groups called User-ID and App-ID. These meter the following metrics at the global level.
|Total traffic||Total traffic bandwidth used by a User or App|
|Download traffic||Download bandwidth used by per User/App. The Download direction is metered when the flow source IP is an external IP address and the destination-IP is internal. Internal IPs belong to the Home Network configured in Trisul|
|Upload traffic||per-User bandwidth out of home network to external|
|Internal traffic||per-User bandwidth where both the source and destination are inside the home network|
|Transit traffic||where both source and destination are outside the home network. You will typically not find data here in normal enterprise environments|
|Flows||Total number of flows active per user/app|
To view these metrics
The retro analysis screen looks like below.
The Retro Analysis tools show you the Top-N, Bottom-N, Topper Trend over time, and Pie chart views. The following chart shows you toppers over time.
The default behaviour is to show the Internal and External IP addresses. The NAT is hidden from Trisul , if you wish to see the NAT'd firewall address set the following parameter to FALSE in the Netflow configuration file
The next step is to create a flow tagger that adds the User-ID and App-ID to every flow stored in Trisul.
Login as admin, then go to profile0 > Flow Taggers > Create a new Flow Tagger. Then create an AUTO:userid flow tagger (see docs) to add the User-ID counter group keys to the flow. Use a Tagger Group of
user as shown below
Do the same for App-ID. Now restart Trisul. From this point every flow will be tagged by the User-ID and App-ID.
From Tools > Explore Flows
Use the syntax
tag=[user]red\mike to query for flows from user
tag=[app]whatsapp-base to query whatsapp flows.
From Tools > Aggregate Flows
tag=[user]red\mike to aggregate for flows from user
This shows top IPs, top Applications, and other aggregated information for the user. A complete picture.
A sample is shown below.
User-ID and App-ID attributes open up very powerful possibilities for visibility and investigation. Using the flexible tools offered by the Trisul platform you can customize in a variety of ways. Other tools you can use are “Filtered Counter Groups” if you want to zoom in on a particular user or app, “Cross keys” to monitor User App dataflows, “Flow Trackers” to zoom in on top flows from a particular user, etc. The scripting API also offers unlimited ways to craft your own tooling.