Skip to content

Commit

Permalink
Unirec output: add HTTP user agent and remove HTTP Method ID to Metho…
Browse files Browse the repository at this point in the history
…d Mask

The user agent is required by V. Bartos and the mask is proper field
identification used by Flowmon Exporter configuration.
  • Loading branch information
Lukas955 committed Mar 13, 2021
1 parent ee09740 commit 7fd58ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extra_plugins/output/unirec/config/unirec-elements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ HTTP_REQUEST_REFERER string e16982id505
HTTP_RESPONSE_STATUS_CODE uint32 e16982id506 # HTTP response status code
HTTP_RESPONSE_CONTENT_TYPE string e16982id507 # HTTP response content type

FME_HTTP_METHOD_ID uint16 flowmon:httpMethodID
FME_HTTP_UA_OS uint16 flowmon:httpUaOs
FME_HTTP_UA_OS_MAJ uint16 flowmon:httpUaOsMaj
FME_HTTP_UA_OS_MIN uint16 flowmon:httpUaOsMin
Expand All @@ -136,9 +135,11 @@ FME_HTTP_UA_APP uint16 flowmon:httpUaApp
FME_HTTP_UA_APP_MAJ uint16 flowmon:httpUaAppMaj
FME_HTTP_UA_APP_MIN uint16 flowmon:httpUaAppMin
FME_HTTP_UA_APP_BLD uint16 flowmon:httpUaAppBld
FME_HTTP_METHOD_MASK uint16 flowmon:httpMethodMask
FME_HTTP_REQUEST_HOST string flowmon:httpHost # HTTP(S) request host
FME_HTTP_REQUEST_URL string flowmon:httpUrl # HTTP request url
FME_HTTP_RESPONSE_STATUS_CODE uint32 flowmon:httpStatusCode # HTTP response status code
FME_HTTP_REQUEST_USER_AGENT string flowmon:httpUserAgent

# --- Other fields ---
IPV6_TUN_TYPE uint8 e16982id405 # IPv6 tunnel type
Expand Down

0 comments on commit 7fd58ed

Please sign in to comment.