- Resource: NativeDashboard
- Methods
Resource: NativeDashboard
NativeDashboard resource.
| JSON representation |
|---|
{ "name": string, "displayName": string, "description": string, "definition": { object ( |
| Fields | |
|---|---|
name |
Output only. Name of the dashboard. |
displayName |
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. |
createTime |
Output only. Creation time of dashboard. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Time the dashboard was last edited. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
createUserId |
Output only. User who created the dashboard. |
updateUserId |
Output only. User who last edited the dashboard. |
dashboardUserData |
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, "dataSource": enum ( |
| Fields | |
|---|---|
id |
ID of the filter. |
dataSource |
Datasource the filter is applicable for. |
fieldPath |
Filter field path. |
filterOperatorAndFieldValues[] |
Operator and values. Can include multiple modifiers. |
displayName |
Display name of the filter. |
chartIds[] |
Chart IDs the filter is applicable for. |
isStandardTimeRangeFilter |
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. |
isMandatory |
Optional. Whether this filter is required to be populated by the dashboard consumer prior to the dashboard loading. |
advancedFilterConfig |
Optional. Advanced filter configuration for the filter widget. |
isStandardTimeRangeFilterEnabled |
Optional. Whether this standard time range filter is enabled. |
AdvancedFilterConfig
Advanced filter configuration for the filter widget.
| JSON representation |
|---|
{
"token": string,
"prefix": string,
"suffix": string,
"separator": string,
"multipleAllowed": boolean,
"defaultValues": [
string
],
"skipDefaultAffixes": boolean,
"valueSource": {
object ( |
| Fields | |
|---|---|
token |
Required. The token name to look for in the query (e.g., "hostname"). The system will automatically wrap this in '$' (e.g., "$hostname$"). |
prefix |
Optional. String to prepend to the final replaced value (e.g., "/", "^(", """). |
suffix |
Optional. String to append to the final replaced value (e.g., "/", ")$", """). |
separator |
Optional. Delimiter to join multiple selected values (e.g., "|", " OR field = "). |
multipleAllowed |
Optional. Whether to allow selection of multiple values. |
defaultValues[] |
Optional. Default values to use if no value is selected/provided. |
skipDefaultAffixes |
Optional. Whether to skip the configured prefix and suffix when using default values. If true, default values are inserted raw (joined by the separator). |
valueSource |
Required. Source of the values for the filter. |
ValueSource
Source of the values for the filter.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field source. Source of the values for the filter. source can be only one of the following: |
|
manualOptions |
Optional. Manual options provided by the user. |
queryOptions |
Optional. Query options to fetch the values from the query engine. This is used for the filter's population query. |
ManualOptions
Manual options provided by the user.
| JSON representation |
|---|
{ "options": [ string ] } |
| Fields | |
|---|---|
options[] |
Optional. The options provided by the user. The max number of options is limited to 10000. |
QueryOptions
Query options to fetch the values from the query engine. This is used for the filter's population query.
| JSON representation |
|---|
{
"query": string,
"column": string,
"globalTimeFilterEnabled": boolean,
"input": {
object ( |
| Fields | |
|---|---|
query |
Required. The query to execute to fetch the values. |
column |
Required. The column name to use for the values. |
globalTimeFilterEnabled |
Optional. Enable global time filter |
input |
Optional. Time range input specifically for the filter's population query. |
ChartConfig
Configuration of the chart including chart reference, layout and filters.
| JSON representation |
|---|
{
"dashboardChart": string,
"chartLayout": {
object ( |
| Fields | |
|---|---|
dashboardChart |
|
chartLayout |
|
filtersIds[] |
Dashboard filters applied to the chart. |
ChartLayout
Layout of the chart.
| JSON representation |
|---|
{ "spanX": integer, "spanY": integer, "startX": integer, "startY": integer } |
| Fields | |
|---|---|
spanX |
|
spanY |
|
startX |
|
startY |
|
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 |
|---|
{ "lastViewedTime": string, "isPinned": boolean } |
| Fields | |
|---|---|
lastViewedTime |
time when this dashboard is last viewed Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
isPinned |
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. |
|
Exports the dashboards. |
|
Get a dashboard. |
|
Imports the dashboards. |
|
List all dashboards. |
|
Update a dashboard. |
|
Remove chart from a dashboard. |