Ppl

Ppl

Certified

Run an OpenSearch PPL query

yaml
type: io.kestra.plugin.opensearch.Ppl
yaml
id: opensearch_ppl
namespace: company.team

tasks:
  - id: ppl_query
    type: io.kestra.plugin.opensearch.Ppl
    connection:
      hosts:
        - "http://localhost:9200"
    query: "source=accounts | where age > 30 | stats count() by gender"
    fetchType: FETCH
Properties
Definitions
hosts*Requiredarray
SubTypestring
basicAuth
passwordstring
usernamestring
headersarray
SubTypestring
pathPrefixstring
strictDeprecationModebooleanstring
trustAllSslbooleanstring
DefaultFETCH
Possible Values
STOREFETCHFETCH_ONENONE
DefaultJDBC
Possible Values
JDBCCSVRAW
SubTypeobject
Formaturi
Unitrecords