diff --git a/public/app/plugins/datasource/influxdb/influx_series.js b/public/app/plugins/datasource/influxdb/influx_series.js index c422bb87d00..6d35b020075 100644 --- a/public/app/plugins/datasource/influxdb/influx_series.js +++ b/public/app/plugins/datasource/influxdb/influx_series.js @@ -98,7 +98,8 @@ function (_, TableModel) { annotation: self.annotation, time: + new Date(value[timeCol]), title: value[titleCol], - tags: tagsCol.map(function(t) { return value[t]; }), + // Remove empty values, then split in different tags for comma separated values + tags: _.flatten(tagsCol.filter(function (t) { return value[t]; }).map(function(t) { return value[t].split(","); })), text: value[textCol] };