I want to query my HTTP-backend with request parameter like Name=foo+bar+baz with values (foo, bar, and baz) taken from the variable with Multi-value selection
So I want to be able to concatenate variable values with “+” sign
Or, extrapolating, join an array of values with any sign, as any programming language does, e.g:
name = ['foo', 'bar', 'baz']
String to interpolate: '${name:join(+)}'
Interpolation result: "foo+bar+baz"
or
name = ['foo', 'bar', 'baz']
String to interpolate: '${name:join(, )}'
Interpolation result: "foo, bar, baz"
or
name = ['foo', 'bar', 'baz']
String to interpolate: '${name:join( AND )}'
Interpolation result: "foo AND bar AND baz"
Seems that this feature can be more powerful than all of CSV, Pipe, and Text Formats combined, but I can’t find the solution (and the existence of CSV, Pipe, and Text Formats makes me guess, that id doesn’t exists).
(I have no real InfluxDB installed, so I receive “missing organization in datasource configuration error performing flux query” error when save it with fake http://localhost:8086 URL)
I was also going to state the obvious that one must choose between Infinity or InfluxDB (with Flux). With Flux, you can parse JSON into Flux types. This is part of an incredibly powerful feature of Flux called dynamic types that was built specifically for working with JSON data. The issue with JSON data in Flux is that Flux doesn’t know exactly how JSON data should be typed. Dynamic types act as a temporary type that you can then use to explicitly cast JSON types to Flux types.