Listing Agent Configurations

List agent configurations in Logging.

    1. Open the navigation menu  and select Observability & Management. Under Monitoring, select Agent Configurations.
    2. To view the resources in a different compartment, use the Compartment filter to switch compartments.
      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.
    3. To filter the list by status of agent configuration, select a State value.
  • Use the oci logging agent-configuration list command and required parameters to list agent configurations:

    oci logging agent-configuration list --compartment-id compartment_ocid [OPTIONS]

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

  • Run the ListUnifiedAgentConfigurations operation to list agent configurations.

    Example API request:

    This example sorts by time created, in descending order.

    GET /20200531/unifiedAgentConfigurations?compartmentId=<compartment_id>&limit=<number>&sortBy=<timeCreated>&sortOrder=<DESC>
    Host: https://logging.us-phoenix-1.oci.oraclecloud.com
    <authorization and other headers>