Configure visualization from dashboard

I have finally managed to get my first visualization working using Vega Lite. Let's call it "host information". However it consists of 3 different queries, each based on the same value (hostname).

What I would like is to be able to configure this visualization from the dashboard so that each time I add a new "host information" I enter the hostname only once and I can reference it from all 3 queries.

Is this possible?

Furthermore I'd like to reference an environment variable to construct a url. Again is this possible?

Thanks in advance