This documentation and the Cisco Observability Platform functionalities it describes are subject to change. Data saved on the platform may disappear and APIs may change without notice.
dashui:template
Description
dashui:template defines a type from the kind template.
Syntax
{
"kind": "<string>",
"target": "<string>",
"name": "<string>",
"view": "<string>",
"description": "<string>",
"element": "<string>"
}
Attributes
| Name | Description |
|---|---|
kind |
This specifies the kind of type that is defined. |
target |
A pattern that is matched against the entity that the topology context points to. |
name |
The name of the template. This consists of - NAMESPACE : LOCAL_NAME -. |
view |
The view that template is used in. The default is set to - default -. |
description |
This provides a description of the template. |
element |
This is the configuration for a Template-Element. |
Example
{
"kind": "template",
"name": "dashui:name",
"target": "spacefleet:warp_drive",
"view": "default",
"element": {
"instanceOf": "string",
"path": ["attributes(spacefleet.warp_drive.id), id"]
}
}