[{"label":"Latest (v1)","version":"latest"}]
vmware-aria-operations-for-logs

Create Dashboard

Description

You can create a private dashboard and add one or more widgets to it. Each widget is based on a query or one or more alerts

Request

Request

URL

URL


post
https://{api_host}/vrlic/api/v1/content/dashboards
Copy

Request Body

Request Body

DashboardDefinitionDto of mimetype application/json Required
{
	"dashboardType": "USER_DEFINED",
	"name": "string",
	"widgets": [
		{
			"name": "string",
			"queryDefinitionLink": "string",
			"widgetPlacement": {
				"height": 4,
				"width": 4,
				"x": 0,
				"y": 0
			},
			"widgetType": "CHART"
		}
	]
}
string
name Required

A unique name for each dashboard


string
dashboardType Required

All allowed dashboard types, which include: USER_DEFINED

Possible values are: USER_DEFINED


array of DashboardWidget
widgets Required

List of dashboard widget


string
allowedAction Optional

All allowed feature actions, which include: READ, UPDATE, LOCK, HIDDEN, DISABLED, NONE

Possible values are: READUPDATELOCKHIDDENDISABLEDNONE


string
cspOrgId Optional

Unique ID associated with the org


entityTagAssociation Optional

List of tags associated with this dashboard


string
id Optional

A unique identifier for each dashboard


boolean
isFavourite Optional

Represents whether this dashboard is a user’s favorite


string
contentPackId Optional

ID of the content pack that this dashboard belongs to if the dashboard is part of a content pack


string
owner Optional

Name of the owner of this dashboard

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns DashboardDefinitionDto of type */*
{
	"allowedAction": "READ",
	"contentPackId": "string",
	"cspOrgId": "string",
	"dashboardType": "USER_DEFINED",
	"entityTagAssociation": [
		{
			"tagId": "string",
			"tagName": "string"
		}
	],
	"id": "string",
	"isFavourite": false,
	"name": "string",
	"owner": "string",
	"widgets": [
		{
			"analysisFunctions": [
				{
					"name": "INFLECTION",
					"parameters": {
						"key": "string"
					}
				}
			],
			"chartOptions": {
				"key": "string"
			},
			"chartType": "string",
			"description": "string",
			"filter": {
				"options": {
					"key": "string"
				},
				"type": "DATE"
			},
			"name": "string",
			"queryDefinitionLink": "string",
			"queryDefinitionState": {
				"aggregationFunctions": [
					{
						"fieldName": "string",
						"functionName": "COUNT"
					}
				],
				"annotation": false,
				"constraints": {
					"constraints": "QueryConstraint Object",
					"fieldName": "string",
					"operator": "AND",
					"tags": [
						"string"
					],
					"value": "string"
				},
				"contentPackId": "string",
				"description": "string",
				"documentAuthPrincipalLink": "string",
				"documentDescription": {
					"description": "string",
					"documentIndexingOptions": [
						"INDEX_METADATA"
					],
					"name": "string",
					"propertyDescriptions": {
						"key": {
							"elementDescription": "PropertyDescription Object",
							"enumValues": [
								"string"
							],
							"exampleValue": {},
							"indexingOptions": [
								"EXPAND"
							],
							"kind": "string",
							"propertyDocumentation": "string",
							"typeName": "LONG",
							"usageOptions": [
								"SINGLE_ASSIGNMENT"
							]
						}
					},
					"serializedStateSizeLimit": 0,
					"serviceCapabilities": [
						"INSTRUMENTATION"
					],
					"serviceRequestRoutes": {
						"key": {
							"action": "GET",
							"description": "string",
							"handler": {},
							"matcher": {},
							"parameters": [
								{
									"description": "string",
									"name": "string",
									"paramDef": "QUERY",
									"required": false,
									"type": "string",
									"value": "string"
								}
							],
							"path": "string",
							"supportLevel": "NOT_SUPPORTED"
						}
					},
					"userInterfaceResourcePath": "string",
					"versionRetentionFloor": 0,
					"versionRetentionLimit": 0
				},
				"documentEpoch": 0,
				"documentExpirationTimeMicros": 0,
				"documentKind": "string",
				"documentOwner": "string",
				"documentSelfLink": "string",
				"documentSourceLink": "string",
				"documentTransactionId": "string",
				"documentUpdateAction": "string",
				"documentUpdateTimeMicros": 0,
				"documentVersion": 0,
				"groupByTerms": [
					{
						"fieldName": "string",
						"groupByType": "EACH_VALUE"
					}
				],
				"isAnnotation": false,
				"isSearchable": false,
				"name": "string",
				"relationFunctions": [
					{
						"relationName": "string",
						"relationType": "LOGS",
						"shardInfo": {
							"key": "string"
						}
					}
				],
				"searchable": false,
				"source": "USER_DEFINED",
				"sourceName": "string",
				"tenantLinks": [
					"string"
				],
				"url": "string",
				"widget": {
					"analysisFunctions": [
						{
							"name": "INFLECTION",
							"parameters": {
								"key": "string"
							}
						}
					],
					"visualization": {
						"options": {
							"key": "string"
						},
						"type": "AREA"
					},
					"widgetType": "CHART"
				}
			},
			"visualization": {
				"options": {
					"key": "string"
				},
				"type": "AREA"
			},
			"widgetPlacement": {
				"height": 4,
				"width": 4,
				"x": 0,
				"y": 0
			},
			"widgetProperties": {
				"key": {}
			},
			"widgetType": "CHART"
		}
	]
}
string
name Required

A unique name for each dashboard


string
dashboardType Required

All allowed dashboard types, which include: USER_DEFINED

Possible values are: USER_DEFINED


array of DashboardWidget
widgets Required

List of dashboard widget


string
allowedAction Optional

All allowed feature actions, which include: READ, UPDATE, LOCK, HIDDEN, DISABLED, NONE

Possible values are: READUPDATELOCKHIDDENDISABLEDNONE


string
cspOrgId Optional

Unique ID associated with the org


entityTagAssociation Optional

List of tags associated with this dashboard


string
id Optional

A unique identifier for each dashboard


boolean
isFavourite Optional

Represents whether this dashboard is a user’s favorite


string
contentPackId Optional

ID of the content pack that this dashboard belongs to if the dashboard is part of a content pack


string
owner Optional

Name of the owner of this dashboard

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"allowedAction":"READ","contentPackId":"string","cspOrgId":"string","dashboardType":"USER_DEFINED","entityTagAssociation":[{"tagId":"string","tagName":"string"}],"id":"string","isFavourite":false,"name":"string","owner":"string","widgets":[{"analysisFunctions":[{"name":"INFLECTION","parameters":{"key":"string"}}],"chartOptions":{"key":"string"},"chartType":"string","description":"string","filter":{"options":{"key":"string"},"type":"DATE"},"name":"string","queryDefinitionLink":"string","queryDefinitionState":{"aggregationFunctions":[{"fieldName":"string","functionName":"COUNT"}],"annotation":false,"constraints":{"constraints":"QueryConstraint Object","fieldName":"string","operator":"AND","tags":["string"],"value":"string"},"contentPackId":"string","description":"string","documentAuthPrincipalLink":"string","documentDescription":{"description":"string","documentIndexingOptions":["INDEX_METADATA"],"name":"string","propertyDescriptions":{"key":{"elementDescription":"PropertyDescription Object","enumValues":["string"],"exampleValue":{},"indexingOptions":["EXPAND"],"kind":"string","propertyDocumentation":"string","typeName":"LONG","usageOptions":["SINGLE_ASSIGNMENT"]}},"serializedStateSizeLimit":0,"serviceCapabilities":["INSTRUMENTATION"],"serviceRequestRoutes":{"key":{"action":"GET","description":"string","handler":{},"matcher":{},"parameters":[{"description":"string","name":"string","paramDef":"QUERY","required":false,"type":"string","value":"string"}],"path":"string","supportLevel":"NOT_SUPPORTED"}},"userInterfaceResourcePath":"string","versionRetentionFloor":0,"versionRetentionLimit":0},"documentEpoch":0,"documentExpirationTimeMicros":0,"documentKind":"string","documentOwner":"string","documentSelfLink":"string","documentSourceLink":"string","documentTransactionId":"string","documentUpdateAction":"string","documentUpdateTimeMicros":0,"documentVersion":0,"groupByTerms":[{"fieldName":"string","groupByType":"EACH_VALUE"}],"isAnnotation":false,"isSearchable":false,"name":"string","relationFunctions":[{"relationName":"string","relationType":"LOGS","shardInfo":{"key":"string"}}],"searchable":false,"source":"USER_DEFINED","sourceName":"string","tenantLinks":["string"],"url":"string","widget":{"analysisFunctions":[{"name":"INFLECTION","parameters":{"key":"string"}}],"visualization":{"options":{"key":"string"},"type":"AREA"},"widgetType":"CHART"}},"visualization":{"options":{"key":"string"},"type":"AREA"},"widgetPlacement":{"height":4,"width":4,"x":0,"y":0},"widgetProperties":{"key":{}},"widgetType":"CHART"}]}' https://{api_host}/vrlic/api/v1/content/dashboards


[{"label":"Latest (v1)","version":"latest"}]
vmware-aria-operations-for-logs
Feedback

Was this page helpful?