Server Collecting Info

Prev Next

이 가이드는 API 명세를 기반으로 자동 생성했습니다.

Ncloud API 표준 규격을 적용한 API입니다.

ServerCollectingInfo(네이버클라우드 정의 데이터 타입)에 대해 설명합니다.

스키마 정의

ServerCollectingInfo의 구조는 다음과 같습니다.

{
  "collectorAgentVersion": "7.17.2",
  "logTypeCount": 8,
  "collectionStatus": "COLLECTING",
  "settingStatus": "CONFIGURED",
  "serverName": "hello-test",
  "logCollectorDateTime": "2026-09-23T17:24:04+09:00",
  "logTypes": [
    "SYSLOG",
    "apache_access",
    "tomcat_catalina"
  ],
  "configKey": "c82074b62b1a4faa96a2a9b0ccf6a8f5",
  "collecting": true
}

스키마 필드

ServerCollectingInfo의 필드에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
collectorAgentVersion String Optional 수집 에이전트 버전
  • <예시> 7.17.2
logTypeCount Integer (int32) Optional 설정된 로그 유형 수
  • <예시> 8
collectionStatus String Required 서버의 로그 수집 상태. collecting과 같은 상태를 나타냄
두 값 모두 전이 상태가 아닌 안정 상태
  • COLLECTING | NOT_COLLECTING
    • COLLECTING: 서버에서 로그를 수집하는 중
    • NOT_COLLECTING: 로그를 수집하지 않음
  • <예시> COLLECTING
settingStatus String Required 서버의 수집 설정 상태
  • CONFIGURED | NOT_CONFIGURED
    • CONFIGURED: 수집이 설정됨
    • NOT_CONFIGURED: 수집이 설정되지 않음
  • <예시> CONFIGURED
serverName String Optional 서버 인스턴스 이름
  • <예시> hello-test
logCollectorDateTime String (date-time) Optional 로그 수집 설정이 등록된 일시
  • <예시> 2026-09-23T17:24:04+09:00
logTypes List<String> Optional 설정된 로그 유형 목록
  • <예시> ["SYSLOG", "apache_access", "tomcat_catalina"]
configKey String Optional 수집 설정 키
  • <예시> c82074b62b1a4faa96a2a9b0ccf6a8f5
collecting Boolean Required 수집 활성화 여부
  • true | false
  • <예시> true