Getting an Agent Configuration's Details
View the details of an agent configuration in Logging.
- Open the navigation menu and click Observability & Management. Under Logging, click Agent Configurations.
- Under List scope, select the compartment that contains the agent configuration whose details you want to get.
- Click the name of the agent configuration.
The agent configuration details page opens with the Log information tab selected.
The Tags tab shows associated tags for the log, and you can add or edit tags.
In the Configuration section, the Host group and Log input configuration settings are listed in corresponding tables. Under Host group, click the linked group name to open the IAM Groups or Dynamic Groups section of the Console. See Managing Groups and About Dynamic Groups for more information.
Under Enabled operational metrics, the Unified Monitoring Agent operational metrics that are enabled for a particular compartment ID, namespace, and resource group are listed in the Operational metrics field. For example, Hearbeat, RestartMetric, EmitRecords, RetryCount indicates that these metrics are enabled for the agent configuration. For more information on these metrics, see the Logging agent operational metrics step in Creating an Agent Configuration. From the Metrics details column, click View in Monitoring to go to the Metrics Explorer page, where you can create a query to retrieve agent operational metrics from the Monitoring service.
In the Explore log section (under Resources, click Explore log), log data is displayed in a similar manner as the Log Data on the Search page. You can apply filters, such as sorting by newest or oldest from the Sort field, or filtering by time from the corresponding Filter by time field.
To view this log on the Search page directly, click the Actions menu and select Explore with Log Search. The Search page opens with the Select Logs to Search field populated with the log in the filter settings. At this point, you can perform more analysis and investigation related to this log directly on the Search page. For more information, see Logging Search.
Under Resources, click Metrics to view interactive charts for either a chosen time period (Start time and End time), or pre-selected ranges from Quick selects.
The Found Configurations (number of agent configurations found for the dynamic user or group), Unauthorized Configurations (configurations unauthorized for the dynamic user or group), and Configuration Update Failure (failure to download the configuration) charts are displayed.
Clicking anywhere in a chart displays a larger version of the chart. You can perform several chart actions from the Options menu (both in the Metrics resource and in the zoomed-in view):- View query in Metrics Explorer: Opens the chart in the Monitoring Metrics Explorer. See Exploring a Default Metric Chart for more information.
- Copy chart URL: Copies the chart URL so that you can share it.
- Copy query (MQL): Copies the predefined service query used in the chart.
- Create an alarm on this query: Opens the Monitoring Create Alarm page. See Creating an Alarm for more information.
- Table view: Displays a tabular summary of the chart data. Select Chart View to switch back to the chart.
For more information, see Logging Metrics.
Use the oci logging agent-configuration get command and required parameters to get the details of an agent configuration for logging:
oci logging agent-configuration get --config-id config_ocid [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the GetUnifiedAgentConfiguration operation to get an agent configuration for logging.