Documentation Index

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

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

getFlowLogConfigurationList

Prev Next

네트워크 인터페이스의 Flow Log 설정 정보를 조회합니다.

구문

getFlowLogConfigurationList 구문은 다음과 같습니다.

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

옵션

getFlowLogConfigurationList 실행 시 지정할 수 있는 옵션을 설명합니다.

필수 옵션

getFlowLogConfigurationList의 필수 옵션입니다.

옵션 타입 필수 여부 설명
--networkInterfaceNoList List Required 네트워크 인터페이스 번호 목록
  • 공백으로 구분하여 여러 개 입력 가능 (예시: --networkInterfaceNoList 1234 2345)
  • getNetworkInterfaceList 참조

공통 옵션

vserver 명령에서 공통으로 사용하는 옵션에 대한 정보는 Server 옵션을 참조해 주십시오.

예시

Flow Log 설정 조회 요청이 성공하면 각 네트워크 인터페이스의 Flow Log 수집 설정과 저장소 정보가 반환됩니다.

명령

명령 예시는 다음과 같습니다.

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

출력

출력 예시는 다음과 같습니다.

{
  "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"
  }
}