Can Datadog dashboard template variables be transformed (e.g. lowercase, split, trim)?
08:15 29 Sep 2025

I’m working with Datadog dashboards. I have one template variable, say right now its value is "XyzAbc"

In dashboard query, I have something like

"query": "@view.name:$Integration.value"

What I’d like is to transform the variable before substitution, something like:

lowercase: @view.name:lower($Integration.value)

such that it becomes "xyzabc"

and split: use part of the string from $Integration.value say [0:3] to make it just "xyz".

Is there any way in Datadog to apply such transformations (lower, split, regex replace, etc.) to template variables, or are they always substituted literally as-is?

datadog datadog-dashboard