Wireshark display filter cheatsheet

Build your filter using these primitives, then submit it on the parent page.

HTTP fields

FieldWhat it matches
http.request.methodGET, POST, etc.
http.request.uriPath + query only (no host)
http.request.full_urischeme + host + path
http.user_agentUser-Agent header value
http.hostHost header
http.response.code200, 302, 404, …

Operators

==      equality            http.host == "example.com"
!=      inequality          http.response.code != 200
contains  substring match   http.request.uri contains "admin"
matches   regex             http.user_agent matches "(?i)sqlmap"
&&      logical AND
||      logical OR
!       NOT

Example tasks

Show only POST requestshttp.request.method == "POST"
Show 4xx responseshttp.response.code >= 400 && http.response.code < 500
Show requests with sqlmap UAhttp.user_agent contains "sqlmap"

Your task is in the left pane.