The table below shows the preferences that leverages the capability offered
by Oracle Cloud Infrastructure to manage the default preferences for
the tenancy:
Your selection of the homepage is saved for future
use.
Log Explorer and Dashboards
Timezone
explorer
string
last_timezone
Your last used timezone setting in the time selector is
saved in the Log Explorer and Dashboards.
Log Explorer
Pinned field
explorer
json
pinned_fields
After you add fields to the Pinned section, you
can access them at a later point when you return to the Log
Explorer.
Log Explorer
Other fields ordering
explorer
string
other_field_ordering
The sorting order that you set on the fields in the
Other section is saved for future reference.
Log Explorer
Table and Records display fields
explorer
json
table_display_fields
If you select Remember display fields, the
selected display fields (including the primary display field in
records visualization) are saved for future use in the Table or
Records visualizations.
Scope Filter
Log group compartment
explorer
string
default_loggroup_compartment
Your last used log group compartment in the scope filter
is saved for multiple visits and uses.
Scope Filter
Log Set
explorer
string
last_logset
If you use the log partitioning feature and specify a log
set in the scope filter, then your last used log set is remembered.
This does not apply to using wildcard * log set
value.
Scope Filter
Log fields
explorer
json
scope_field_filters
The list of fields included in the scope filter for Log
Explorer and dashboard widgets is saved for future use.
The fields can be added or removed from scope filters in
the Log Explorer by using the Actions menu next to each field.
fieldDName: (String) The display name of the field
to be included as a scope filter field
visible: (Boolean) If the identified field should
be shown as a scope filter or not.
The visible property of
the fieldId object should typically only be used for the
Entity field and set to false. The Entity field
is included as a scope filter by default. If it should be removed and not
used a scope filter, then an entry for it is required with the
visible property set to false.
Allow Users to Manage OCI Console
Personalization in the Tenancy ๐
The following permissions must be provided to the user group for
performing all operations on the default preferences in the tenancy such as read,
create, update, and delete:
The following policy statement can be used by the administrators to set the tenancy-wide
defaults for the users:
allow group <user_group_name> to manage tenancy-preferences in tenancy
Configure OCI Console Personalization Using
REST API ๐
The above personalization is stored for users automatically. If you want to
configure it using REST API for tenant global defaults or user defaults, then see
below:
If you perform a PUT or POST operation on default preferences using REST
API, then limit the size of the JSON payload to less than 10 KB.
Create Preferences
Set up OCI CURL to use the personalization REST APIs. For setting
tenancy-level preferences, make sure the user has the tenancy-preferences
permission in OCI CURL.
Format of the curl command:
sh ~/oci-curl.sh --oci-config-file ~/.oci/config --oci-profile <your_profile> --data-binary @/<my_preference.json> -X POST 'https://personalization.<region>.oci.oraclecloud.com/20200715/preferences' -i
Create the JSON file in the same directory as oci-curl.sh. Format
of the JSON payload my_preference.json: