Skip to main content

User-ID

Counts traffic per user name, as exported in flow records by Palo Alto Networks firewalls (User-ID) and by Nokia CGNAT devices.

PropertyValue
GUID{86A8880D-F4B2-4E49-A4FA-718880CAA976}
LayerFlow Record
InputFlows
Key typeUser name (string)
ImplementationLua — nf-userid.lua (trisul_probe/sysplugs/flowhandlers); updated by CPINetflowMeter (PINetflowMeter.cpp)
Bucket / Topper60 s / 300 s
Enabled by defaultYes

What it measures​

  • The probe reads the user name from one of two fields:
    • Palo Alto: enterprise field 56702 (64 bytes) when the enterprise number is 25461. The probe drops the value if it contains non-printable characters. The shipped static templates 1257 and 1261 carry this field.
    • Nokia: field 32861, a variable-length string. It needs AllowVariableLengthStrings=TRUE (default FALSE).
  • Each record with a non-empty user name adds its bytes to Total, adds one flow, and adds its bytes to one direction meter. Records without a user name are not counted. sFlow does not update this group.
  • Direction uses the probe's Home Networks for the source and destination IP. HomeASNumbers does not affect it.
  • The config elements MeterUserID and MeterAppID both default to TRUE. Set MeterUserID to FALSE to turn this group off. MeterAppID controls App-ID. See the NetFlow config.
  • IPDR mode does not turn this group off.

Keys​

The key is the user string exactly as the device sends it (at most 63 characters).

KeyMeaning
acme\jsmithPalo Alto user jsmith in domain acme
jsmith@acme.examplePalo Alto user in UPN form
LSN@10.140.242.61Nokia CGNAT subscriber string

Special keys​

KeyMeaning
SYS:GROUP_TOTALSSum of every update made to this group in the interval. One key per record, so this equals traffic that carries a user name.

Meter list​

IDNameTypeUnitsTopBottomDescription
0TotalVT_RATE_COUNTERBps500Sampling-adjusted bytes of records with this user.
1DownloadVT_RATE_COUNTERBps500Bytes where the source is external and the destination is home.
2UploadVT_RATE_COUNTERBps500Bytes where the source is home and the destination is external.
3TransitVT_RATE_COUNTERBps500Bytes where both ends are external.
4InternalVT_RATE_COUNTERBps500Bytes where both ends are home.
5FlowsVT_COUNTERflws500Number of flow records with this user.
6Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
7Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
  • App-ID: the application from the same Palo Alto records.
  • Hosts