Listing Agent Configurations

List agent configurations in Logging.

    1. Open the navigation menu and click Observability & Management. Under Monitoring, click Agent Configurations.
    2. Select the compartment that contains the agent configurations that you want.
    3. (Optional) To filter the list by status of agent configuration, select a Status 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>