카탈로그 관리자 명령행 인터페이스를 사용하여 카탈로그의 객체에 대한 특정 데이터가 포함된 보고서를 생성할 수 있습니다. 예를 들어, 각 객체에 대해 Oracle Analytics로 전송된 SQL 문을 보여주는 보고서를 생성할 수 있습니다.
보고서 생성 구문
runcat.sh -cmd report -online <Oracle Analytics Cloud URL> -outputfile "<output file path>" -excelformat -folder "/Shared" -type "All" -fields "<colon separated list of fields in the report>" -credentials <file with login username and password>
예제
이 예제에서 모든 카탈로그 객체에 대한 Excel 형식의 보고서를 /Shared
폴더에 생성합니다. 보고서에는 Path, Name, Signature 등 사용자가 지정한 필드만 포함됩니다.
runcat.sh -cmd report -online "https:/myoac.ocp.oraclecloud.com/analytics-ws" -outputfile /scratch/Object.xls -excelformat -folder "/Shared" -type "All" -fields "Path:Name:Signature:Content State:Owner:Creator:Created:ACL" -credentials /scratch/mycredentials.txt
여기서 인증서 파일에는 다음 행이 포함됩니다.
login=<userid> pwd=<password>