Superset dashboards Trigger

Superset dashboards Trigger

Certified

Trigger flow on Superset dashboard change

Polls Apache Superset dashboards and triggers an execution when one or more dashboards are created or modified since the persisted namespace KV Store watermark.

yaml
type: io.kestra.plugin.superset.dashboards.Trigger

Watch for dashboard modifications

yaml
id: on_superset_change
namespace: company.team
triggers:
  - id: watch
    type: io.kestra.plugin.superset.dashboards.Trigger
    url: "{{ secret('SUPERSET_URL') }}"
    username: "{{ secret('SUPERSET_USER') }}"
    password: "{{ secret('SUPERSET_PASSWORD') }}"
    interval: PT5M
tasks:
  - id: handle_event
    type: io.kestra.plugin.core.log.Log
    message: "Event received: {{ trigger.dashboards[0].dashboard_title }}"
Installation

Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:

kestractl plugins get io.kestra.plugin:plugin-superset --compatible-for $KESTRA_VERSION

For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.

Properties

The Superset password

Password associated with the Superset username. Always store this value in a Kestra secret.

The Superset API base URL

Base URL of the Apache Superset API, including the /api/v1 path suffix (for example https://superset.example.com/api/v1).

The Superset username

Username used to authenticate against Apache Superset via POST /security/login.

Defaultfalse

Specifies whether a trigger is allowed to start a new execution even if a previous run is still in progress.

DefaultPT5M
Formatduration

Interval between polling evaluations

Duration between two consecutive polls of the Superset dashboard endpoint (defaults to 5 minutes).

Defaultdb

Authentication provider

Superset authentication provider passed to /security/login. Supported values include db (default), ldap, oauth, and oid.

SubTypestring
Possible Values
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTED

List of execution states after which a trigger should be stopped (a.k.a. disabled).

Defaulttrue

A condition that determines whether the trigger should run.

A Pebble expression evaluated at trigger time. The trigger fires only when the expression evaluates to a truthy value (true, a non-empty string, a non-zero number). Use this to gate trigger execution on dynamic runtime values such as execution labels, flow variables, or environment conditions.

Number of modified dashboards detected

All dashboards modified since the last watermark

Definitions
changed_on_utcstring

Last modification UTC timestamp

dashboard_titlestring

Dashboard title

idinteger

Dashboard ID