Configuring Widgets
Configure Console Dashboards widgets so that they give you insight into your resource usage, billing, and system health. Each dashboard can contain multiple widgets.
A single dashboard can contain a maximum of 20 widgets. If you need more than 20 widgets, create additional dashboards.
Types of Console Dashboards Widgets
Console Dashboards support the following types of widget (Applications services support only Resource Explorer, Monitoring, and Markdown).
-
Infrastructure Billing Widget: This widget shows current billing cycle information. You can only include a single instance of the infrastructure billing widget in your dashboard.
- Cost Management Widget: This widget helps you track and optimize your Oracle Cloud Infrastructure spending by generating charts with aggregated Cost Analysis data. You can include multiple cost management widgets in your dashboard.
-
Logging Chart Widget: This widget allows you to create visualizations with data from the Oracle Cloud Infrastructure Logging service. You can include multiple logging chart widgets in your dashboard.
-
Logging Data Table Widget: This widget allows you to display a table of the data stored in the Oracle Cloud Infrastructure Logging service. You can include multiple logging data table widgets in your dashboard.
-
Markdown Widget: This widget lets you add and format text-based content. You can include multiple markdown widgets in your dashboard.
-
Monitoring Widget: This widget lets you view and compare metrics from the Oracle Cloud Infrastructure Monitoring service. You can include multiple monitoring widgets in your dashboard.
-
Resource Explorer Widget: This widget allows you to view resources by compartment. You can only include a single instance of the resource explorer widget in your dashboard.
-
Resource Query Widget: This widget allows you to use queries to get detailed information about specific resources. You can filter by region, compartment, resource type, or write an advanced query using Search Language Syntax.
The following sections describe the dashboard widgets and explain how to configure them. For general steps explaining how to add widgets to dashboards, see Managing Widgets.
Infrastructure Billing
Administrators and users with appropriate permissions can view the infrastructure billing widget. The infrastructure billing widget lets you quickly view your current charges or usage and the days elapsed in your billing cycle. Your view depends on your account type.
- Pay As You Go customers see the current charges and the number of days elapsed in the current billing cycle.
- Universal credit customers see the total credits used and number of days elapsed in the credit period.
- Trial customers see the total credits used and number of days elapsed in the trial period.
To get a more detailed view of your spending, click the Analyze costs link to go to the Cost Analysis tool where you can generate charts and reports of aggregated cost data for your Oracle Cloud Infrastructure consumption. If your account is a Free Tier or promotional trial account, you see an option to Upgrade your account. If you have a paid account, you see the option to Manage payment method to view or change your payment method.
- On the Console home page, click the Dashboard tab.
- Follow the steps to add a widget and choose Infrastructure Billing.
- Click Save.
Cost Management
Administrators and users with appropriate permissions can view the cost management widget. The cost management widget helps you track and optimize your Oracle Cloud Infrastructure spending by generating charts and reports of aggregated cost data.
The Cost Analysis Overview includes more information about the Cost Analysis tool and detailed descriptions of the Cost Analysis query fields used by this widget.
- On the Console home page, click the Dashboard tab.
- Follow the steps to add a widget and choose Cost Management.
The default cost management chart displays.
- On the widget, click the , and then click View and edit settings. The Cost Management chart widget configuration dialog opens.
- For Name, enter a name for the widget. Avoid entering confidential information.
- For Description, enter a description for the widget (optional).
- For Configure metric query, make the following
selections:
- Time range: Select a predefined time range for data available in the usage store.
- Granularity: Select the granularity of the chart. Options are based on the selected time range.
- Chart type: Select the chart type.
- Filters: Click Add Filter to apply filters to the chart data.
- Grouping dimensions: Select the grouping used to aggregate the chart data.
- Click Preview changes at any time to preview the chart.
- Click Submit, and then click Save.
- On the widget, click the Actions menu (), and then click Export as PDF.
The chart is exported as a PDF.
- On the widget, click the Actions menu (), and then click Expand chart.
The chart is expanded to a larger size.
- Optionally, change the Chart type.
- To return to your dashboard, close the window.
Logging Chart
Use the logging chart widget to create visualizations with the data stored in the Oracle Cloud Infrastructure Logging service.
To use the logging chart widget, you first need to enable logs for resources. After you enable a log, log entries begin to appear on the detail page for the log, and you can use this data to build charts with the logging chart widget. For instructions, see Enabling Logging for a Resource.
The Logging service contains three kinds of logs:
- Audit logs: Logs related to events emitted by the Oracle Cloud Infrastructure Audit service. These logs are available from the Logging Audit page, or are searchable on the Search page alongside the rest of your logs.
- Service logs: Emitted by OCI native services, such as API Gateway, Events, Functions, Load Balancer, Object Storage, and VCN Flow Logs. Each of these supported services has pre-defined logging categories that you can enable or disable on your respective resources.
- Custom logs: Logs that contain diagnostic information from custom applications, other cloud providers, or an on-premise environment. Custom logs can be ingested through the API, or by configuring the Unified Monitoring Agent. You can configure an OCI Compute instance/resource to directly upload Custom Logs through the Unified Monitoring Agent. Custom logs are supported in both a virtual machine and bare metal scenario.
- On the Console home page, click the Dashboard tab.
- Follow the steps to add a widget and choose Logging chart.
- In the widget, click Configure. The Logging Chart Widget Configuration dialog opens.
- For Name, enter a name for the widget. Avoid entering confidential information.
- For Description, enter a description for the widget (optional).
- For Region, select a region. The logging chart data that displays in the widget comes from the region that you select.
- For Set visualization parameters, make the following selections:
- Visualization Type: Select the chart type.
- Interval: Select the time interval between chart refreshes.
- Group By: Select the criteria to use for grouping the logging data in the visualization.
- Filter by time: Select the time intervals to use as a filter for the chart.
- For Select and filter the logs, make the following selections:
- For Custom filters, enter search filters, such as log fields, text search, or time intervals.
- For Select logs to search, enter compartments, log groups, or logs to filter by. You can filter by multiple compartments and log groups.
See Basic Search Queries for more information about searching and filtering logs.
- Click Submit, and then click Save.
Logging Data Table
Use the logging data table widget to add a table that displays the data stored in the Oracle Cloud Infrastructure Logging service.
To use the logging data table widget, you first need to enable logs for resources. After you enable a log, log entries begin to appear on the detail page for the log. For instructions, see Enabling Logging for a Resource.
The Logging service contains three kinds of logs:
- Audit logs: Logs related to events emitted by the Oracle Cloud Infrastructure Audit service. These logs are available from the Logging Audit page, or are searchable on the Search page alongside the rest of your logs.
- Service logs: Emitted by OCI native services, such as API Gateway, Events, Functions, Load Balancer, Object Storage, and VCN Flow Logs. Each of these supported services has pre-defined logging categories that you can enable or disable on your respective resources.
- Custom logs: Logs that contain diagnostic information from custom applications, other cloud providers, or an on-premise environment. Custom logs can be ingested through the API, or by configuring the Unified Monitoring Agent. You can configure an OCI Compute instance/resource to directly upload Custom Logs through the Unified Monitoring Agent. Custom logs are supported in both a virtual machine and bare metal scenario.
- On the Console home page, click the Dashboard tab.
- Follow the steps to add a widget and choose Logging data table.
- In the widget, click Configure. The Logging Data Table Widget Configuration dialog opens.
- For Name, enter a name for the widget. Avoid entering confidential information.
- For Description, enter a description for the widget (optional).
- For Region, select a region. The logging data that displays in the widget comes from the region that you select.
- For Select and filter the logs, make the following selections:
- For Custom filters, enter search filters, such as log fields, text search, or time intervals.
- For Select logs to search, enter compartments, log groups, or logs to filter by. You can filter by multiple compartments and log groups.
- Filter by time: Select the time intervals to use as a filter for the table.
See Basic Search Queries for more information about searching and filtering logs.
- Click Submit, and then click Save.
Markdown
Use the markdown widget to include and format text-based content in your dashboard.
- On the Console home page, click the Dashboard tab.
- Follow the steps to add a widget and choose Markdown widget.
- In the widget, click Configure. The Markdown widget configuration dialog opens.
- In Name, enter a name for the widget. Avoid entering confidential information.
- In Description, enter a description for the widget (optional).
- In the Markdown content field, enter text formatted with Markdown. For information about using Markdown, see the Markdown Guide. You can preview the content in the Preview markdown field.
- Click Create widget, and then click Save.
Monitoring
Use the monitoring widget to view metric data stored in the Oracle Cloud Infrastructure Monitoring service.
To configure the monitor chart widget, you first need to configure metric queries. See Building Metric Queries for more information.
- On the Console home page, click the Dashboard tab.
- Follow the steps to add a widget and choose Monitoring.
- In the widget, click Configure. The Monitoring Widget Configuration dialog opens.
- For Name, enter a name for the widget. Avoid entering confidential information.
- For Description, enter a description for the widget (optional).
- For Set visualization parameters, make the following selections:
- Chart type: Select the chart type.
- Interval: Select the time interval between chart refreshes.
- Filter by time: Select the time interval to use as a filter for the chart.
- For Configure metric query, make the following selections:
- If you want to change the compartment, click Change Compartment and choose a different compartment.
- For Region, select a region.
- For Namespace, select the service or application emitting metrics for the resources that you want to monitor.
- For Metric Name, enter the name of the metric. You can only specify one metric. Metric selections depend on the selected compartment and metric namespace.
- For Statistic, select function to use to aggregate the data.
- Optionally, configure the Metric Settings.
- For Dimension Name, select a qualifier specified in the metric definition from the list. For example, the dimension
resourceId
is specified in the metric definition forCpuUtilization
. - For Dimension value, select the value you want to use for the specified dimension from the list. For example, the resource identifier for your instance.
- If desired, click + Additional Dimension to
add another name-value pair for a dimension.
To remove a dimension name-value pair, click the Remove (x) button.
- For Dimension Name, select a qualifier specified in the metric definition from the list. For example, the dimension
- Click Submit, and then click Save.
Resource Explorer
Use the resource explorer to get an overview of the number and types of resources that exist in a selected compartment and region.
- On the Console home page, click the Dashboard tab.
- Follow the steps to add a widget and choose Resource explorer.
- Click Save.
- The resource explorer displays the list of services and count of resources in the selected compartment and region . By default, the root compartment is selected. To view another compartment, click the , and then click View and edit settings, make changes, and click Update.
- Expand the entry for a service to see the count for each resource-type within the service.
- To see more information about a resource-type in the list, click the resource-type to open the detailed list. To navigate directly to a specific resource in the list, click the Display name.
Resource Query
Use resource queries to get detailed resource information. You can filter by region, compartment, resource type, or write an advanced query using Search Language Syntax.
- On the Console home page, click the Dashboard tab.
- Follow the steps to add a widget and choose Resource query.
- In the widget, click Configure. The Resource query widget configuration dialog opens.
- For Name, enter a name for the widget. Avoid entering confidential information.
- For Description, enter a description for the widget (optional).
- For Resources scope, make the following selections:
- Region: Select the region to query for resources (optional).
- Select compartments to search: Select one or more compartments containing the resources.
- Filter by resource types: Select one or more resource types to filter results (optional).
- Optionally, click Switch to advanced resource query, enter a resource query, and click Search. See Search Language Syntax for guidance on creating your query.
-
The Resources preview table shows the results of your query.
- Click Update.