Creating a Log Configuration for an Agent Configuration

Create a log configuration for an agent configuration.

  • See Creating an Agent Configuration for more information on creating a log configuration during agent configuration setup.

  • Use the oci logging agent-configuration create-log-configuration command and required parameters to create a unified agent configuration registration for logging:

    oci logging agent-configuration create-log-configuration --compartment-id compartment_ocid --is-enabled [true|false] [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • This task can't be performed using the API.