title: Wireshark - How to filter on JSON content not sent over HTTP
body: <p>I have a windows service that uses winsock communicating to another windows service that uses winsock. We are talking over TCP/IP using JSON. </p>
  
  <p>I am trying to prove that my service is behaving properly and that the service it communicates to is not sending the expected data.</p>
  
  <p>I set up wireshark to capture on the Ethernet card I am using on my local machine and filter on ip.addr ==  and I can see the traffic.</p>
  
  <p>I am expecting messages that contain "Message One" and I can see them, thousands of them.
  While I am receiving all those, I expect a few messages that contain "Message Two"</p>
  
  <p>How do I set up the filter to prove that I am not receiving the "Message Two" messages?</p>
  
  <p>I Googled a little bit and someone said use data-text-lines contains "Message Two", but that doesn't work. I can verify it doesn't work by looking at the messages that contain "Message One" and then filtering data-text-line contains "Message One" and they all disappear when they shouldn't. I have a feeling that is for http only.</p>
  
  <p>What do I use for a filter?</p>
  
  <hr>
  
  <p>EDIT - To reply to v.j's response and have the ability to upload an img:</p>
  
  <p>I do not see the "Expression" button. Here are some screenshots.</p>
  
  <p><a href="https://i.stack.imgur.com/NeaLN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NeaLN.png" alt="Analyze menu"></a>
  <a href="https://i.stack.imgur.com/SXRWb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SXRWb.png" alt="Display Filters..."></a></p>