--- title: "HTTP SDK" slug: "elsa2-sdk-http" tags: ["elsa2", "sdk", "http", "로그 전송"] updated: 2026-09-17T09:23:53Z published: 2026-09-17T09:23:53Z canonical: "guide.ncloud-docs.com/elsa2-sdk-http" --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # HTTP SDK Available in Classic and VPC You can transfer log data in JSON format to Effective Log Search & Analytics 2.0's collecting server by using HTTPS protocol. ## Log transferring information Check the following items to transfer logs in HTTPS/JSON format: [API URL](/docs/en/elsa2-sdk-http#APIURL) [Call method](/docs/en/elsa2-sdk-http#%ED%98%B8%EC%B6%9C%EB%B0%A9%EC%8B%9D) [Request body(JSON format) and field](/docs/en/elsa2-sdk-http#%EC%9A%94%EC%B2%AD%EB%B0%94%EB%94%94%EB%B0%8F%ED%95%84%EB%93%9C) [Log transfer examples](/docs/en/elsa2-sdk-http#HTTPSDK%EB%A1%9C%EA%B7%B8%EC%A0%84%EC%86%A1%EC%98%88%EC%A0%9C) ### API URL Use the following address when transferring logs to the Effective Log Search & Analytics 2.0 server in HTTPS: ``` https://elsa-v2-col.ncloud.com/_store ``` ## Call method Use PUT or POST method as the call method. ### Request body and field Write the request body in JSON format as follows: ``` { "txtToken": "2xxxx10e221b4d06a870a06e9c5axxxx", "projectName": "72356c50401b8e20_testproject", "projectVersion": "1.0.0", "body": "This log message come from HTTPS client.", "host": "localhost", "logType": "nelo2-log" } ``` Fields that can be entered in the request body in JSON format are as follows: | Field | Type | Requirement status | Description | | --- | --- | --- | --- | | `txtToken` | string | Required | The txtToken registered to NELO when the project was created (refer to [View project details](/docs/en/elsa2-project#%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8%EC%83%81%EC%84%B8%EC%A0%95%EB%B3%B4%ED%99%95%EC%9D%B8)) | | `projectName` | string | Required | The project key registered to NELO when the project was created (refer to [View project details](/docs/en/elsa2-project#%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8%EC%83%81%EC%84%B8%EC%A0%95%EB%B3%B4%ED%99%95%EC%9D%B8)) | | `projectVersion` | string | Required | Project version (Default: 1.0.0) - Only English letters, numbers, hyphens (-), periods (.), and underscores (_) can be entered | | `body` | string | Required | Log message - Uses UTF-8, and spaces cannot be used | | `host` | string | Options | Log transfer location (Default: TCP's peer-address) | | `logType` | string | Options | Identifies log type (Default: nelo2-log) | Note - To apply a symbol file, the version of the symbol file should be identical to the `projectVersion` key value. - `logTime` and `sendTime` parameters are used in the system of Effective Log Search & Analytics 2.0 service. Entering both parameters does not make them both apply. ## HTTP SDK log transfer examples PUT and POST method is only supported when transferring HTTPS logs. Refer to the following log transfer examples by method to transfer logs. Check if all transfer information, such as API URL and field, is correct before transferring logs so that the log transfer does not fail. ### POST method example The following is an example of using POST method. ``` $ curl -XPOST 'https://elsa-v2-col.ncloud.com/_store' -d '{ "txtToken": "2xxxx10e221b4d06a870a06e9c5axxxx", "projectName": "72356c50401b8e20_testproject", "projectVersion": "1.0.0", "body": "This log message come from HTTPS client.", "host": "localhost", "logType": "nelo2-log" }' ``` ### PUT method example The following is an example of using PUT method. ``` $ curl -XPUT 'https://elsa-v2-col.ncloud.com/_store' -d '{ "txtToken": "2xxxx10e221b4d06a870a06e9c5axxxx", "projectName": "72356c50401b8e20_testproject", "projectVersion": "1.0.0", "body": "This log message come from HTTPS client.", "host": "localhost", "logType": "nelo2-log" }' ```