You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That works perfectly in the simulator https://try.jsonata.org/5aN2vrMY3, but when used in Telegraf it doesn't work and I found the problematic function is $lookup($acc, $outerLevelKey), since using $acc.PressSPM instead doesn't cause any problem.
I first asked in Telegraf but they say the issue seems to be in the upstream library they are using, i.e. jsonata-go.
I recently had a problem with a json transformation using jsonata in Telegraf. The transformation is the following:
That works perfectly in the simulator https://try.jsonata.org/5aN2vrMY3, but when used in Telegraf it doesn't work and I found the problematic function is
$lookup($acc, $outerLevelKey)
, since using$acc.PressSPM
instead doesn't cause any problem.I first asked in Telegraf but they say the issue seems to be in the upstream library they are using, i.e. jsonata-go.
influxdata/telegraf#14069
Also, if anyone knows an alternative way to do the transformation, I'd really appreciate it.
Thanks a lot
The text was updated successfully, but these errors were encountered: