Macro for Beats version?

Hello,

As I'm putting some stuff, such as dashboards in directories containing the version, it would be useful if I could use some sort of macro for this. For this a Beat would need to be aware of it's own version.
Then my beat.yml configurations would survive updates.

setup.dashboards.enabled: true
setup.dashboards.directory: C:\Program Files\Elastic\auditbeat\${beatsversion}\kibana

Not sure if this functionality might already exist?

I'm not looking to use env vars.

Grtz

Willem