InfluxDB - 删除测量时出错

时间:2017-01-31 09:18:44

标签: influxdb

我在删除错误时输入了一些问题,例如

{:average=>0.08419394299266784\
{:average=>0.08420489057898521\
{:average=>0.08435888926188151\
{:average=>0.08449350467827273\
{:average=>0.08453683816041464\

我使用drop measurement "{:average=>0.08419394299266784\",但我有ERR: error parsing query: found {:average=>0.08419394299266784", expected identifier at line 1, char 17

如何删除这些陷阱?

由于

1 个答案:

答案 0 :(得分:0)

如果您发出SHOW MEASUREMENTS命令,则会看到不包含尾随斜杠。

> show measurements
  name: measurements
  name
  ----
  {:average=>0.08419394299266784

要放弃此测量,只需运行

drop measurement "{:average=>0.08419394299266784 "