Cloud Log Analytics overview
    • PDF

    Cloud Log Analytics overview

    • PDF

    Article summary

    Available in Classic and VPC

    Cloud Log Analytics is a NAVER Cloud Platform service that allows you to collect, analyze, and store various logs generated while using NAVER Cloud Platform services. The Cloud Log Analytics service provides APIs for log management and analysis in a RESTful form.

    Common Cloud Log Analytics settings

    The following describes commonly used request and response formats in Cloud Log Analytics APIs.

    Request

    The following describes the common request format.

    API URL

    The request API URL is as follows.

    https://cloudloganalytics.apigw.ntruss.com
    
    Note

    When entering the Region code in the request path parameter, enter it according to the platform and Region environment in use.

    Request headers

    The following describes the request headers.

    FieldRequiredDescription
    x-ncp-apigw-timestampRequiredThis is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC
  • Request is considered invalid if the timestamp differs from the current time by more than 5 minutes
  • x-ncp-apigw-api-keyRequiredKey issued by the API Gateway service of NAVER Cloud Platform
    x-ncp-iam-access-keyRequiredAccess key issued on NAVER Cloud Platform
  • Issue and check access key: See Create authentication key
  • Issue and check access key for sub account: See Create sub account
  • x-ncp-apigw-signature-v2RequiredBase64-encoded signature that encrypts the request information with a secret key that maps to the access key issued on NAVER Cloud Platform, using the HMAC encryption algorithm (HmacSHA256)
  • Issue and check secret key: See Create authentication key
  • Create signature: See Create signature
  • Content-typeOptionalRequest data format
  • application/json
  • AcceptOptionalResponse data format
  • application/json
  • Response

    The following describes the common response format.

    Response status codes

    Cloud Log Analytics APIs use NAVER Cloud Platform's common response status codes. For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

    Response example

    The response example is as follows:

    {
      "error": {
        "errorCode": "Integer",
        "message": "String"
      }
    }
    

    Cloud Log Analytics API

    The following describes the APIs provided by the Cloud Log Analytics service.

    APIDescription
    ServerGet the server list in the VPC environment
    Cloud DB for MySQLGet the Cloud DB for MySQL server list in the VPC environment
    Cloud DB for MongoDBGet the Cloud DB for MongoDB server list in the VPC environment
    Cloud DB for MSSQLGet the Cloud DB for MSSQL server list in the VPC environment
    Cloud DB for PostgreSQLGet the Cloud DB for PostgreSQL server list in the VPC environment
    Bare Metal ServerGet the Bare Metal Server server list in the VPC environment
    Ncloud Kubernetes ServiceGet the Ncloud Kubernetes Service server list in the VPC environment
    Search Engine ServiceGet the Search Engine Service server list in the VPC environment
    Cloud Data Streaming ServiceGet the Cloud Data Streaming Service server list in the VPC environment
    ServerGet the server list in the Classic environment
    Cloud DB for MySQLGet the Cloud DB for MySQL server list in the Classic environment
    Cloud DB for MSSQLGet the Cloud DB for MSSQL server list in the Classic environment
    Bare Metal ServerGet the Bare Metal Server list in the Classic environment
    Application Server LauncherGet the Application Server Launcher server list in the Classic environment
    Set server log collectionSet server log collection in the VPC environment
    Disable server log collectionDisable server log collection in the VPC environment
    Set server log collectionSet server log collection in the Classic environment
    Disable server log collectionDisable server log collection in the Classic environment
    Install server log collection agentInstall server log collection agent
    Delete server log collection agentDelete server log collection agent
    Get total log countGet the total number of logs collected
    Get recent log countGet the number of logs collected in the last minute
    Get log count by periodGet the number of logs collected by period
    Get log count by typeGet the number of logs collected by type
    Search logGet collected logs
    View export historyGet the Object Storage export history of collected logs
    ExportExport collected logs to Object Storage
    Get automatic export settings historyGet the automatic Object Storage export history of collected logs
    Set automatic exportSet automatic Object Storage export of collected logs
    Disable automatic exportDisable automatic Object Storage export of collected logs
    Get bucket listGet the list of Object Storage buckets available for exporting collected logs
    Get usageGet Cloud Log Analytics usage

    NAVER Cloud Platform provides a variety of related resources to help users better understand Cloud Log Analytics APIs.


    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.