The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

getnistats

Prev Next

This command fetches and displays counter specifics related to NI config and metadata export, when integration with Trellix Network Investigator is enabled. This command has no parameters.

Information displayed by the getnistats command includes the following:

  • Counters related to NI config that include configuration polling (requests and responses) made to NI by the Sensor, authentication token error, NI DB fetch error, etc.

  • Counters related to NI metadata that include netflow and metadata export to NI

Syntax:

getnistats

Sample Output:

IntruDbg#> getnistats
NI Config Counters
---------------------------------------
NI Total Config Requests Made Count                      = 51
Total NI Config Response Success Count                   = 51
Total NI Config Response Failure Count                   = 0
NI Config Invalid Appliance Identifier Error Count       = 0
NI Config Invalid Auth Token Error Count                 = 0
NI Config Internal DB Fetch Error Count                  = 0
NI Config Request Timeout Error Count                    = 0
NI Config Internal Failure Count                         = 0
NI Config Bad Gateway Error Count                        = 0

NI Metadata Counters
---------------------------------------
NI Total post requests made to NI device                 = 1446630
NI Netflow Export Success Count                          = 10819822
NI Netflow Metadata Export Success Count                 = 3146125
NI Netflow Export Failure Count                          = 0
NI Netflow Metadata Export Failure Count                 = 0
NI Total post Request to NI device Timeout Count         = 203
NI Netflow Export Timeout Count                          = 253
NI Netflow Metadata Export Timeout Count                 = 9211
NI Netflow Template Create Success Count                 = 10820399
NI Netflow Template Create Failed Count                  = 0
NI Netflow Metadata Template Create Success Count        = 3155636
NI Netflow Metadata Template Create Failed Count         = 0
NI Netflow Memmap Enqueue Success Count                  = 0
NI Netflow Metadata Memmap Enqueue Success Count         = 0
NI Netflow Memmap Enqueue Failure Count                  = 0
NI Netflow Metadata Memmap Enqueue Failure Count         = 0
NI Metadata Authentication Failure Error Count           = 0
NI Metadata Bad Gateway Error Count                      = 222
NI Metadata HTTP Other Error Count                       = 0
NI Metadata CURL Other Error Count                       = 0
NI Messages Discarded Due To Config Update               = 0
NI Metadata invalid event type                           = 0
NI Metadata set timer failed                             = 0
NI Metadata invalid fld len                              = 0
NI Metadata mbuf_mtod() failed                           = 0

Applicable to:

NS-series and Virtual IPS Sensors