Class TailCommand
Tails the specified audit log from the selected Content Hub instance.
Inheritance
System.Object
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<Sitecore.CH.Cli.Plugin.Audit.CommandHandlers.TailCommandHandler>
TailCommand
Namespace: Sitecore.CH.Cli.Plugin.Audit.Commands
Assembly: Sitecore.CH.Cli.Plugin.Audit.dll
Syntax
public class TailCommand : BaseCommand<TailCommandHandler>
Remarks
Required parameters
--source -s
Specifies the source audit log. Possible values: Action, Business, Raw, Reporting, Scripting, Trigger, User
Optional parameters
--filter -f
Defines a filter value to reduce the output in the log stream.--poll-interval -p
Defines the poll interval. Default value: 1 second--endpoint -e
Specifies an alternative endpoint name for the execution of this command.
Global parameters
-? --help -h
Show this help message and exit.-v --verbosity
Enables verbose logging.
Examples
Tail a log:
ch-cli audit tail --source Raw
Tail a log with filer:
ch-cli audit tail --source User --filter success
Change the polling interval to 30 seconds:
ch-cli audit tail --source User --polling-interval 00:00:30
Can we improve this article ? Provide feedback