- Resource: NativeDashboard
- DashboardDefinition
- DashboardFilter
- ChartConfig
- ChartLayout
- DashboardType
- DashboardUserData
- DashboardAccess
- Methods
Resource: NativeDashboard
NativeDashboard resource.
JSON representation |
---|
{ "name": string, "display_name": string, "description": string, "definition": { object ( |
Fields | |
---|---|
name |
Output only. Name of the dashboard. |
display_ |
Required. Dashboard display name/title visible to users. |
description |
Optional. Description of the dashboard. |
definition |
Optional. Definition of the dashboard like metadata, visualization and datasource configuration etc. |
type |
Output only. Whether it's an out of the box or custom created dashboard. |
create_ |
Output only. Creation time of dashboard. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
update_ |
Output only. Time the dashboard was last edited. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
create_ |
Output only. User who created the dashboard. |
update_ |
Output only. User who last edited the dashboard. |
dashboard_ |
Output only. User Preferences for a dashboard |
etag |
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
access |
Output only. Access of the dashboard |
DashboardDefinition
Definition of the dashboard including filters, layout, charts' configurations.
JSON representation |
---|
{ "filters": [ { object ( |
Fields | |
---|---|
filters[] |
Filters for the dashboard. |
fingerprint |
Fingerprint of the dashboard definition. |
charts[] |
Charts in the dashboard. |
DashboardFilter
Dashboard level filter that can be used in native dashboards as well as inputs to execute query.
JSON representation |
---|
{ "id": string, "data_source": enum ( |
Fields | |
---|---|
id |
ID of the filter. |
data_ |
Datasource the filter is applicable for. |
field_ |
Filter field path. |
filter_ |
Operator and values. Can include multiple modifiers. |
display_ |
Display name of the filter. |
chart_ |
Chart IDs the filter is applicable for. |
is_ |
Optional. Whether the filter is a standard time range filter, meaning that it has to be used as the query time range, and not as a predicate in the query. A chart can have at most one standard time range filter applied. |
is_ |
Optional. Whether this filter is required to be populated by the dashboard consumer prior to the dashboard loading. |
is_ |
Optional. Whether this standard time range filter is enabled. |
ChartConfig
Configuration of the chart including chart reference, layout and filters.
JSON representation |
---|
{
"dashboard_chart": string,
"chart_layout": {
object ( |
Fields | |
---|---|
dashboard_ |
|
chart_ |
|
filters_ |
Dashboard filters applied to the chart. |
ChartLayout
Layout of the chart.
JSON representation |
---|
{ "span_x": integer, "span_y": integer, "start_x": integer, "start_y": integer } |
Fields | |
---|---|
span_ |
|
span_ |
|
start_ |
|
start_ |
|
DashboardType
Type of the dashboard.
Enums | |
---|---|
DASHBOARD_TYPE_UNSPECIFIED |
Default unspecified. |
CURATED |
Out of the box curated dashboards provided by Chronicle. |
PRIVATE |
Private dashboards created by users/customers. |
PUBLIC |
Public dashboards created by users/customers. |
CUSTOM |
Custom dashboards |
MARKETPLACE |
Marketplace dashboards |
DashboardUserData
User Data for Native Dashboard
JSON representation |
---|
{ "last_viewed_time": string, "is_pinned": boolean } |
Fields | |
---|---|
last_ |
time when this dashboard is last viewed Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
is_ |
is dashboard pinned by user |
DashboardAccess
AccessType of the dashboard.
Enums | |
---|---|
DASHBOARD_ACCESS_UNSPECIFIED |
Default unspecified. |
DASHBOARD_PRIVATE |
Private dashboards created by users/customers. |
DASHBOARD_PUBLIC |
Public dashboards created by users/customers. |
Methods |
|
---|---|
|
Add chart in a dashboard. |
|
Create a dashboard. |
|
Delete a dashboard. |
|
Duplicate a dashboard. |
|
Duplicate chart in a dashboard. |
|
Edit chart in a dashboard. |
|
Get a dashboard. |
|
List all dashboards. |
|
Update a dashboard. |
|
Remove chart from a dashboard. |