App Category
Intended to count flow traffic per Fortinet application category (the appcat field of FortiGate traffic logs).
| Property | Value |
|---|---|
| GUID | {2DE5A613-BC31-4C73-1EAA-B527FDD40E7D} |
| Layer | External Data |
| Input | Syslog |
| Key type | Application category name |
| Implementation | Lua — newcg-appcat.lua, fed by forti-dhcp.lua and mmon.lua (apps/analyzers/fortigate-connector) |
| Trisul App | fortigate-connector (install from Trisul Apps) |
| Bucket / Topper | 60 s / 300 s |
| Enabled by default | No. newcg-appcat.lua is not listed in the app's pkg.yaml, so the group is not created unless you add the file. |
What it measures
The design is:
forti-dhcp.luareads FortiGate syslog (Trisul SYSLOG protocol, also in NetFlow tap mode). For a log withappcat=anddstip=, it posts aCAT|<dstip>|<appcat>message.mmon.luakeeps a table of destination IP → category. For each new flow record it looks up the flow's Z-end IP and, on a match, adds the flow bytes to that category.
mmon.lua stores categories only for messages that start with APPCAT, but forti-dhcp.lua sends CAT. The lookup never matches, so this group is not populated by the current code.
Keys
The category text as FortiGate logs it, for example:
| Key | Meaning |
|---|---|
Video/Audio | Flows to IPs FortiGate classified as Video/Audio |
Social.Media | Flows to IPs classified as Social.Media |
Special keys
| Key | Meaning |
|---|---|
SYS:GROUP_TOTALS | Sum of every update made to this group in the interval. |
Meter list
| ID | Name | Type | Units | Top | Bottom | Description |
|---|---|---|---|---|---|---|
| 0 | Total | VT_RATE_COUNTER | Bps | 100 | 0 | Flow bytes A→Z plus Z→A. Not populated by the current code. |
| 1 | Recv | VT_RATE_COUNTER | Bps | 100 | 0 | Flow bytes Z→A. Not populated by the current code. |
| 2 | Xmit | VT_RATE_COUNTER | Bps | 100 | 0 | Flow bytes A→Z. Not populated by the current code. |
| 3 | Unused Cardinality counter | VT_GAUGE | Uniques | 20 | 20 | Reserved cardinality slot. Not populated. |
| 4 | Unused Cardinality counter | VT_GAUGE | Uniques | 20 | 20 | Reserved cardinality slot. Not populated. |