機械翻訳について

CLIの例: カタログ・レポートの生成

カタログ・マネージャのコマンドライン・インタフェースを使用して、カタログ内のオブジェクトに関する特定のデータを含むレポートを生成できます。 たとえば、各オブジェクトについて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形式で生成します。 レポートには、指定したフィールド(パス、名前、シグネチャなど)のみが含まれます。

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>