Skip to main content

HTTP Methods

Counts HTTP requests, keyed by the request method (verb).

PropertyValue
GUID{2A6957EB-4992-46CD-8E49-BE32318669D3}
LayerL7 Application
InputPackets
Key typeHTTP method string
ImplementationNative C++ — CPICGHTTPMethods (trisul_probe/src/sysplugs/httpmeters/PICGHTTPMethods.cpp) defines the group; CFilterTCPReass::ProcessHTTPHeader (trisul_probe/src/pcappipe/FilterTCPReass.cpp) updates it
Bucket / Topper60 s / 300 s
Enabled by defaultYes

What it measures​

  • TCP reassembly reads the client-to-server stream of each HTTP flow. The client side is the host that sent the SYN.
  • Each request line found adds 1 to the method key. Pipelined and keep-alive requests are counted one by one.
  • Trisul detects a request only when it starts with one of GET /, POST , PUT , DELETE , TRACE , OPTIONS or HEAD . Other methods such as PATCH or CONNECT are not counted here.
  • Only plain-text HTTP is metered. HTTPS requests are encrypted and do not reach this group.
  • Requires TCP reassembly (on by default). Reassembly is off in NETFLOW_TAP mode.

Keys​

The key is the text of the request line before the first space, exactly as sent.

KeyMeaning
GETGET requests
POSTPOST requests
HEADHEAD requests
OPTIONSOPTIONS requests, for example CORS preflight

No labels are preloaded. The label is the same as the key.

Special keys​

KeyMeaning
SYS:GROUP_TOTALSSum of every update to this group in the interval, that is, the total number of HTTP requests seen.

Meter list​

IDNameTypeUnitsTopBottomDescription
0TotalVT_COUNTERhits2010+1 for each HTTP request line with this method.
1uniqsVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
2uniqsVT_GAUGEUniques2020Reserved cardinality slot. Not populated.