Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Trovalo opened this issue Mar 2, 2020 · 2 comments · Fixed by #2695
Closed

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

Trovalo opened this issue Mar 2, 2020 · 2 comments · Fixed by #2695
Assignees

Comments

@Trovalo
Copy link

Trovalo commented Mar 2, 2020

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?
What products and version are you using?
  • Telegraf v1.13.2
  • InfluxDB v1.7.8
Where did you look before opening the issue?
@pierwill pierwill self-assigned this Mar 2, 2020
@pierwill
Copy link
Contributor

pierwill commented Mar 5, 2020

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

@theodiefenthal
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants