What would be equivalent flux query for SELECT address, name FROM addresses
? (I am referring to FluxQL, the new query language developed by InfluxData)
I didn't find a clear answer to this in the limited Flux Documentation present. Flux documentation says that filter()
function is the equivalent of both SELECT
and WHERE
clauses, but all examples given are equivalent of WHERE
clauses, nothing on SELECT
.
Edit: An answer posted below gives the equivalent query in InfluxQL, which is not what I am asking for. Yeah I know, FluxQL, InfluxQL, it can get confusing.
These are the documentation for FluxQL for better reference:
https://docs.influxdata.com/flux/v0.50/introduction/getting-started