您可以使用 Catalog Manager 命令行介面,產生包含目錄中物件之特定資料的報表。例如,您可以建立報表來顯示針對每個物件傳送至 Oracle Analytics 的 SQL 敘述句。
用於產生報表的語法
runcat.sh -cmd report -online <Oracle Analytics Cloud URL> -outputfile "<output file path>" -excelformat -folder "/Shared Folders" -type "All" -fields "<colon separated list of fields in the report>" -credentials <file with login username and password>
範例
在本範例中,您為 /Shared Folders
資料夾中的所有目錄物件產生 Excel 格式的報表。此報表只包含您指定的欄位,亦即路徑、名稱、簽章等等。
runcat.sh -cmd report -online "https:/myoac.ocp.oraclecloud.com/analytics-ws" -outputfile /scratch/Object.xls -excelformat -folder "/Shared Folders" -type "All" -fields "Path:Name:Signature:Content State:Owner:Creator:Created:ACL" -credentials /scratch/mycredentials.txt
其中,證明資料檔案包含以下資料列:
login=<userid> pwd=<password>