Using multiple dimensions for a Dimension Extraction Function


Should it possible to use multiple dimensions for a dimension extraction function?

Something like:


“dimensions”: [



“type” : “extraction”,

“dimensions” : [“timezone”,"__time"],

“outputName” : “localTimeOfDay”,


“type” : “javascript”,

“function” : “function(timezone, __time) { return some_calculation_based_on_the_two_fields }”







Hi Stefan, that’s not currently possible, but we are looking to add this since we have a similar use-case. Extraction functions take a different path to allow for some optimizations, so this will require some work.

Shoot, there goes my localTimeOfDay promise!

please add it soon :slight_smile:

thnx, Stefan