Change format of metric name stored in influxdb from gatling


I am storing the metrics from gatling in influxdb. However the format of name is too lengthy, which is dot seperated. example:gatling.$scenarioname...*. So i would like to alias some of the metric values like
gatling.$scenarioname.allRequests.all.max as $scenarioname
Is this possible
Thanks in advance