Enhanced InfluxDB series aliasing (legend names) with pattern replacements (Issue #525)