Drawing the result of Multiple Filters in Chronograf

Hi,

What is the best way to merge multiple streams in full?
i.e. if you did something like this in chronograf:

a = filter… // grab some samples that may return as a few different tables
b = filter… // grab some other ones that may have nothing in common with what’s in ‘a’ besides being a time series.
c = ? // tried with join, but I don’t really want to join “on” anything, just want to collect and draw everything

Hello @phillipprahl,
does adding a

|>group()

do the trick?

@phillipprahl union() is what you’re looking for.

a = data |> filter(...)
b = data |> filter(...)
c = data |> filter(...)

union(tables: [a, b, c])

Here’s some information about union() vs join(): union() function | Flux 0.x Documentation

union wins! :slight_smile:
THANK YOU!!!

1 Like

No problem. Happy to help!