Core App Block Grid

Core App Block Grid

Certified

A block for displaying blocks in a customizable grid.

Blocks flow from left to right and wrap when the row is full. A cell holds exactly one block: nest a Grid in it to place several. Below the mobile breakpoint of the app the grid collapses to a single column and every span is ignored.

yaml
type: io.kestra.plugin.ee.apps.core.blocks.Grid

Place the outputs and inputs side by side, the outputs spanning two of three columns

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Grid
        columns: 3
        gap: LARGE
        blocks:
          - type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
            span: 2
          - type: io.kestra.plugin.ee.apps.execution.blocks.Inputs
Properties
Min items1

The blocks to display in the grid.

Definitions
Example

Show a success or error message depending on how the execution ends

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Alert
        style: SUCCESS
        showIcon: true
        content: "The {{ inputs.region }} report is ready."

  - on: FAILURE
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Alert
        style: ERROR
        showIcon: true
        content: The report could not be built. Contact the data team.
contentstring

The content of the alert.

showIconboolean
Defaultfalse

Specify whether a type icon is displayed.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

stylestring
Possible Values
SUCCESSINFOWARNINGERROR

The type of alert.

typeobject

Re-renders the layout every second, so the page switches layout when the execution changes state outside the app, for example when an approver resumes it from the Kestra UI. RUNNING layouts already follow the execution without this block.

Example

Refresh the page while an execution waits for approval, so it switches to the success layout once resumed

yaml
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
  type: PRIVATE

layout:
  - on: PAUSE
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: |
          ## Waiting for approval
          This page updates as soon as an approver resumes the execution.
      - type: io.kestra.plugin.ee.apps.core.blocks.AutoRefresh

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Alert
        style: SUCCESS
        content: Your VM request was approved.
spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject

Opens the given URL. Use {{ app.url }} to link back to the app, for instance to submit a new request.

Example

Link back to the app so the user can submit another request

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: The report is ready.
      - type: io.kestra.plugin.ee.apps.core.blocks.Button
        text: Build another report
        url: "{{ app.url }}"
        style: PRIMARY
url*string

The link to add to the button.

fullWidthboolean

Whether the button spans the full width of its container.

sizestring
Possible Values
DEFAULTLARGESMALL

The size of the button.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

stylestring
Possible Values
DEFAULTPRIMARYSUCCESSINFOWARNINGDANGER

The style of the button.

textstring
DefaultSubmit

The text of the button.

typeobject

The chart is a verbatim io.kestra.plugin.core.dashboard.chart.* definition, so it takes the same properties as a chart in a dashboard. The chartOptions.width is ignored since the width comes from the app layout. The chart covers the last 7 days unless its where filters say otherwise, and shows at most 1000 rows. The data is read for the tenant of the app with the permissions of the viewer, so an anonymous visitor of a public app gets no rows from a data source protected by namespace permissions, such as Executions.

chart*

The dashboard chart to display.

Example

Display a bar chart with Executions per Namespace.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
    legend:
      enabled: true
    column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Execution
          agg: COUNT
data*

Aggregate assets by type, namespace or any metadata key to visualize your inventory. Assets are not filtered by the dashboard time-range, so charts always reflect the current inventory.

Example

Display a pie chart with the distribution of VM assets by their os metadata.

yaml
charts:
  - id: vm_os_distribution
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: VM OS Distribution
      column: os
    data:
      type: io.kestra.plugin.ee.dashboard.data.Assets
      columns:
        os:
          field: METADATA
          key: os
          displayName: OS
        total:
          agg: COUNT
      where:
        - field: TYPE
          type: EQUAL_TO
          value: io.kestra.plugin.ee.assets.VM
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a bar chart with Executions per Namespace.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
    legend:
      enabled: true
    column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Execution
          agg: COUNT
data*

Displays a compact or pre-aggregated dataset ION file (one object per line) written by a flow. The flow does the heavy aggregation work, and the dashboard shows the result. The file is read sequentially, so keep the file small and already shaped for the chart.

It reads the output file of the latest successful execution of the flow, from the Kestra internal storage. Each execution output must be a full snapshot, so the chart shows the dataset of that execution only.

The dashboard time window filters the rows on dateColumn. Without dateColumn, there is no time filter. An AVG column can set weight to the name of a file column holding the weight of each row, to compute a weighted average. A row without that column counts for 0.

Limits

Two settings keep the display time short and the server load low. Tune them to your use case and to your storage backend (a remote backend such as S3 reads slower than a local disk), in the Kestra configuration:

kestra: 
  ee: 
    dashboard: 
      outputs: 
        max-rows: 10000
        max-file-size: 100MB
  • max-rows (default 10000): the number of rows read from the file to draw a chart, counted before the chart filters apply. The chart tells you when the file holds more rows.
  • max-file-size (default 100MB): the file size a chart reads. The chart tells you when a file is bigger.
Example

Display the weighted average latency of the latest run of a flow.

yaml
charts:
  - id: latency
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Average latency by service
    data:
      type: io.kestra.plugin.ee.dashboard.data.Outputs
      namespace: company.monitoring
      flowId: latency
      output: stats
      columns:
        service:
          key: service
        latency:
          key: avg_latency
          agg: AVG
          weight: requests

Display the orders rejected by the latest run of a flow.

yaml
charts:
  - id: rejected_orders
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Rejected orders
    data:
      type: io.kestra.plugin.ee.dashboard.data.Outputs
      namespace: company.ingest
      flowId: orders
      output: rejected
      dateColumn: received_at
      columns:
        orderId:
          key: order_id
          displayName: Order
        reason:
          key: reason
          displayName: Reason
        amount:
          key: amount
          displayName: Amount
          agg: SUM
      where:
        - field: COLUMN
          key: reason
          type: NOT_EQUAL_TO
          value: DUPLICATE
columns*object
flowId*string
Min length1

The identifier of the flow.

namespace*string
Min length1

The namespace of the flow.

output*string
Min length1

The name of the flow output holding the ION file.

type*object
dateColumnstring

The file column holding the date of each row, used to apply the dashboard time window.

orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a bar chart with Executions per Namespace.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
    legend:
      enabled: true
    column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Execution
          agg: COUNT
data*

Execution data can be displayed in charts broken out by Namespace and filtered by State, for example.

Example

Display a chart with a Executions per Namespace broken out by State.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
      legend:
        enabled: true
      column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT

Display the executions that ran for longer than ten seconds. A DURATION filter takes an ISO-8601 duration, or a number of seconds.

yaml
charts:
  - id: slow_executions
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Slow executions
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        id:
          field: ID
        duration:
          field: DURATION
      where:
        - field: DURATION
          type: GREATER_THAN
          value: PT10S
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a bar chart with Executions per Namespace.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
    legend:
      enabled: true
    column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Execution
          agg: COUNT
data*
Example

Display a chart with a list of Flows.

yaml
charts:
  - id: list_flows
    type: io.kestra.plugin.core.dashboard.chart.Table
    data:
      type: io.kestra.plugin.core.dashboard.data.Flows
      columns:
        namespace:
          field: NAMESPACE
        id:
          field: ID
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a bar chart with Executions per Namespace.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
    legend:
      enabled: true
    column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Execution
          agg: COUNT
data*

Log data can be displayed in a chart with certain parameters such as Execution date or Log level.

Example

Display a chart with a count of Logs per date grouped by level.

yaml
charts:
  - id: logs_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Logs
      description: Logs count per date grouped by level
      legend:
        enabled: true
      column: date
      colorByColumn: level
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        date:
          field: DATE
          displayName: Execution Date
        level:
          field: LEVEL
        total:
          displayName: Total Executions
          agg: COUNT
          graphStyle: BARS
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a bar chart with Executions per Namespace.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
    legend:
      enabled: true
    column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Execution
          agg: COUNT
data*

A chart using Metrics could display the number of rows loaded in a bigQuery task or an output count from a SQL Query; anything exposed by an execution.

Example

Display a chart with rows inserted by Namespace.

yaml
charts:
  - id: table_metrics
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Rows Inserted by Namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        namespace:
          field: NAMESPACE
        inserted_rows:
          field: VALUE
          agg: SUM
      where:
        - field: NAME
          type: EQUAL_TO
          value: rows
      orderBy:
        - column: inserted_rows
          order: DESC
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a bar chart with Executions per Namespace.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
    legend:
      enabled: true
    column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Execution
          agg: COUNT
data*

Trigger data can be displayed in charts or tables listing the Namespace, Flow, and next execution date of each trigger, and filtered by whether the trigger is disabled, for example.

Example

Display a table with the next execution date of each enabled trigger.

yaml
charts:
  - id: next_executions
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Next Executions
      pagination:
        enabled: true
    data:
      type: io.kestra.plugin.core.dashboard.data.Triggers
      where:
        - field: DISABLED
          type: EQUAL_TO
          value: false
      columns:
        namespace:
          field: NAMESPACE
          displayName: Namespace
        flowId:
          field: FLOW_ID
          displayName: Flow
        nextExec:
          field: NEXT_EXECUTION_DATE
          displayName: Next Execution Date
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12

KPI charts are used to display a single value, such as a count or percentage, often used to track performance indicators.

Example

Display a Success Ratio per Flow

yaml
charts:
  - id: KPI_SUCCESS_PERCENTAGE
    type: io.kestra.plugin.core.dashboard.chart.KPI # io.kestra.plugin.core.dashboard.chart.Trends
    chartOptions:
      displayName: Success Ratio
      numberType: PERCENTAGE
      width: 3
    data:
      type: io.kestra.plugin.core.dashboard.data.ExecutionsKPI # io.kestra.plugin.core.dashboard.data.ExecutionsTrends
      columns:
        field: FLOW_ID
        agg: COUNT
      numerator:
        - field: STATE
          type: IN
          values:
            - SUCCESS
      where: # optional if you filter by namespace
        - field: NAMESPACE
          type: EQUAL_TO
          value: "company.team"
data*

Change.

Example

Display a chart with executions in success in a given namespace.

yaml
charts:
  - id: kpi_success_ratio
    type: io.kestra.plugin.core.dashboard.chart.KPI
    chartOptions:
      displayName: Success Ratio
      numberType: PERCENTAGE
      width: 3
    data:
      type: io.kestra.plugin.core.dashboard.data.ExecutionsKPI
      columns:
        field: ID
        agg: COUNT
      numerator:
        - type: IN
          field: STATE
          values:
            - SUCCESS
type*object
columns
numerator
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
numberTypestring
DefaultFLAT
Possible Values
FLATPERCENTAGE
widthinteger
Default6
Minimum>= 1
Maximum<= 12

KPI charts are used to display a single value, such as a count or percentage, often used to track performance indicators.

Example

Display a Success Ratio per Flow

yaml
charts:
  - id: KPI_SUCCESS_PERCENTAGE
    type: io.kestra.plugin.core.dashboard.chart.KPI # io.kestra.plugin.core.dashboard.chart.Trends
    chartOptions:
      displayName: Success Ratio
      numberType: PERCENTAGE
      width: 3
    data:
      type: io.kestra.plugin.core.dashboard.data.ExecutionsKPI # io.kestra.plugin.core.dashboard.data.ExecutionsTrends
      columns:
        field: FLOW_ID
        agg: COUNT
      numerator:
        - field: STATE
          type: IN
          values:
            - SUCCESS
      where: # optional if you filter by namespace
        - field: NAMESPACE
          type: EQUAL_TO
          value: "company.team"
data*

Change.

Example

Display count of Flows.

yaml
charts:
  - id: kpi
    type: io.kestra.plugin.core.dashboard.chart.KPI
    data:
      type: io.kestra.plugin.core.dashboard.data.FlowsKPI
      columns:
        field: ID
        agg: COUNT
type*object
columns
numerator
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
numberTypestring
DefaultFLAT
Possible Values
FLATPERCENTAGE
widthinteger
Default6
Minimum>= 1
Maximum<= 12

KPI charts are used to display a single value, such as a count or percentage, often used to track performance indicators.

Example

Display a Success Ratio per Flow

yaml
charts:
  - id: KPI_SUCCESS_PERCENTAGE
    type: io.kestra.plugin.core.dashboard.chart.KPI # io.kestra.plugin.core.dashboard.chart.Trends
    chartOptions:
      displayName: Success Ratio
      numberType: PERCENTAGE
      width: 3
    data:
      type: io.kestra.plugin.core.dashboard.data.ExecutionsKPI # io.kestra.plugin.core.dashboard.data.ExecutionsTrends
      columns:
        field: FLOW_ID
        agg: COUNT
      numerator:
        - field: STATE
          type: IN
          values:
            - SUCCESS
      where: # optional if you filter by namespace
        - field: NAMESPACE
          type: EQUAL_TO
          value: "company.team"
data*

Aggregates Log data into a single value, such as a count of logs or the ratio of logs matching the numerator filters, to be displayed in a KPI chart.

Example

Display the percentage of ERROR logs in a given namespace.

yaml
charts:
  - id: kpi_error_logs_ratio
    type: io.kestra.plugin.core.dashboard.chart.KPI
    chartOptions:
      displayName: Error Logs Ratio
      numberType: PERCENTAGE
      width: 3
    data:
      type: io.kestra.plugin.core.dashboard.data.LogsKPI
      columns:
        field: LEVEL
        agg: COUNT
      numerator:
        - type: IN
          field: LEVEL
          values:
            - ERROR
      where:
        - field: NAMESPACE
          type: EQUAL_TO
          value: "company.team"
type*object
columns
numerator
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
numberTypestring
DefaultFLAT
Possible Values
FLATPERCENTAGE
widthinteger
Default6
Minimum>= 1
Maximum<= 12

KPI charts are used to display a single value, such as a count or percentage, often used to track performance indicators.

Example

Display a Success Ratio per Flow

yaml
charts:
  - id: KPI_SUCCESS_PERCENTAGE
    type: io.kestra.plugin.core.dashboard.chart.KPI # io.kestra.plugin.core.dashboard.chart.Trends
    chartOptions:
      displayName: Success Ratio
      numberType: PERCENTAGE
      width: 3
    data:
      type: io.kestra.plugin.core.dashboard.data.ExecutionsKPI # io.kestra.plugin.core.dashboard.data.ExecutionsTrends
      columns:
        field: FLOW_ID
        agg: COUNT
      numerator:
        - field: STATE
          type: IN
          values:
            - SUCCESS
      where: # optional if you filter by namespace
        - field: NAMESPACE
          type: EQUAL_TO
          value: "company.team"
data*

Aggregates Metrics exposed by tasks into a single value, such as the total number of rows loaded by a BigQuery task or an output count from a SQL query, to be displayed in a KPI chart.

Example

Display the total number of rows inserted in a given namespace.

yaml
charts:
  - id: kpi_inserted_rows
    type: io.kestra.plugin.core.dashboard.chart.KPI
    chartOptions:
      displayName: Rows Inserted
      numberType: FLAT
      width: 3
    data:
      type: io.kestra.plugin.core.dashboard.data.MetricsKPI
      columns:
        field: VALUE
        agg: SUM
      where:
        - field: NAME
          type: EQUAL_TO
          value: rows
        - field: NAMESPACE
          type: EQUAL_TO
          value: "company.team"
type*object
columns
numerator
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
numberTypestring
DefaultFLAT
Possible Values
FLATPERCENTAGE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display custom content in place with Markdown.

yaml
charts:
  - id: markdown_insight
    type: io.kestra.plugin.core.dashboard.chart.Markdown
    chartOptions:
      displayName: Chart Insights
      description: How to interpret this chart
    content: |
      ## Execution Success Rate
      This chart displays the percentage of successful executions over time.

      - A **higher success rate** indicates stable and reliable workflows.

      - Sudden **drops** may signal issues in task execution or external dependencies.

      - Use this insight to identify trends and optimize performance.
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
widthinteger
Default6
Minimum>= 1
Maximum<= 12
source
flowId*string

Flow ID

namespace*string

Flow Namespace

type*string
Validation RegExp^[A-Za-z_$][A-Za-z0-9_$]*(\.[A-Za-z_$][A-Za-z0-9_$]*)*$
Min length1
type*string
Validation RegExp^[A-Za-z_$][A-Za-z0-9_$]*(\.[A-Za-z_$][A-Za-z0-9_$]*)*$
Min length1
contentstring

Markdown content to display

Example

Display a pie chart with Executions per State.

yaml
charts:
  - id: executions_pie
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Total Executions
      description: Total executions per state
    legend:
      enabled: true
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        state:
          field: STATE
        total:
          agg: COUNT

Display open issues by priority, with a color and a display name per priority, listed from critical to low.

yaml
charts:
  - id: open_by_priority
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Open issues by priority
      colorByColumn: name
      colorByValues:
        - value: by_priority.critical
          label: Critical
          color: failed
        - value: by_priority.high
          label: High
          color: warning
        - value: by_priority.medium
          label: Medium
          color: "#f9a825"
        - value: by_priority.low
          label: Low
          color: success
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        name:
          field: NAME
        value:
          field: VALUE
          agg: MAX
data*

Aggregate assets by type, namespace or any metadata key to visualize your inventory. Assets are not filtered by the dashboard time-range, so charts always reflect the current inventory.

Example

Display a pie chart with the distribution of VM assets by their os metadata.

yaml
charts:
  - id: vm_os_distribution
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: VM OS Distribution
      column: os
    data:
      type: io.kestra.plugin.ee.dashboard.data.Assets
      columns:
        os:
          field: METADATA
          key: os
          displayName: OS
        total:
          agg: COUNT
      where:
        - field: TYPE
          type: EQUAL_TO
          value: io.kestra.plugin.ee.assets.VM
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
graphStylestring
DefaultDONUT
Possible Values
PIEDONUT
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a pie chart with Executions per State.

yaml
charts:
  - id: executions_pie
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Total Executions
      description: Total executions per state
    legend:
      enabled: true
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        state:
          field: STATE
        total:
          agg: COUNT

Display open issues by priority, with a color and a display name per priority, listed from critical to low.

yaml
charts:
  - id: open_by_priority
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Open issues by priority
      colorByColumn: name
      colorByValues:
        - value: by_priority.critical
          label: Critical
          color: failed
        - value: by_priority.high
          label: High
          color: warning
        - value: by_priority.medium
          label: Medium
          color: "#f9a825"
        - value: by_priority.low
          label: Low
          color: success
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        name:
          field: NAME
        value:
          field: VALUE
          agg: MAX
data*

Displays a compact or pre-aggregated dataset ION file (one object per line) written by a flow. The flow does the heavy aggregation work, and the dashboard shows the result. The file is read sequentially, so keep the file small and already shaped for the chart.

It reads the output file of the latest successful execution of the flow, from the Kestra internal storage. Each execution output must be a full snapshot, so the chart shows the dataset of that execution only.

The dashboard time window filters the rows on dateColumn. Without dateColumn, there is no time filter. An AVG column can set weight to the name of a file column holding the weight of each row, to compute a weighted average. A row without that column counts for 0.

Limits

Two settings keep the display time short and the server load low. Tune them to your use case and to your storage backend (a remote backend such as S3 reads slower than a local disk), in the Kestra configuration:

kestra: 
  ee: 
    dashboard: 
      outputs: 
        max-rows: 10000
        max-file-size: 100MB
  • max-rows (default 10000): the number of rows read from the file to draw a chart, counted before the chart filters apply. The chart tells you when the file holds more rows.
  • max-file-size (default 100MB): the file size a chart reads. The chart tells you when a file is bigger.
Example

Display the weighted average latency of the latest run of a flow.

yaml
charts:
  - id: latency
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Average latency by service
    data:
      type: io.kestra.plugin.ee.dashboard.data.Outputs
      namespace: company.monitoring
      flowId: latency
      output: stats
      columns:
        service:
          key: service
        latency:
          key: avg_latency
          agg: AVG
          weight: requests

Display the orders rejected by the latest run of a flow.

yaml
charts:
  - id: rejected_orders
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Rejected orders
    data:
      type: io.kestra.plugin.ee.dashboard.data.Outputs
      namespace: company.ingest
      flowId: orders
      output: rejected
      dateColumn: received_at
      columns:
        orderId:
          key: order_id
          displayName: Order
        reason:
          key: reason
          displayName: Reason
        amount:
          key: amount
          displayName: Amount
          agg: SUM
      where:
        - field: COLUMN
          key: reason
          type: NOT_EQUAL_TO
          value: DUPLICATE
columns*object
flowId*string
Min length1

The identifier of the flow.

namespace*string
Min length1

The namespace of the flow.

output*string
Min length1

The name of the flow output holding the ION file.

type*object
dateColumnstring

The file column holding the date of each row, used to apply the dashboard time window.

orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
graphStylestring
DefaultDONUT
Possible Values
PIEDONUT
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a pie chart with Executions per State.

yaml
charts:
  - id: executions_pie
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Total Executions
      description: Total executions per state
    legend:
      enabled: true
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        state:
          field: STATE
        total:
          agg: COUNT

Display open issues by priority, with a color and a display name per priority, listed from critical to low.

yaml
charts:
  - id: open_by_priority
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Open issues by priority
      colorByColumn: name
      colorByValues:
        - value: by_priority.critical
          label: Critical
          color: failed
        - value: by_priority.high
          label: High
          color: warning
        - value: by_priority.medium
          label: Medium
          color: "#f9a825"
        - value: by_priority.low
          label: Low
          color: success
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        name:
          field: NAME
        value:
          field: VALUE
          agg: MAX
data*

Execution data can be displayed in charts broken out by Namespace and filtered by State, for example.

Example

Display a chart with a Executions per Namespace broken out by State.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
      legend:
        enabled: true
      column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT

Display the executions that ran for longer than ten seconds. A DURATION filter takes an ISO-8601 duration, or a number of seconds.

yaml
charts:
  - id: slow_executions
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Slow executions
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        id:
          field: ID
        duration:
          field: DURATION
      where:
        - field: DURATION
          type: GREATER_THAN
          value: PT10S
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
graphStylestring
DefaultDONUT
Possible Values
PIEDONUT
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a pie chart with Executions per State.

yaml
charts:
  - id: executions_pie
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Total Executions
      description: Total executions per state
    legend:
      enabled: true
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        state:
          field: STATE
        total:
          agg: COUNT

Display open issues by priority, with a color and a display name per priority, listed from critical to low.

yaml
charts:
  - id: open_by_priority
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Open issues by priority
      colorByColumn: name
      colorByValues:
        - value: by_priority.critical
          label: Critical
          color: failed
        - value: by_priority.high
          label: High
          color: warning
        - value: by_priority.medium
          label: Medium
          color: "#f9a825"
        - value: by_priority.low
          label: Low
          color: success
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        name:
          field: NAME
        value:
          field: VALUE
          agg: MAX
data*
Example

Display a chart with a list of Flows.

yaml
charts:
  - id: list_flows
    type: io.kestra.plugin.core.dashboard.chart.Table
    data:
      type: io.kestra.plugin.core.dashboard.data.Flows
      columns:
        namespace:
          field: NAMESPACE
        id:
          field: ID
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
graphStylestring
DefaultDONUT
Possible Values
PIEDONUT
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a pie chart with Executions per State.

yaml
charts:
  - id: executions_pie
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Total Executions
      description: Total executions per state
    legend:
      enabled: true
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        state:
          field: STATE
        total:
          agg: COUNT

Display open issues by priority, with a color and a display name per priority, listed from critical to low.

yaml
charts:
  - id: open_by_priority
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Open issues by priority
      colorByColumn: name
      colorByValues:
        - value: by_priority.critical
          label: Critical
          color: failed
        - value: by_priority.high
          label: High
          color: warning
        - value: by_priority.medium
          label: Medium
          color: "#f9a825"
        - value: by_priority.low
          label: Low
          color: success
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        name:
          field: NAME
        value:
          field: VALUE
          agg: MAX
data*

Log data can be displayed in a chart with certain parameters such as Execution date or Log level.

Example

Display a chart with a count of Logs per date grouped by level.

yaml
charts:
  - id: logs_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Logs
      description: Logs count per date grouped by level
      legend:
        enabled: true
      column: date
      colorByColumn: level
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        date:
          field: DATE
          displayName: Execution Date
        level:
          field: LEVEL
        total:
          displayName: Total Executions
          agg: COUNT
          graphStyle: BARS
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
graphStylestring
DefaultDONUT
Possible Values
PIEDONUT
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a pie chart with Executions per State.

yaml
charts:
  - id: executions_pie
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Total Executions
      description: Total executions per state
    legend:
      enabled: true
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        state:
          field: STATE
        total:
          agg: COUNT

Display open issues by priority, with a color and a display name per priority, listed from critical to low.

yaml
charts:
  - id: open_by_priority
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Open issues by priority
      colorByColumn: name
      colorByValues:
        - value: by_priority.critical
          label: Critical
          color: failed
        - value: by_priority.high
          label: High
          color: warning
        - value: by_priority.medium
          label: Medium
          color: "#f9a825"
        - value: by_priority.low
          label: Low
          color: success
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        name:
          field: NAME
        value:
          field: VALUE
          agg: MAX
data*

A chart using Metrics could display the number of rows loaded in a bigQuery task or an output count from a SQL Query; anything exposed by an execution.

Example

Display a chart with rows inserted by Namespace.

yaml
charts:
  - id: table_metrics
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Rows Inserted by Namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        namespace:
          field: NAMESPACE
        inserted_rows:
          field: VALUE
          agg: SUM
      where:
        - field: NAME
          type: EQUAL_TO
          value: rows
      orderBy:
        - column: inserted_rows
          order: DESC
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
graphStylestring
DefaultDONUT
Possible Values
PIEDONUT
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a pie chart with Executions per State.

yaml
charts:
  - id: executions_pie
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Total Executions
      description: Total executions per state
    legend:
      enabled: true
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        state:
          field: STATE
        total:
          agg: COUNT

Display open issues by priority, with a color and a display name per priority, listed from critical to low.

yaml
charts:
  - id: open_by_priority
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: Open issues by priority
      colorByColumn: name
      colorByValues:
        - value: by_priority.critical
          label: Critical
          color: failed
        - value: by_priority.high
          label: High
          color: warning
        - value: by_priority.medium
          label: Medium
          color: "#f9a825"
        - value: by_priority.low
          label: Low
          color: success
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        name:
          field: NAME
        value:
          field: VALUE
          agg: MAX
data*

Trigger data can be displayed in charts or tables listing the Namespace, Flow, and next execution date of each trigger, and filtered by whether the trigger is disabled, for example.

Example

Display a table with the next execution date of each enabled trigger.

yaml
charts:
  - id: next_executions
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Next Executions
      pagination:
        enabled: true
    data:
      type: io.kestra.plugin.core.dashboard.data.Triggers
      where:
        - field: DISABLED
          type: EQUAL_TO
          value: false
      columns:
        namespace:
          field: NAMESPACE
          displayName: Namespace
        flowId:
          field: FLOW_ID
          displayName: Flow
        nextExec:
          field: NEXT_EXECUTION_DATE
          displayName: Next Execution Date
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
graphStylestring
DefaultDONUT
Possible Values
PIEDONUT
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a table with Log counts for each level by Namespace.

yaml
charts:
  - id: table_logs
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Log count by level for filtered namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        level:
          field: LEVEL
          count:
           agg: COUNT
      where:
        - field: NAMESPACE
          type: IN
          values:
            - dev_graph
            - prod_graph
data*

Aggregate assets by type, namespace or any metadata key to visualize your inventory. Assets are not filtered by the dashboard time-range, so charts always reflect the current inventory.

Example

Display a pie chart with the distribution of VM assets by their os metadata.

yaml
charts:
  - id: vm_os_distribution
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: VM OS Distribution
      column: os
    data:
      type: io.kestra.plugin.ee.dashboard.data.Assets
      columns:
        os:
          field: METADATA
          key: os
          displayName: OS
        total:
          agg: COUNT
      where:
        - field: TYPE
          type: EQUAL_TO
          value: io.kestra.plugin.ee.assets.VM
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
header
Default{ "enabled": true }
pagination
Default{ "enabled": true }
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a table with Log counts for each level by Namespace.

yaml
charts:
  - id: table_logs
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Log count by level for filtered namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        level:
          field: LEVEL
          count:
           agg: COUNT
      where:
        - field: NAMESPACE
          type: IN
          values:
            - dev_graph
            - prod_graph
data*

Displays a compact or pre-aggregated dataset ION file (one object per line) written by a flow. The flow does the heavy aggregation work, and the dashboard shows the result. The file is read sequentially, so keep the file small and already shaped for the chart.

It reads the output file of the latest successful execution of the flow, from the Kestra internal storage. Each execution output must be a full snapshot, so the chart shows the dataset of that execution only.

The dashboard time window filters the rows on dateColumn. Without dateColumn, there is no time filter. An AVG column can set weight to the name of a file column holding the weight of each row, to compute a weighted average. A row without that column counts for 0.

Limits

Two settings keep the display time short and the server load low. Tune them to your use case and to your storage backend (a remote backend such as S3 reads slower than a local disk), in the Kestra configuration:

kestra: 
  ee: 
    dashboard: 
      outputs: 
        max-rows: 10000
        max-file-size: 100MB
  • max-rows (default 10000): the number of rows read from the file to draw a chart, counted before the chart filters apply. The chart tells you when the file holds more rows.
  • max-file-size (default 100MB): the file size a chart reads. The chart tells you when a file is bigger.
Example

Display the weighted average latency of the latest run of a flow.

yaml
charts:
  - id: latency
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Average latency by service
    data:
      type: io.kestra.plugin.ee.dashboard.data.Outputs
      namespace: company.monitoring
      flowId: latency
      output: stats
      columns:
        service:
          key: service
        latency:
          key: avg_latency
          agg: AVG
          weight: requests

Display the orders rejected by the latest run of a flow.

yaml
charts:
  - id: rejected_orders
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Rejected orders
    data:
      type: io.kestra.plugin.ee.dashboard.data.Outputs
      namespace: company.ingest
      flowId: orders
      output: rejected
      dateColumn: received_at
      columns:
        orderId:
          key: order_id
          displayName: Order
        reason:
          key: reason
          displayName: Reason
        amount:
          key: amount
          displayName: Amount
          agg: SUM
      where:
        - field: COLUMN
          key: reason
          type: NOT_EQUAL_TO
          value: DUPLICATE
columns*object
flowId*string
Min length1

The identifier of the flow.

namespace*string
Min length1

The namespace of the flow.

output*string
Min length1

The name of the flow output holding the ION file.

type*object
dateColumnstring

The file column holding the date of each row, used to apply the dashboard time window.

orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
header
Default{ "enabled": true }
pagination
Default{ "enabled": true }
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a table with Log counts for each level by Namespace.

yaml
charts:
  - id: table_logs
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Log count by level for filtered namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        level:
          field: LEVEL
          count:
           agg: COUNT
      where:
        - field: NAMESPACE
          type: IN
          values:
            - dev_graph
            - prod_graph
data*

Execution data can be displayed in charts broken out by Namespace and filtered by State, for example.

Example

Display a chart with a Executions per Namespace broken out by State.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
      legend:
        enabled: true
      column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT

Display the executions that ran for longer than ten seconds. A DURATION filter takes an ISO-8601 duration, or a number of seconds.

yaml
charts:
  - id: slow_executions
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Slow executions
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        id:
          field: ID
        duration:
          field: DURATION
      where:
        - field: DURATION
          type: GREATER_THAN
          value: PT10S
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
header
Default{ "enabled": true }
pagination
Default{ "enabled": true }
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a table with Log counts for each level by Namespace.

yaml
charts:
  - id: table_logs
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Log count by level for filtered namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        level:
          field: LEVEL
          count:
           agg: COUNT
      where:
        - field: NAMESPACE
          type: IN
          values:
            - dev_graph
            - prod_graph
data*
Example

Display a chart with a list of Flows.

yaml
charts:
  - id: list_flows
    type: io.kestra.plugin.core.dashboard.chart.Table
    data:
      type: io.kestra.plugin.core.dashboard.data.Flows
      columns:
        namespace:
          field: NAMESPACE
        id:
          field: ID
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
header
Default{ "enabled": true }
pagination
Default{ "enabled": true }
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a table with Log counts for each level by Namespace.

yaml
charts:
  - id: table_logs
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Log count by level for filtered namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        level:
          field: LEVEL
          count:
           agg: COUNT
      where:
        - field: NAMESPACE
          type: IN
          values:
            - dev_graph
            - prod_graph
data*

Log data can be displayed in a chart with certain parameters such as Execution date or Log level.

Example

Display a chart with a count of Logs per date grouped by level.

yaml
charts:
  - id: logs_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Logs
      description: Logs count per date grouped by level
      legend:
        enabled: true
      column: date
      colorByColumn: level
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        date:
          field: DATE
          displayName: Execution Date
        level:
          field: LEVEL
        total:
          displayName: Total Executions
          agg: COUNT
          graphStyle: BARS
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
header
Default{ "enabled": true }
pagination
Default{ "enabled": true }
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a table with Log counts for each level by Namespace.

yaml
charts:
  - id: table_logs
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Log count by level for filtered namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        level:
          field: LEVEL
          count:
           agg: COUNT
      where:
        - field: NAMESPACE
          type: IN
          values:
            - dev_graph
            - prod_graph
data*

A chart using Metrics could display the number of rows loaded in a bigQuery task or an output count from a SQL Query; anything exposed by an execution.

Example

Display a chart with rows inserted by Namespace.

yaml
charts:
  - id: table_metrics
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Rows Inserted by Namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        namespace:
          field: NAMESPACE
        inserted_rows:
          field: VALUE
          agg: SUM
      where:
        - field: NAME
          type: EQUAL_TO
          value: rows
      orderBy:
        - column: inserted_rows
          order: DESC
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
header
Default{ "enabled": true }
pagination
Default{ "enabled": true }
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a table with Log counts for each level by Namespace.

yaml
charts:
  - id: table_logs
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Log count by level for filtered namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        level:
          field: LEVEL
          count:
           agg: COUNT
      where:
        - field: NAMESPACE
          type: IN
          values:
            - dev_graph
            - prod_graph
data*

Trigger data can be displayed in charts or tables listing the Namespace, Flow, and next execution date of each trigger, and filtered by whether the trigger is disabled, for example.

Example

Display a table with the next execution date of each enabled trigger.

yaml
charts:
  - id: next_executions
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Next Executions
      pagination:
        enabled: true
    data:
      type: io.kestra.plugin.core.dashboard.data.Triggers
      where:
        - field: DISABLED
          type: EQUAL_TO
          value: false
      columns:
        namespace:
          field: NAMESPACE
          displayName: Namespace
        flowId:
          field: FLOW_ID
          displayName: Flow
        nextExec:
          field: NEXT_EXECUTION_DATE
          displayName: Next Execution Date
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
displayName*string
Min length1
descriptionstring
header
Default{ "enabled": true }
pagination
Default{ "enabled": true }
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a chart with Executions over the last week.

yaml
charts:
  - id: executions_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Total Executions
      description: Executions last week
      legend:
        enabled: true
      column: date
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        date:
          field: START_DATE
          displayName: Date
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT
          graphStyle: BARS
        duration:
          displayName: Duration
          field: DURATION
          agg: SUM
          graphStyle: LINES
data*

Aggregate assets by type, namespace or any metadata key to visualize your inventory. Assets are not filtered by the dashboard time-range, so charts always reflect the current inventory.

Example

Display a pie chart with the distribution of VM assets by their os metadata.

yaml
charts:
  - id: vm_os_distribution
    type: io.kestra.plugin.core.dashboard.chart.Pie
    chartOptions:
      displayName: VM OS Distribution
      column: os
    data:
      type: io.kestra.plugin.ee.dashboard.data.Assets
      columns:
        os:
          field: METADATA
          key: os
          displayName: OS
        total:
          agg: COUNT
      where:
        - field: TYPE
          type: EQUAL_TO
          value: io.kestra.plugin.ee.assets.VM
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a chart with Executions over the last week.

yaml
charts:
  - id: executions_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Total Executions
      description: Executions last week
      legend:
        enabled: true
      column: date
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        date:
          field: START_DATE
          displayName: Date
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT
          graphStyle: BARS
        duration:
          displayName: Duration
          field: DURATION
          agg: SUM
          graphStyle: LINES
data*

Displays a compact or pre-aggregated dataset ION file (one object per line) written by a flow. The flow does the heavy aggregation work, and the dashboard shows the result. The file is read sequentially, so keep the file small and already shaped for the chart.

It reads the output file of the latest successful execution of the flow, from the Kestra internal storage. Each execution output must be a full snapshot, so the chart shows the dataset of that execution only.

The dashboard time window filters the rows on dateColumn. Without dateColumn, there is no time filter. An AVG column can set weight to the name of a file column holding the weight of each row, to compute a weighted average. A row without that column counts for 0.

Limits

Two settings keep the display time short and the server load low. Tune them to your use case and to your storage backend (a remote backend such as S3 reads slower than a local disk), in the Kestra configuration:

kestra: 
  ee: 
    dashboard: 
      outputs: 
        max-rows: 10000
        max-file-size: 100MB
  • max-rows (default 10000): the number of rows read from the file to draw a chart, counted before the chart filters apply. The chart tells you when the file holds more rows.
  • max-file-size (default 100MB): the file size a chart reads. The chart tells you when a file is bigger.
Example

Display the weighted average latency of the latest run of a flow.

yaml
charts:
  - id: latency
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Average latency by service
    data:
      type: io.kestra.plugin.ee.dashboard.data.Outputs
      namespace: company.monitoring
      flowId: latency
      output: stats
      columns:
        service:
          key: service
        latency:
          key: avg_latency
          agg: AVG
          weight: requests

Display the orders rejected by the latest run of a flow.

yaml
charts:
  - id: rejected_orders
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Rejected orders
    data:
      type: io.kestra.plugin.ee.dashboard.data.Outputs
      namespace: company.ingest
      flowId: orders
      output: rejected
      dateColumn: received_at
      columns:
        orderId:
          key: order_id
          displayName: Order
        reason:
          key: reason
          displayName: Reason
        amount:
          key: amount
          displayName: Amount
          agg: SUM
      where:
        - field: COLUMN
          key: reason
          type: NOT_EQUAL_TO
          value: DUPLICATE
columns*object
flowId*string
Min length1

The identifier of the flow.

namespace*string
Min length1

The namespace of the flow.

output*string
Min length1

The name of the flow output holding the ION file.

type*object
dateColumnstring

The file column holding the date of each row, used to apply the dashboard time window.

orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a chart with Executions over the last week.

yaml
charts:
  - id: executions_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Total Executions
      description: Executions last week
      legend:
        enabled: true
      column: date
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        date:
          field: START_DATE
          displayName: Date
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT
          graphStyle: BARS
        duration:
          displayName: Duration
          field: DURATION
          agg: SUM
          graphStyle: LINES
data*

Execution data can be displayed in charts broken out by Namespace and filtered by State, for example.

Example

Display a chart with a Executions per Namespace broken out by State.

yaml
charts:
  - id: executions_per_namespace_bars
    type: io.kestra.plugin.core.dashboard.chart.Bar
    chartOptions:
      displayName: Executions (per namespace)
      description: Executions count per namespace
      legend:
        enabled: true
      column: namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        namespace:
          field: NAMESPACE
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT

Display the executions that ran for longer than ten seconds. A DURATION filter takes an ISO-8601 duration, or a number of seconds.

yaml
charts:
  - id: slow_executions
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Slow executions
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        id:
          field: ID
        duration:
          field: DURATION
      where:
        - field: DURATION
          type: GREATER_THAN
          value: PT10S
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a chart with Executions over the last week.

yaml
charts:
  - id: executions_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Total Executions
      description: Executions last week
      legend:
        enabled: true
      column: date
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        date:
          field: START_DATE
          displayName: Date
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT
          graphStyle: BARS
        duration:
          displayName: Duration
          field: DURATION
          agg: SUM
          graphStyle: LINES
data*
Example

Display a chart with a list of Flows.

yaml
charts:
  - id: list_flows
    type: io.kestra.plugin.core.dashboard.chart.Table
    data:
      type: io.kestra.plugin.core.dashboard.data.Flows
      columns:
        namespace:
          field: NAMESPACE
        id:
          field: ID
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a chart with Executions over the last week.

yaml
charts:
  - id: executions_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Total Executions
      description: Executions last week
      legend:
        enabled: true
      column: date
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        date:
          field: START_DATE
          displayName: Date
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT
          graphStyle: BARS
        duration:
          displayName: Duration
          field: DURATION
          agg: SUM
          graphStyle: LINES
data*

Log data can be displayed in a chart with certain parameters such as Execution date or Log level.

Example

Display a chart with a count of Logs per date grouped by level.

yaml
charts:
  - id: logs_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Logs
      description: Logs count per date grouped by level
      legend:
        enabled: true
      column: date
      colorByColumn: level
    data:
      type: io.kestra.plugin.core.dashboard.data.Logs
      columns:
        date:
          field: DATE
          displayName: Execution Date
        level:
          field: LEVEL
        total:
          displayName: Total Executions
          agg: COUNT
          graphStyle: BARS
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a chart with Executions over the last week.

yaml
charts:
  - id: executions_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Total Executions
      description: Executions last week
      legend:
        enabled: true
      column: date
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        date:
          field: START_DATE
          displayName: Date
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT
          graphStyle: BARS
        duration:
          displayName: Duration
          field: DURATION
          agg: SUM
          graphStyle: LINES
data*

A chart using Metrics could display the number of rows loaded in a bigQuery task or an output count from a SQL Query; anything exposed by an execution.

Example

Display a chart with rows inserted by Namespace.

yaml
charts:
  - id: table_metrics
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Rows Inserted by Namespace
    data:
      type: io.kestra.plugin.core.dashboard.data.Metrics
      columns:
        namespace:
          field: NAMESPACE
        inserted_rows:
          field: VALUE
          agg: SUM
      where:
        - field: NAME
          type: EQUAL_TO
          value: rows
      orderBy:
        - column: inserted_rows
          order: DESC
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
Example

Display a chart with Executions over the last week.

yaml
charts:
  - id: executions_timeseries
    type: io.kestra.plugin.core.dashboard.chart.TimeSeries
    chartOptions:
      displayName: Total Executions
      description: Executions last week
      legend:
        enabled: true
      column: date
      colorByColumn: state
    data:
      type: io.kestra.plugin.core.dashboard.data.Executions
      columns:
        date:
          field: START_DATE
          displayName: Date
        state:
          field: STATE
        total:
          displayName: Executions
          agg: COUNT
          graphStyle: BARS
        duration:
          displayName: Duration
          field: DURATION
          agg: SUM
          graphStyle: LINES
data*

Trigger data can be displayed in charts or tables listing the Namespace, Flow, and next execution date of each trigger, and filtered by whether the trigger is disabled, for example.

Example

Display a table with the next execution date of each enabled trigger.

yaml
charts:
  - id: next_executions
    type: io.kestra.plugin.core.dashboard.chart.Table
    chartOptions:
      displayName: Next Executions
      pagination:
        enabled: true
    data:
      type: io.kestra.plugin.core.dashboard.data.Triggers
      where:
        - field: DISABLED
          type: EQUAL_TO
          value: false
      columns:
        namespace:
          field: NAMESPACE
          displayName: Namespace
        flowId:
          field: FLOW_ID
          displayName: Flow
        nextExec:
          field: NEXT_EXECUTION_DATE
          displayName: Next Execution Date
type*object
columnsobject
orderByarray
where
id*string
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
type*object
chartOptions
column*string
Min length1
displayName*string
Min length1
colorByColumnstring
colorByValuesarray

Label, color and order of the chart's values.

Each entry matches one value of the column the chart is split by, such as by_priority.critical. Listed values come first in the chart and its legend, in the order they are listed, and the others follow. A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette. List a value with a color to keep that color in every chart.

descriptionstring
legend
Default{ "enabled": true }
tooltipstring
DefaultALL
Possible Values
NONEALLSINGLE
widthinteger
Default6
Minimum>= 1
Maximum<= 12
spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject
Example

Separate the outputs from the logs with a horizontal line

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: "## Report for {{ inputs.region }}"
      - type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
      - type: io.kestra.plugin.ee.apps.core.blocks.Divider
      - type: io.kestra.plugin.ee.apps.execution.blocks.Logs
spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject
Example

Display a logo above the execution form

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Image
        source: https://kestra.io/favicon.ico
        altText: Company logo
        title: Orders report
        style: "max-width: 120px;"
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report
altTextstring

The alternate text for the image.

sourcestring

The path to the image.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

stylestring

Custom CSS style for the image.

Only sizing and box properties apply: width, height and their min and max variants, aspect-ratio, object-fit, object-position, margin, padding, border, border-radius, box-shadow, opacity, display, vertical-align and float. Any other property is dropped, so the style cannot load a URL.

titlestring

The title for the image.

typeobject
Example

Display a loading animation while the execution runs

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report

  - on: RUNNING
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: Building the report, keep this page open.
      - type: io.kestra.plugin.ee.apps.core.blocks.Loading

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject

The content is a Pebble template: {{ inputs.<id> }} resolves to the submitted inputs, and on OPEN it follows the values selected in the form.

Example

Introduce the form with Markdown text that reflects the selected input value

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: |
          ## Orders report
          Select a region to build the report. The **{{ inputs.region }}** report includes every order of the current month.
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report
contentstring

The content of the block.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject
Example

Redirect the user to another page 10 seconds after the execution succeeds

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: The report is ready. You will be redirected to the reporting portal in 10 seconds.
      - type: io.kestra.plugin.ee.apps.core.blocks.RedirectTo
        url: https://kestra.io/docs
        delay: PT10S
delaystring
Formatduration

The delay before triggering the redirection.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject
urlstring

The URL to redirect to.

Use it on an ERROR layout, where {{ app.error.message }} and {{ app.error.stacktrace }} hold the error that prevented the app from rendering.

Example

Display the error message and stacktrace when the app fails to render

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: The report is ready.

  - on: ERROR
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Stacktrace
        message: "{{ app.error.message }}"
        content: "{{ app.error.stacktrace }}"
contentstring

The content of the error stacktrace.

messagestring

The message of the error.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject

Displays static rows: each row is a map, and its keys become the column headers.

Example

Display a static reference table above the execution form

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: "## Available regions"
      - type: io.kestra.plugin.ee.apps.core.blocks.Table
        data:
          - region: EMEA
            timezone: Europe/Paris
          - region: NA
            timezone: America/New_York
          - region: APAC
            timezone: Asia/Singapore
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report
dataarray
SubTypeobject

The list of data rows for the table.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject
commentLabelstring
DefaultComment

The label of the comment field.

fullWidthboolean

Whether the button spans the full width of its container.

sizestring
DefaultDEFAULT
Possible Values
DEFAULTLARGESMALL

The size of the buttons.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject
Example

List the VM assets emitted by an execution once it succeeds

yaml
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Request VM

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: "## Your virtual machine is ready"
      - type: io.kestra.plugin.ee.apps.execution.blocks.Assets
        filter:
          include:
            - io.kestra.plugin.ee.assets.VM
filter

The filter for the assets, on their type.

A single execution can emit dozens of assets - a Terraform apply or a dbt build does - so include keeps only the listed asset types, and exclude drops them. Types are the full plugin type, e.g. io.kestra.plugin.ee.assets.VM.

excludearray
SubTypestring
includearray
SubTypestring
spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject
fullWidthboolean

Whether the button spans the full width of its container.

sizestring
DefaultDEFAULT
Possible Values
DEFAULTLARGESMALL

The size of the button.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

stylestring
DefaultDEFAULT
Possible Values
DEFAULTPRIMARYSUCCESSINFOWARNINGDANGER

The style of the button.

textstring
DefaultCancel request

The text of the button.

typeobject
Example

Let the user cancel the execution while it runs or waits for approval

yaml
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Request VM

  - on: RUNNING
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Loading
      - type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
        text: Cancel request
        style: DANGER

  - on: PAUSE
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: Your request is waiting for approval.
      - type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
        text: Withdraw request
        style: DANGER

  - on: FAILURE
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Alert
        style: WARNING
        content: The request was canceled.
fullWidthboolean

Whether the button spans the full width of its container.

sizestring
DefaultDEFAULT
Possible Values
DEFAULTLARGESMALL

The size of the button.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

stylestring
DefaultDEFAULT
Possible Values
DEFAULTPRIMARYSUCCESSINFOWARNINGDANGER

The style of the button.

textstring
DefaultCancel

The text of the button.

typeobject
Example

Display a large, full-width button that submits the form and starts an execution

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: "## Orders report"
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report
        style: SUCCESS
        size: LARGE
        fullWidth: true

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
fullWidthboolean

Whether the button spans the full width of its container.

sizestring
DefaultDEFAULT
Possible Values
DEFAULTLARGESMALL

The size of the button.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

stylestring
DefaultPRIMARY
Possible Values
DEFAULTPRIMARYSUCCESSINFOWARNINGDANGER

The style of the button.

textstring
DefaultExecute

The text of the button.

typeobject

Displays a form generated from the flow inputs. Pair it with a CreateExecutionButton to submit it.

Example

Display a form generated from the flow inputs

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: "## Orders report"
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject
Example

Let the user download the execution logs, filtered by level and task

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
      - type: io.kestra.plugin.ee.apps.execution.blocks.DownloadLogsButton
        text: Download logs
        filter:
          logLevel: INFO
          taskIds:
            - download

  - on: FAILURE
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.DownloadLogsButton
        text: Download error logs
        style: DANGER
        filter:
          logLevel: ERROR
filter

The filter for the logs to download.

logLevelstring
Possible Values
ERRORWARNINFODEBUGTRACE

The minimum log level.

taskIdsarray
SubTypestring

The optional list of tasks for which logs are to be downloaded.

fullWidthboolean

Whether the button spans the full width of its container.

sizestring
DefaultDEFAULT
Possible Values
DEFAULTLARGESMALL

The size of the button.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

stylestring
DefaultDEFAULT
Possible Values
DEFAULTPRIMARYSUCCESSINFOWARNINGDANGER

The style of the button.

textstring
DefaultDownload Logs

The text of the button.

typeobject

A simplified version of the execution Gantt view: one bar per task run, with its state and duration. It shows no logs, outputs or task actions, so it is safe to expose to users who cannot log in to Kestra. On a RUNNING layout, the chart updates as the execution progresses.

Example

Follow the progress of the execution as a Gantt chart, and hide the approval step once it succeeds

yaml
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Request VM

  - on: RUNNING
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: Provisioning is in progress, keep this page open.
      - type: io.kestra.plugin.ee.apps.execution.blocks.Gantt

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.Gantt
        filter:
          exclude:
            - approval
filter

The filter for the task runs, on their task id.

include keeps only the task runs of the listed tasks, and exclude drops them - for instance, to hide technical tasks the app's users do not need to follow.

excludearray
SubTypestring
includearray
SubTypestring
spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject

Displays one row per input submitted for the execution, labeled with the input's displayName or, when not set, its id.

Example

Show the submitted inputs to the approver of a paused execution

yaml
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Request VM

  - on: PAUSE
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: "## Review the request"
      - type: io.kestra.plugin.ee.apps.execution.blocks.Inputs
        filter:
          include:
            - vm_size
      - type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionButton
        text: Approve
filter

The filter to apply on the flow input IDs.

excludearray
SubTypestring
includearray
SubTypestring
spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject

While the execution runs, the logs are streamed as they are emitted. Once it ends, the block shows the stored logs.

Example

Stream the logs while the execution runs, and show only error logs if it fails

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Build report

  - on: RUNNING
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Loading
      - type: io.kestra.plugin.ee.apps.execution.blocks.Logs

  - on: FAILURE
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Alert
        style: ERROR
        content: The report could not be built.
      - type: io.kestra.plugin.ee.apps.execution.blocks.Logs
        filter:
          logLevel: ERROR
filter

The filter for the logs.

logLevelstring
Possible Values
ERRORWARNINFODEBUGTRACE

The optional log level.

taskIdsarray
SubTypestring

The optional list of tasks for which logs are to be displayed.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject

Displays the flow-level outputs declared in the flow's outputs property, one row per output, labeled with the output's displayName or, when not set, its id. Task outputs are not included: if the flow declares no outputs, the block renders nothing. To display task outputs without changing the flow, use the TaskOutputs block instead.

Example

Display a file declared as a flow output once the execution succeeds

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Fetch orders

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
        filter:
          include:
            - orders_file
filter

The filter to apply on the flow output IDs.

excludearray
SubTypestring
includearray
SubTypestring
spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject

Submits the ResumeExecutionForm values, if any, and resumes the execution paused by a Pause task.

Example

Let an approver resume or reject a paused execution

yaml
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Request VM

  - on: PAUSE
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: "## Approve the VM request"
      - type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionButton
        text: Approve
        style: SUCCESS
      - type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
        text: Reject
        style: DANGER

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Alert
        style: SUCCESS
        content: The VM was provisioned.
fullWidthboolean

Whether the button spans the full width of its container.

sizestring
DefaultDEFAULT
Possible Values
DEFAULTLARGESMALL

The size of the button.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

stylestring
DefaultPRIMARY
Possible Values
DEFAULTPRIMARYSUCCESSINFOWARNINGDANGER

The style of the button.

textstring
DefaultResume

The text of the button.

typeobject

Displays the onResume inputs of the Pause task that paused the execution. It renders nothing when the task defines no onResume inputs.

Example

Display the form for the Pause task's onResume inputs

yaml
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Request VM

  - on: PAUSE
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: "## Approve the VM request"
      - type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionButton
        text: Approve
        style: SUCCESS
      - type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
        text: Reject
        style: DANGER

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Alert
        style: SUCCESS
        content: The VM was provisioned.
spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject

Displays the task outputs selected in the block's outputs property, one row per entry. Unlike the Outputs block, it does not require the flow to declare outputs. Each value expression can only reference task outputs, using {{ outputs.<task_id>.<property> }}; referencing any other variable, such as inputs, makes the app fail to render.

Example

Display a file produced by a task once the execution succeeds

yaml
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Fetch orders

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.TaskOutputs
        outputs:
          - displayName: Orders CSV
            type: FILE
            value: "{{ outputs.download.uri }}"
outputs*array

The list of task outputs to display.

displayName*string

The display name of the output, shown as the row label.

type*string
Possible Values
STRINGSELECTINTFLOATBOOLDATETIMEDATETIMEDURATIONFILEJSONIONURISECRETARRAYMULTISELECTYAMLEMAILFORMREUSABLE_INPUTSTABLEASSET

The type of the output.

value*object

The value of the output.

Can be a dynamic expression referencing task outputs, for example {{ outputs.<task_id>.<property> }}.

descriptionstring

The short description of the output.

spaninteger
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.

typeobject
Default1
Minimum>= 1
Maximum<= 12

The number of columns of the grid.

DefaultMEDIUM
Possible Values
NONESMALLMEDIUMLARGEEXTRA_LARGE

The space between the cells of the grid.

Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.