カタログ・マネージャ・コマンドライン・インタフェースを使用して、カタログのオブジェクトに関する特定のデータを含むレポートを生成できます。たとえば、オブジェクトごとに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>
例
この例では、/Shared
フォルダにあるすべてのカタログ・オブジェクトに関するレポートをExcel形式で生成します。レポートに含まれるのは、指定した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>