Cloud Log Analytics overview

Prev Next

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.

Field Required Description
x-ncp-apigw-timestamp Required This 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-key Required Key issued by the API Gateway service of NAVER Cloud Platform
    x-ncp-iam-access-key Required Access 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-v2 Required Base64-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-type Optional Request data format
  • application/json
  • Accept Optional Response 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.

    API Description
    Server Get the server list in the VPC environment.
    Cloud DB for MySQL Get the Cloud DB for MySQL server list in the VPC environment.
    Cloud DB for MongoDB Get the Cloud DB for MongoDB server list in the VPC environment.
    Cloud DB for MSSQL Get the Cloud DB for MSSQL server list in the VPC environment.
    Cloud DB for PostgreSQL Get the Cloud DB for PostgreSQL server list in the VPC environment.
    Bare Metal Server Get the Bare Metal Server server list in the VPC environment.
    Ncloud Kubernetes Service Get the Ncloud Kubernetes Service server list in the VPC environment.
    Search Engine Service Get the Search Engine Service server list in the VPC environment.
    Cloud Data Streaming Service Get the Cloud Data Streaming Service server list in the VPC environment.
    Server Get the server list in the Classic environment.
    Cloud DB for MySQL Get the Cloud DB for MySQL server list in the Classic environment.
    Cloud DB for MSSQL Get the Cloud DB for MSSQL server list in the Classic environment.
    Bare Metal Server Get the Bare Metal Server list in the Classic environment.
    Set server log collection Set server log collection in the VPC environment.
    Disable server log collection Disable server log collection in the VPC environment.
    Set server log collection Set server log collection in the Classic environment.
    Disable server log collection Disable server log collection in the Classic environment.
    Install server log collection agent Install server log collection agent.
    Delete server log collection agent Delete server log collection agent.
    Get total log count Get the total number of logs collected.
    Get recent log count Get the number of logs collected in the last minute.
    Get log count by period Get the number of logs collected by period.
    Get log count by type Get the number of logs collected by type.
    Get log Get collected logs.
    Get export history Get the Object Storage export history of collected logs.
    Export Export collected logs to Object Storage.
    Get automatic export settings Get the automatic Object Storage export settings of collected logs.
    Set automatic export Set automatic Object Storage export of collected logs.
    Disable automatic export Disable automatic Object Storage export of collected logs.
    Get bucket list Get the list of Object Storage buckets available for exporting collected logs.
    Get usage Get Cloud Log Analytics usage.

    Cloud Log Analytics related resources

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