diff --git a/bin/user/influx.py b/bin/user/influx.py index 7dc9a24..28e2975 100644 --- a/bin/user/influx.py +++ b/bin/user/influx.py @@ -560,7 +560,7 @@ def get_post_body(self, record): # use multiple lines with a dotted-name identifier n = "%s.%s" % (self.measurement, name) data.append('%s%s value=%s %d' % - (name, tags, s, record['dateTime']*1000000000)) + (n, tags, s, record['dateTime']*1000000000)) elif self.line_format == 'multi-line': # use multiple lines data.append('%s%s value=%s %d' %