• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Entities list cards

Settings API - Entities list cards schema table

Entities list cards (builtin:ua.entities-list)

Define entities lists and reference them in screen layout.

Schema IDSchema groupsScope
builtin:ua.entities-list
  • group:unified-analysis
ua-screen
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:ua.entities-list
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:ua.entities-list
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:ua.entities-list

Authentication

To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

PropertyLabelTypeDescriptionRequired
keyKeytext

Unique key, which is used to map to this entities list in the screen layout config.

required
displayNameDisplay nametext

The title of the card.

optional
descriptionDescriptiontext

The description of the card

Markdown syntax can be used to enrich description. To define a link, you can only use seaOtter links (https://dt-url.net/XXXXXXX) or action expression

The format of a single action expression is: actionName|key=param|key2=param2

optional
entitySelectorTemplateEntity selector templatetext

An entity selector that is used to fetch the selected entities.

For example for a process group screen where you want to list all processes this might look like this:
type(PROCESS_GROUP_INSTANCE), fromRelationships.isInstanceOf($(entityConditions))

Please mind that the $(entityConditions) is a placeholder for the current ME selector.

May be left empty if specified in screen layout.

optional
pageSizePage sizeinteger

The number of entities displayed on one page.

required
entitiesLimitEntities limitinteger

The limit of entities quantity fetched from the server.

When the limit is exceeded, only this number of entities will be displayed and the sorting of attributes and metrics columns will be turned off. To get it back again, user needs to apply filters to reduce number of records below the limit.

Raising the limit may cause performance drop and should be considered only for list with few metric columns.

required
displayProblemImpactWidgetDisplay problem impact widgetboolean

When true, widget, indicating that some entities are not healthy, will be displayed above the list. Make sure there is visible filtering with health state filter.

optional
displayChartsDisplay chartsboolean

When true, the charts will be displayed above the list. Be aware of performance overhead with vast number of metrics and entities.

required
displayMicroChartsDisplay micro chartsboolean

When true, micro charts will be displayed for added metrics. Be aware of performance overhead with vast number of metrics and entities.

optional
enableDetailsExpandabilityEnable details expandable sectionboolean

When true, detailed charts for each entity will be available.

required
numberOfVisibleChartsNumber of charts to displayinteger

The number of charts to display above the list and in details section.

required
hideEmptyChartsHide empty chartsboolean

If true, All empty charts will be hidden.

Decreases "Number of charts to display" to the number of available charts.

optional
chartsChartslist

Define charts to display timeseries data in the entities list.

required
displayIconsDisplay entity iconboolean

When true, entity icon will be displayed in the name column.

required
columnsColumnslist

Define columns to show additional data in the entities list.

required
emptyStateEmpty state definitionEmptyStateType

Specifies message shown when there are no entities found.

optional
initialSortingInitial sorting definitionInitialSortingType

Specifies initial sorting configuration.

optional
filteringFilteringFilteringType

Specifies filtering configuration.

optional
conditionsList of conditionsset

All conditions from the list need to be fulfilled for the List of Entities to be visible

required

Request body objects

The SplittingChartConfig object
PropertyLabelTypeDescriptionRequired
displayChartDisplay splitting chartboolean

When true, splitting chart for this filter will be displayed

required
The EntityFilterDefinition object
PropertyLabelTypeDescriptionRequired
typeTypetext-required
entityTypesEntity types listset

List of entity types that are filtered by this filter. All of them must have defined relationship to entity.

required
displayNameDisplay nametext-required
freeTextIs free text filterboolean

When true, user can type any text value. When false, user can only select one of the suggestions.

required
modifierText filter modifierenum

Specifies the behavior of free text filter's value

required
defaultSearchIs default searchboolean

When true, as user is typing it will suggest this key as default for searching. There can be only 1 default search filter in filtering.

required
distinctIs distinctboolean

When true, there can be only a single instance of this filter.

required
hiddenIs hiddenboolean

When true, this filter will be hidden.

optional
splittingChartSplitting chartSplittingChartConfig

Configure splitting chart for this filter.

optional
The EntityFilterGroupDefinition object
PropertyLabelTypeDescriptionRequired
displayNameGroup display nametext-required
filtersFilterslist

Define entity filters.

required
The FilteringType object
PropertyLabelTypeDescriptionRequired
relationshipsEntity relationships listset

To filter related entities you need to define relationship between them. For example to filter by process attributes on a host list you need to add entity selector with relationship like this: type(PROCESS_GROUP_INSTANCE), fromRelationship.isProcessOf(type(HOST)). Instead of type(HOST) you can use variable $(entityConditions). Relationships should cover all possible pairs of entity types in filters.

required
entityFiltersEntity filters listlist-required
The InitialSortingType object
PropertyLabelTypeDescriptionRequired
columnIdColumn IDtext

Column ID is a unique identifier of column. There are several ID types for different column types:

  • Entity column - 'name'

  • Metric with selectable aggregation - 'metric-{metricDisplayName}-{aggregation}' Example: 'metric-CPU Usage-Average'

  • metric without selectable aggregation - 'metric-{metricDisplayName}'
    Example: 'metric-CPU Usage'

  • Attribute - 'attribute-{attributeKey}'
    Example: 'attribute-osType'

  • Relation - 'attribute-{relationEntityType}-{relationDisplayName}'
    Example: 'attribute-CLOUD_APPLICATION-Workloads'

  • Metric dimension (Metric Table only) - 'metricDimension-{dimensionKey}'
    Example: 'metricDimension-dt.entity.host'

required
orderSorting orderenum-required
The EmptyStateType object
PropertyLabelTypeDescriptionRequired
headerMessage headertext-required
bodyMessage bodytext-required
The Threshold object
PropertyLabelTypeDescriptionRequired
colorColortext

RGB code of color

required
valueThreshold valuefloat

Value of the threshold. Area above this threshold will be marked by selected color

required
The MetricSelector object
PropertyLabelTypeDescriptionRequired
metricSelectorMetric selector expressiontext-required
metricSelectorPageMetric selector expression - page text

A metric selector expression for a dedicated metric line

This selector is used to gather data for currently selected page. It should point to the single value.

By default, that selector is created based on main one. e.g. for builtin:host.disk.free selector, per-page one will be builtin:host.disk.free$(entityFilter)$(userFilter):splitBy("dt.entity.disk")$(aggregation):last

For other examples, examine pageSelector field of metric object from screen definition generated on the entity screen.

When providing custom selector, following placeholders needs to be included:

  • $(entityFilter) - it is replaced with filter operator that adds context of currently visible rows. It is recommended to use directly after each metric key. e.g. for disk list it will be evaluated to :filter(in("dt.entity.disk",entitySelector("entityId(DISK-01, DISK-02)")))
  • $(userFilter) - it is replaced with filter operator that corresponds to filters from filter bar above the table. It is recommended to use before last splitBy operator.
  • $(aggregation) - it is replaced with aggregation operator based on selection above the chart. Should be as close to the end of expression as possible.
optional
metricSelectorSortMetric selector expression - sorttext

A metric selector expression for a dedicated metric line

This selector is used to gather data for currently sorted column. It should point to the single value. It queries data for whole table for given metric.

By default, that selector is created based on main one. e.g. for builtin:host.disk.free selector, per-page one will be builtin:host.disk.free$(entityFilter)$(userFilter):splitBy("dt.entity.disk")$(aggregation):last:sort(value(avg,$(sortOrder))):limit(X)

For other examples, examine sortSelector field of metric object from screen definition generated on the entity screen.

When providing custom selector, following placeholders needs to be included:

  • $(entityFilter) - it is replaced with filter operator that adds context of currently visible rows. It is recommended to use directly after each metric key. e.g. for disk list it will be evaluated to :filter(in("dt.entity.disk",entitySelector(type(DISK) AND fromRelationship.isDiskOf(type(HOST),entityId(HOST-1))))),
  • $(userFilter) - it is replaced with filter operator that corresponds to filters from filter bar above the table. It is recommended to use before last splitBy operator.
  • $(aggregation) - it is replaced with aggregation operator based on selection above the chart. Should be as close to the end of expression as possible.
  • $(sortOrder) - it is replaced with sort order constant from metric selector descending or ascending.

Do not include limit operator. It will be appended automatically according to card configuration.

optional
metricSelectorDetailedMetric selector expression - detailstext

A metric selector expression for a dedicated metric line

This selector is used to gather data for details section in table row.

By default, that selector is created based on main one. e.g. for builtin:host.disk.free selector, per-page one will be builtin:host.disk.free$(entityFilter)$(userFilter):splitBy("dt.entity.disk")$(aggregation)

For other examples, examine detailsSelector field of metric object from screen definition generated on the entity screen.

When providing custom selector, following placeholders needs to be included:

  • $(entityFilter) - it is replaced with filter operator that adds context of currently visible rows. It is recommended to use directly after each metric key. e.g. for disk list it will be evaluated to :filter(in("dt.entity.disk",entitySelector(type(DISK) AND fromRelationship.isDiskOf(type(HOST),entityId(HOST-1))))),
  • $(userFilter) - it is replaced with filter operator that corresponds to filters from filter bar above the table. It is recommended to use before last splitBy operator.
  • $(aggregation) - it is replaced with aggregation operator based on selection above the chart. Should be as close to the end of expression as possible.
optional
The SingleValueConfig object
PropertyLabelTypeDescriptionRequired
metricMetricMetricSelector

Defines how to fetch data for the single value visualization, please note that it shows only the first enabled metric from the query and also various fold transformations needs to be explicitly defined here in the selector

required
defaultAggregationDefault aggregationenum

Defines default aggregation of the chart timeseries. If not defined or selected one is not supported, it is deduced from metrics metadata.

optional
thresholdsList thresholdsset

List of defined thresholds for the chart

required
showTrendShow trendboolean

When true, the trend is visible

optional
showSparklineShow sparklineboolean

When true, the sparkline is visible

optional
displayNameDisplay nametext

Display name for value

optional
foldTransformationFold transformationenum

Defines transformation method, which fold data into single value. If not defined, it is deduced automatically.

optional
The ColorOverrides object
PropertyLabelTypeDescriptionRequired
colorColortext

RGB code of color

required
seriesNameSeries Nametext

Series name should point to whole metric or single dimension name

required
The PieChartConfig object
PropertyLabelTypeDescriptionRequired
metricMetricMetricSelector

Defines how to fetch data for the pie chart, please note that various fold transformations needs to be explicitly defined here in the selector

required
defaultAggregationDefault aggregationenum

Defines default aggregation of the chart timeseries. If not defined or selected one is not supported, it is deduced from metrics metadata.

optional
themeColorColor themeenum-optional
colorOverrideList of color overridesset

There is possibility to override color of single series, even single dimension of a metric

required
showLegendShow legendboolean

When true, axis legend on the whole chart is visible

optional
The XAxis object
PropertyLabelTypeDescriptionRequired
nameNametext-optional
visibleIs visibleboolean

When true, axis legend is visible

required
The YAxis object
PropertyLabelTypeDescriptionRequired
keyY-Axis keytext

Y-axis key to be matched with metric's reference

required
nameAxis titletext

Axis title

optional
positionPositionenum

Pick a side for the axis

required
visibleIs visibleboolean

When true, axis is visible

required
minMintext

Minimal axis value

optional
maxMaxtext

Maximal axis value

optional
The VisualizationOptions object
PropertyLabelTypeDescriptionRequired
themeColorColor themeenum-optional
seriesTypeSeries typeenum-optional
showLegendShow legendboolean

When true, axis legend on the whole chart is visible

optional
The MetricVisualizationOptions object
PropertyLabelTypeDescriptionRequired
themeColorColor themeenum-optional
seriesTypeSeries typeenum-optional
displayNameDisplay nametext-optional
colorOverrideList of color overridesset

There is possibility to override color of single series, even single dimension of a metric

required
The MetricDefinition object
PropertyLabelTypeDescriptionRequired
metricSelectorMetric selector expressiontext

A metric selector expression for a dedicated metric line

For example, if you want to show the available disk space of a host, use
builtin:host.disk.free.

It also supports the ability to split by dimension, aggregate the selected metric and a lot more, for example:
builtin:host.disk.free:splitBy(dt.entity.disk):max
The filter for the ME id will be applied automatically.

The Metric Browser gives an overview of all the metrics an the available operations for every metric.

required
metricSelectorPageMetric selector expression - page text

Override metric selector expression for current page

This selector is used to gather data for currently selected page. It should point to the single value.

By default, that selector is created based on main one. e.g. for builtin:host.disk.free selector, per-page one will be builtin:host.disk.free$(entityFilter)$(userFilter):splitBy("dt.entity.disk")$(aggregation):last

For other examples, examine pageSelector field of metric object from screen definition generated on the entity screen.

When providing custom selector, following placeholders needs to be included:

  • $(entityFilter) - it is replaced with filter operator that adds context of currently visible rows. It is recommended to use directly after each metric key. e.g. for disk list it will be evaluated to :filter(in("dt.entity.disk",entitySelector("entityId(DISK-01, DISK-02)")))
  • $(userFilter) - it is replaced with filter operator that corresponds to filters from filter bar above the table. It is recommended to use before last splitBy operator.
  • $(aggregation) - it is replaced with aggregation operator based on selection above the chart. Should be as close to the end of expression as possible.
optional
metricSelectorSortMetric selector expression - sorttext

A metric selector expression for a dedicated metric line

This selector is used to gather data for currently sorted column. It should point to the single value. It queries data for whole table for given metric.

By default, that selector is created based on main one. e.g. for builtin:host.disk.free selector, per-page one will be builtin:host.disk.free$(entityFilter)$(userFilter):splitBy("dt.entity.disk")$(aggregation):last:sort(value(avg,$(sortOrder))):limit(X)

For other examples, examine sortSelector field of metric object from screen definition generated on the entity screen.

When providing custom selector, following placeholders needs to be included:

  • $(entityFilter) - it is replaced with filter operator that adds context of currently visible rows. It is recommended to use directly after each metric key. e.g. for disk list it will be evaluated to :filter(in("dt.entity.disk",entitySelector(type(DISK) AND fromRelationship.isDiskOf(type(HOST),entityId(HOST-1))))),
  • $(userFilter) - it is replaced with filter operator that corresponds to filters from filter bar above the table. It is recommended to use before last splitBy operator.
  • $(aggregation) - it is replaced with aggregation operator based on selection above the chart. Should be as close to the end of expression as possible.
  • $(sortOrder) - it is replaced with sort order constant from metric selector descending or ascending.

Do not include limit operator. It will be appended automatically according to card configuration.

optional
metricSelectorDetailedMetric selector expression - detailstext

A metric selector expression for a dedicated metric line

This selector is used to gather data for details section in table row.

By default, that selector is created based on main one. e.g. for builtin:host.disk.free selector, per-page one will be builtin:host.disk.free$(entityFilter)$(userFilter):splitBy("dt.entity.disk")$(aggregation)

For other examples, examine detailsSelector field of metric object from screen definition generated on the entity screen.

When providing custom selector, following placeholders needs to be included:

  • $(entityFilter) - it is replaced with filter operator that adds context of currently visible rows. It is recommended to use directly after each metric key. e.g. for disk list it will be evaluated to :filter(in("dt.entity.disk",entitySelector(type(DISK) AND fromRelationship.isDiskOf(type(HOST),entityId(HOST-1))))),
  • $(userFilter) - it is replaced with filter operator that corresponds to filters from filter bar above the table. It is recommended to use before last splitBy operator.
  • $(aggregation) - it is replaced with aggregation operator based on selection above the chart. Should be as close to the end of expression as possible.
optional
visualizationVisualizationMetricVisualizationOptions-optional
yAxisKeyY-Axis keytext

Select Y-axis to be matched with this metric by its key

optional
The GraphChartConfig object
PropertyLabelTypeDescriptionRequired
metricsMetricslist

Defines how to fetch data for a single line in the chart

required
defaultAggregationDefault aggregationenum

Defines default aggregation of the chart timeseries. If not defined or selected one is not supported, it is deduced from metrics metadata.

optional
visualizationVisualizationVisualizationOptions-optional
thresholdsList thresholdsset

List of defined thresholds for the chart

required
yAxesY axeslist

You can control how each Y axis of your graph are displayed

required
xAxisX axisXAxis

You can control how X axis of your graph are displayed

optional
stackedStacked chartboolean

When true, series on chart are stacked.

optional
connectGapsConnect gapsboolean

When true, gaps in charts will be connected even if there is truly no data

optional
The ChartDefinition object
PropertyLabelTypeDescriptionRequired
displayNameDisplay nametext-required
detailedChartDetailed chartboolean

If enabled, chart will be available in the expanded row of the entry in the table

required
chartAsColumnChart as columnboolean

If enabled, metric of that chart will generate table columns

required
conditionsList of conditionsset

All conditions from the list need to be fulfilled for the chart to be visible

required
visualizationTypeVisualization Typeenum-required
graphChartConfig-GraphChartConfig-required
pieChartConfig-PieChartConfig-required
singleValueConfig-SingleValueConfig-required
The AttributeType object
PropertyLabelTypeDescriptionRequired
keyAttribute keytext

Use to reference desired attribute

required
displayNameDisplay nametext

Leave empty to resolve automatically

optional
The RelationType object
PropertyLabelTypeDescriptionRequired
entitySelectorTemplateEntity selector templatetext

An entity selector that is used to fetch the selected entities

For example for a processes table where you want to show the process group this might look like this:
type(PROCESS_GROUP), toRelationships.isInstanceOf($(entityConditions))

Please mind that the $(entityConditions) is a placeholder for the current ME selector

required
displayNameDisplay nametext-required
displayAmountDisplay amountboolean

When true, in the column there will be displayed amount of related entities instead of name of related entity.

optional
fallbackMessageFallback Messagetext

Display additional message if no entity is found.

optional
The CustomColumnData object
PropertyLabelTypeDescriptionRequired
keyKeytext

Use to reference desired attribute option key

required
valueValuetext

Provide option value

required
The CustomType object
PropertyLabelTypeDescriptionRequired
keyCustom column keytext

Use to reference desired custom column

required
displayNameDisplay nametext-required
dataAdditional optionsset-required
The ColumnDefinition object
PropertyLabelTypeDescriptionRequired
typeColumn typeenum

Specifies the type of the column

required
attributeAttribute optionsAttributeType-required
relationRelation optionsRelationType-required
customCustom optionsCustomType-required
conditionsList of conditionsset

All conditions from the list need to be fulfilled for the column to be visible

required