Macro for Beats version?


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 C:\Program Files\Elastic\auditbeat\${beatsversion}\kibana

Not sure if this functionality might already exist?

I'm not looking to use env vars.