Creating a capture filter
Create a capture filter that you can use with a Virtual Test Access Point (VTAP) or a VCN flow log.
You can also define a capture filter when creating a VTAP or VCN flow log. This procedure assumes you're creating a capture filter independently.
See Virtual Test Access Points and VCN Flow Logs for more information about capture filters and feature overviews.
Use the capture-filter create command and required parameters to create a capture filter:
oci network capture-filter create --compartment-id compartment_OCID --filter-type VTAP or FLOWLOG ... [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the CreateCaptureFilter operation to create a capture filter.