Influxdb: [0.9.5.1] Cannot use a string with a space as a tag value (nonsensical error about unbalanced quotes)

Created on 21 Dec 2015  路  3Comments  路  Source: influxdata/influxdb

[ksengal@csdev-ksengal Desktop]$ influx
Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
Connected to http://localhost:8086 version 0.9.5.1
InfluxDB shell 0.9.5.1
%> use cs
Using database cs
%> select * from subUsage

name: subUsage

time subName upstream
1450661904511205707 "Ken" 453
1450661911681291315 "Bush" 453

%> insert subUsage,subName="G. Bush" upstream=453
ERR: unable to parse 'subUsage,subName="G. Bush" upstream=453': unbalanced quotes

%>

BUT, space filled strings DO work for field values:

Most helpful comment

Any rationale as to why this was designed in this unintuitive, inconsistent way?

All 3 comments

Please read the syntax for the line protocol. Your statements are not syntactically correct. https://docs.influxdata.com/influxdb/v0.9/write_protocols/write_syntax/

The correct line protocol syntax is insert subUsage,subName=G.\ Bush upstream=453

@bigKS I appreciate the enthusiasm you are showing for InfluxDB, but please consider reading through the documentation and searching the already open issues before filing a new GitHub Issue.

Any rationale as to why this was designed in this unintuitive, inconsistent way?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ricco24 picture ricco24  路  3Comments

binary0111 picture binary0111  路  3Comments

dandv picture dandv  路  3Comments

jayannah picture jayannah  路  3Comments

shilpapadgaonkar picture shilpapadgaonkar  路  3Comments