influxdata / docs.influxdata.com-ARCHIVE

ARCHIVE - 1.x docs for InfluxData
https://archive.docs.influxdata.com/
MIT License
252 stars 293 forks source link

LineProtocol - tag value cannot end with "\" even if escaped #2676

Closed Trovalo closed 4 years ago

Trovalo commented 4 years ago

A tag value cannot end with a backslash, even if escaped. You will get the following error:

2020-03-02T15:09:50Z E! [outputs.influxdb] When writing to [http://127.0.0.1:8086]: received error unable to parse {LineProtocolStringhere} : invalid tag format

But a tag value can end with spaces and other special chars.

So for example:

#Those are invalid rows
test, Tag1=HelloThere\ value1=1
test, Tag1=HelloThere\\ value1=1

#This is valid
test, Tag1=HelloThere\  value1=1

I've not found any reference to this limitation in the docs (but I remember reading something like it somewhere in a comment)

URL for relevant page?
pierwill commented 4 years ago

Thanks for this @Trovalo! We're looking into it—

theodiefenthal commented 3 years ago

Why was that notice in docs removed in InfluxDB 1.8 docs? still having this issue with InfluxDB 1.8.4.