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 agent configurations 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.

    Filtering List Results

    Use filters to limit the alarms in the list. Perform one of the following actions depending on the options that you see:

    • To filter the list by agent configuration status, select a status value from the Status list.
    • To filter the list by tag, select add under Tag filters.

    Actions

    In the list table, select the name of an agent configuration to open its details page, where you can view its status and perform other tasks.

    To perform an action on an agent configuration directly from the list table, select any of the following options from the Actions menu (Actions Menu) in the row for that agent configuration:

    To create an agent configuration, select Create agent config.

  • 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>