Class ExportCommand
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Exports the audit log from the selected Content Hub instance.
Inheritance
System.Object
System.CommandLine.Symbol
System.CommandLine.NamedSymbol
System.CommandLine.Command
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<Sitecore.CH.Cli.Plugin.Audit.CommandHandlers.ExportCommandHandler>
ExportCommand
Namespace: Sitecore.CH.Cli.Plugin.Audit.Commands
Assembly: Sitecore.CH.Cli.Plugin.Audit.dll
Syntax
Remarks
Required parameters
--source -sSpecifies the source audit log. Possible values: Action, Business, Raw, Reporting, Scripting, Trigger, User
Optional parameters
--format -fDefines the output format. Default value: JSON--start-time -tDefines the start date and time for the log export. Default value: <now> - 1 hour--span -spSpecifies the time span for the export. Default value: 1 hour--wait -wDetermines whether to wait for the export to complete or not.--out -oSpecifies the output file name.--order-idSpecifies whether the raw order id returned or not.--endpoint -eSpecifies an alternative endpoint name for the execution of this command.
Global parameters
-? --help -hShow this help message and exit.-v --verbosityEnables verbose logging.
Examples
Export a log using the default parameters:
Queue an export job and retrieve the raw job id:
Export a log using a customized date range:
Export a log and save the resulting package: