enableFlowLog
    • PDF

    enableFlowLog

    • PDF

    Article summary

    Available in VPC

    Overview

    Activate FlowLog.

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Determines the Region in which the network interface list is queried
    regionCode can be acquired through the getRegionList action.
    Default: select the first Region in the getRegionList query result.
    networkInterfaceNoYesStringNetwork interface number
    networkInterfaceNo can be acquired through the getNetworkInterfaceList action.
    collectActionTypeCodeYesStringCollection action type Allow (ALLOW), Deny (DENY), All (ALL)
    Options : ALLOW, DENY, ALL
    collectIntervalMinuteNoIntegerMin: 5, Max: 15Collection interval (minutes)
    Default : 15
    storageTypeCodeNoStringStorage type. Object storage (OBJT)
    Default : OBJT
    storageBucketNameYesStringName of object storage buckets to store FlowLog traffic
    bucketName can be acquired through the ListBuckets action.
    storageBucketDirectoryNameNoStringCan combine English letters, numbers, and underscores (_)
    Length limit 100
    Directory name in object storage bucket to store FlowLog traffic
    Default: VPC_FLOW_LOG
    responseFormatTypeNoString- Format type of response result
    Options : xml | json
    Default : xml

    Responses

    Response bodies

    Success

    Failure

    ErrorsError messageDescription
    1000101there are no required parameter (networkInterfaceNo)Enter the required parameter networkInterfaceNo
    1000102there are no required parameter (storageBucketName)Enter the required parameter storageBucketName
    1099000parameter value is not validInvalid parameter
    (networkInterfaceNo, storageBucketName, storageBucketDirectoryName)
    1000100failed to applied flowLogFailed to activate FlowLog

    Examples

    Request examples

    GET {API_URL}/enableFlowLog
    ?regionCode=KR
    &networkInterfaceNo=***87
    &collectActionTypeCode=ALLOW
    &collectIntervalMinute=10
    &storageTypeCode=OBJT
    &storageBucketName=myBucket**Name
    

    Response examples

     <enableFlowLogResponse>
        <requestId>4a457fad-fa00-4294-ad63-ac406ef9d159</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <flowLogConfigurationList>
          <FlowLogConfiguration>
            <networkInterfaceNo>=***87</networkInterfaceNo>
            <collectActionType>
              <code>ALLOW</code>
              <codeName>Allow</codeName>
            </collectActionType>
            <collectIntervalMinute>10</collectIntervalMinute>
            <storageType>
              <code>OBJT</code>
              <codeName>Object Storage</codeName>
            </storageType>
            <storageBucketName>myBucket**Name</storageBucketName>
            <storageBucketDirectoryName>VPC_FLOW_LOG</storageBucketDirectoryName>
          </FlowLogConfiguration>
        </flowLogConfigurationList>
      </enableFlowLogResponse>
    

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.