0

My application is using python stastd client to send data to a telegraf service which in turn writes data at specific interval of 10seconds. I am observing tags having special characters are getting dropped from measurements. I followed the influxd documentation and escaped spaces, equals and commas but telegraf seems to be unable to process escape characters.

For example, tags with below values are getting dropped.

env\ TEST_ENV\="/foo/bar"\ env\ TEST_ENV2\="/foo/bar2"\ sleep\ 1

env\ ;\ python\ -c\ 'from\ logging\ import\ debug\,info\,warning;\ debug("Debug\ level\ log");\ info("apple");\ warning("banana")'

As soon as I replace = with any other character or , with any other character all the metrices start getting published to influx

Can someone please help on how to fix this?

Deepanshu Arora
  • 375
  • 1
  • 5
  • 21
  • Can you give a full example of a metric, with the measurement name, tags, and fields that are not getting processed? – powersj Nov 17 '22 at 21:19

0 Answers0