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 you create a VTAP or VCN flow log. This procedure assumes that you're creating a capture filter independently.
For more information about capture filters and feature overviews, see Virtual Test Access Points (VTAPs) and Flow Logs.
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.