We recommend that before configuring a capture filter, you will carefully design what you want to capture, and prepare your filter for this. Don't forget—what doesn't pass the filter, will be lost.
There are some Wireshark predefined filters that you can use, or you can configure it yourself as described in the next recipe.
For configuring capture filters, open Wireshark, and follow the steps in the recipe.
For configuring capture filters before starting with the capture, go through the following steps: