Table of Contents |
---|
개요
자산 가져오기는 외부 데이터를 자산으로 가져와서 에셋 오브젝트 유형, 오브젝트, 속성 및 레퍼런스로 자동 변환하는 방법입니다.
현재 CSV, JSON, 자산 검색 및 외부 소스에서 데이터를 가져올 수 있으며 Cloud 와 Data Center 의 가져오기 기능은 서로 다릅니다.
자산은 다양한 유형의 임포트를 여러 개 저장하고 실행할 수 있습니다. 가져오기 구조는 데이터를 찾을 수 있는 위치와 Assets에서 특정 가져오기 작업을 관리하는 방법에 대한 정보 패키지입니다.
새 가져오기 구조를 만들 때 객체 유형과 속성을 수동 또는 자동으로 생성하는 옵션이 있습니다. 오브젝트 유형과 속성을 자동으로 생성하도록 선택하면 Assets에서 가져오는 데이터 유형(예: CSV, JSON 또는 Assets Discovery 파일)에 따라 기본 구조와 구성을 생성합니다. 가져오기를 수동으로 생성하는 옵션도 있습니다. 즉, 데이터를 객체 유형, 객체, 속성 및 참조에 매핑해야 합니다.
데이터를 자산에 매핑하는 방법에는 여러 가지가 있습니다:
객체 유형 매핑을 사용하여 객체 유형을 만듭니다.
객체 유형 속성 매핑을 사용하여 속성을 만듭니다.
개체 유형 매핑을 플레이스홀더와 함께 사용하여 참조를 만듭니다.
하위 객체 유형 매핑을 사용하여 객체 스키마 내에서 상위 및 하위 계층 구조를 만듭니다.
자산으로 정보를 가져오려면 가져오기 구조를 만들고 데이터를 매핑한 다음(자동 또는 수동으로) 가져오기를 실행해야 합니다.
가져오기
데이타 준비
가져올 데이타를 준비합니다. Json 이나 CSV, 또는 Discovery 를 사용할 수 있으며 CSV 를 사용하는 경우 다음과 같은 사항에 주의해야 합니다.
다음과 같은 encoding 을 사용할 수 있으나 UTF-8 이 기본 설정이며 권장합니다.
(UTF-8 (default), UTF-16, ISO-8859-1, ISO-8859-15, Windows-1250, Windows 1252)CSV 파일은 반드시 header 가 있어야 import 시 데이터를 매핑할 수 있습니다.
기본 구분자는 , 이지만 import 구조생성시 구분자를 지정할 수 있습니다.
여러 개의 값을 하나의 필드에 매핑할 경우 연결자로 || 를 사용합니다.
If you are importing CSV data from a Google Sheets link, the URL you use must be edited before it will work properly. Remove
/edit#gid=0
from the ending of the URL and replace it with/export?format=csv
.
Code Block |
---|
"Name", "Owner", "Service Category", "Hosts"
"Confluence", "Ellen McDonald", "Finance", "Oracle-E-Business-Server"
"Email Service", "Bea Owenstein", "Infrastructure", "exchange.prod.main1"||"exchange_mssql_2012"
"Partner portal", "Les Weinen", "Infrastructure"||"Marketing", "mysql.prod.app7" |
import 구조 생성
data mapping
Map your data. There are two options:
Map your data automatically by automatically creating object types and attributes, or;
Map your data manually by:
Using object type mapping to create Assets object types
Using object type attribute mapping to create Assets attributes and references
Using child object type mapping to create hierarchical parent and child structures.
After you have created your object type mappings you must enable them. The import structure will not be executable until all object type mappings are set to ENABLED. If your object type mappings are not enabled, right-click on your object type mapping and click Enable to enable them.
See also
실습
...