---
title: RSA NetWitness Query Syntax Compared to Wireshark Display Filters
description: Wireshark has been around for a long time and the display filters that exist are good reference points to learn about network (packet) traffic as well
---

- [Home](https://mydev.netwitness.com/home)
- Integrations 
    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community 
    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers 
    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners 
    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education 
    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support 
    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

# RSA NetWitness Query Syntax Compared to Wireshark Display Filters

- Home
 */*- [Netwitness blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
*/*- rsa netwitness query syntax compared to wireshark display filters

 23 Aug, 2018

**Author:** EricPartington

Wireshark has been around for a long time and the display filters that exist are good reference points to learn about network (packet) traffic as well as how to navigate around various parts of sessions or streams.

Below you will find a handy reference which allows you to cross-reference many of the common Wireshark filters with their respective [RSA NetWitness](https://www.rsa.com/en-us/products/threat-detection-response/network-security-network-monitoring) queries. 

This is where I pulled the Wireshark display filters from:  [DisplayFilters - The Wireshark Wiki](https://wiki.wireshark.org/DisplayFilters) 

**Show only SMTP (port 25) and ICMP traffic:**

| Wireshark | NetWitness |
| --- | --- |
| tcp.port eq 25 or icmp | service=25 \|\| ip.proto=1,58 -\> (icmp or ipv6 icmp) |
|  | tcp.dstport=25 \|\| ip.proto=1,58 -\> (icmp or ipv6 icmp) |

**Show only traffic in the LAN (192.168.x.x), between workstations and servers -- no Internet:**

| Wireshark | NetWitness |
| --- | --- |
| ip.src==192.168.0.0/16 and ip.dst==192.168.0.0/16 | ip.src=192.168.0.0/16 && ip.dst=192.168.0.0/16 |
|  | direction='lateral' (RFC1918 to RFC1918) |

**Filter on Windows -- Filter out noise, while watching Windows Client - DC exchanges**

| Wireshark | NetWitness |
| --- | --- |
| smb \|\| nbns \|\| dcerpc \|\| nbss \|\| dns | service=139,137,135,139,53 |

**Match HTTP requests where the last characters in the uri are the characters "gl=se":**

| Wireshark | NetWitness |
| --- | --- |
| http.request.uri matches "gl=se$" | service=80 && query ends 'gl=se' |

**Filter by a protocol ( e.g. SIP ) and filter out unwanted IPs:**

| Wireshark | NetWitness |
| --- | --- |
| ip.src != xxx.xxx.xxx.xxx && ip.dst != xxx.xxx.xxx.xxx && sip | service=5060 && ip.src!=xxx.xxx.xxx.xxx && ip.dst != xxx.xxx.xxx.xxx |

**ip.addr == 10.43.54.65 equivalent to**

| Wireshark | NetWitness |
| --- | --- |
| ip.src == 10.43.54.65 or ip.dst == 10.43.54.65 | ip.all=10.43.54.65 |
|  | ip.src=10.43.54.65 \|\| ip.dst=10.43.54.65 |

Here's where I pulled some additional filters for mapping:  [HTTP Packet Capturing to debug Apache](https://www.askapache.com/software/sniff-http-to-debug-apache-htaccess-and-httpdconf/) 

**View all http traffic**

| Wireshark | NetWitness |
| --- | --- |
| http | service=80 |

**View all flash video stuff**

| Wireshark | NetWitness |
| --- | --- |
| http.request.uri contains "flv" or http.request.uri contains "swf" or http.content\_type contains "flash" or http.content\_type contains "video" | service=80 && ( query contains 'flv' \|\| query contains 'swf' \|\| content contains 'flash' \|\| content contains 'video') |

**Show only certain responses**

| Wireshark | NetWitness |
| --- | --- |
| http.response.code == 404 | service=80 && error begins 404 |
|  | service=80 && result.code ='404' |
| http.response.code==200 | service=80 && error !exists (200 are not explicitly captured) |
|  | service=80 && result.code !exists (200 are not explicitly captured) |

**Show only certain http methods**

| Wireshark | NetWitness |
| --- | --- |
| http.request.method == "POST" \|\| http.request.method == "PUT" | service=80 && action='post','put' |

**Show only filetypes that begin with "text"**

| Wireshark | NetWitness |
| --- | --- |
| http.content\_type\[0:4\] == "text" | service=80 && filetype begins 'text' |
|  | service=80 && filename begins 'text' |

**Show only javascript**

| Wireshark | NetWitness |
| --- | --- |
| http.content\_type contains "javascript" | service=80 && content contain 'javascript' |

**Show all http with content-type="image/(gif|jpeg|png|etc)" §**

| Wireshark | NetWitness |
| --- | --- |
| http.content\_type\[0:5\] == "image" | service=80 && content ='image/gif','image/jpeg','image/png','image/etc' |

**Show all http with content-type="image/gif" §**

| Wireshark | NetWitness |
| --- | --- |
| http.content\_type == "image/gif" | service=80 && content ='image/gif' |

Hope this is helpful for everyone and as always, Happy Hunting!

 Topic:

[0 Comment](https://mydev.netwitness.com/netwitness-security-llc-blog/rsanetwitnessquerysyntaxcomparedtowiresharkdisplayfilters#comments-listing)

###### CATEGORIES

- All
- [Blog](https://mydev.netwitness.com/netwitness-security-llc-blog/tag/blog)

##### RECENT POST

[Netwitness Platform Integration with AWS Application Load Balancer Access logs](https://mydev.netwitness.com/netwitness-security-llc-blog/netwitnessplatformintegrationwithawsapplicationloadbalanceraccesslogs)

 23 Jul, 2024

[The Sky Is Crying: The Wake of the 19 JUL 2024 CrowdStrike Content Update for Microsoft Windows and We Should Take Away From It](https://mydev.netwitness.com/netwitness-security-llc-blog/715124)

 20 Jul, 2024

[DDoS using BotNet Use Case](https://mydev.netwitness.com/netwitness-security-llc-blog/ddosusingbotnetusecase)

 7 May, 2024

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "EricPartington",
    "url" : "https://mydev.netwitness.com/netwitness-security-llc-blog/author/ericpartington"
  },
  "dateModified" : "2026-03-20T11:02:03.363Z",
  "datePublished" : "2018-08-23T04:00:00.000Z",
  "headline" : "RSA NetWitness Query Syntax Compared to Wireshark Display Filters",
  "mainEntityOfPage" : {
    "@id" : "https://mydev.netwitness.com/netwitness-security-llc-blog/rsanetwitnessquerysyntaxcomparedtowiresharkdisplayfilters",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://mydev.netwitness.com/hubfs/netwitness-logo-CMYK.jpg"
    }
  }
}
```