confluent log

Description

View a snapshot or tail the log of a service.

Usage

confluent log <service> [<argument>]

Tip

For usage information, enter confluent help log.

Options

None.

Positional arguments

Name, shorthand Default Description
<service>   The service name.
<argument> Snapshot Optional: Specify a tail argument. If no arguments are given, a snapshot of the log is opened using the less command viewer.

Examples

  • View a snapshot of the Connect log with the less viewer.

    confluent log connect
    
  • Tail the Kafka log and wait to print additional output until the log command is interrupted.

    confluent log kafka -f
    

    Tip

    Type man tail to get more information about the available options.