Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getFlowLogConfigurationList

Prev Next

Available in VPC

Get the flow log configuration information of a network interface.

Syntax

The getFlowLogConfigurationList syntax is as follows:

./ncloud vserver getFlowLogConfigurationList \
    --networkInterfaceNoList <nic-no-list> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getFlowLogConfigurationList.

Required options

The following options are required for getFlowLogConfigurationList.

Options Type Required Description
--networkInterfaceNoList List Required Network interface number list
  • You can enter multiple items separated by spaces. (e.g., --networkInterfaceNoList 1234 2345)
  • See getNetworkInterfaceList.

Common options

For information about the options common to all vserver subcommands, see Server (VPC) options.

Examples

If the request to retrieve flow log settings is successful, the flow log collection settings and storage information for each network interface are returned.

Command

The command example is as follows:

./ncloud vserver getFlowLogConfigurationList \
    --networkInterfaceNoList 56789012 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getFlowLogConfigurationListResponse": {
    "totalRows": 1,
    "flowLogConfigurationList": [
      {
        "networkInterfaceNo": "56789012",
        "collectActionType": {
          "code": "ALL",
          "codeName": "All"
        },
        "collectIntervalMinute": 5,
        "storageType": {
          "code": "OBJT",
          "codeName": "Object Storage"
        },
        "storageBucketName": "my-test-bucket",
        "storageBucketDirectoryName": "myflowlog"
      }
    ],
    "requestId": "4a123456-7890-1234-4567-012345678901",
    "returnCode": "0",
    "returnMessage": "success"
  }
}