InfluxQLQueryInfluxQLQuery
InfluxQLQueryCertified

yaml
type: "io.kestra.plugin.influxdb.InfluxQLQuery"
yaml
id: influxdb_query
namespace: company.team

tasks:
  - id: query_influxdb
    type: io.kestra.plugin.influxdb.InfluxQLQuery
    connection:
      url: "{{ secret('INFLUXDB_URL') }}"
      token: "{{ secret('INFLUXDB_TOKEN') }}"
    org: "my-org"
    query: "SELECT * FROM measurement WHERE time > now() - 1h"
    fetchType: FETCH

yaml
id: influxdb_query_to_file
namespace: company.team

tasks:
  - id: query_to_file
    type: io.kestra.plugin.influxdb.InfluxQLQuery
    connection:
      url: "{{ secret('INFLUXDB_URL') }}"
      token: "{{ secret('INFLUXDB_TOKEN') }}"
    org: "my-org"
    query: "SELECT * FROM measurement WHERE time > now() - 1h"
    fetchType: ION
Properties
Definitions
token*Requiredstring
url*Requiredstring
connectTimeoutstring
DefaultPT10S
Formatduration
readTimeoutstring
DefaultPT10S
Formatduration
DefaultNONE
Possible Values
STOREFETCHFETCH_ONENONE
SubTypeobject
Formaturi
Unitcount