mnx-stats-file-stat
Retrieves file collection and detection time-series statistics by unit (monthly, weekly, daily, hourly) for the given period from the SANDS Lab MNX device.
mnx-stats-file-stat [profile=VALUE] [duration=VALUE] [from=VALUE] [to=VALUE] iface-name=VALUE unit=VALUE
- profile=VALUE
- Optional. MNX connect profile code
- duration=VALUE
- Optional. Time range (e.g. 7d, 1h, 30m)
- from=VALUE
- Optional. Start time (yyyyMMddHHmmss)
- to=VALUE
- Optional. End time (yyyyMMddHHmmss)
- iface-name=VALUE
- Required. Network interface name (e.g. Net-1)
- unit=VALUE
- Required. Aggregation unit: monthly, daily, weekly, hourly
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect profile | MNX connect profile code |
| collect_total | Long | Collect Total | e.g. 1024 |
| collect_stats | List | Collect Stats | e.g. [{"key": "2026-04-20", "file_count": 120}, {"key": "2026-04-21", "file_count": 158}] |
| detect_total | Long | Detect Total | e.g. 12 |
| detect_stats | List | Detect Stats | e.g. [{"key": "2026-04-20", "file_count": 1}, {"key": "2026-04-21", "file_count": 3}] |