Listing Agent Configurations
List agent configurations in Logging.
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
in the row for that agent configuration:- Edit: Update the agent configuration.
- Disable: Disable the agent configuration.
- Enable: Enable the agent configuration.
- Copy OCID: Copy the OCID of the agent configuration to the clipboard.
- Add tags: Add one or more tags to the agent configuration. See Resource Tags.
- Move Resource: Move the agent configuration to another compartment.
- Delete: Delete the 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>