FGRibreau / influxdb-cli

SQL CLI for InfluxDB
http://blog.fgribreau.com/2013/11/influxdb-influxdb-cli-scalable.html
GNU General Public License v2.0
70 stars 12 forks source link

Piping Data To influxdb-cli #20

Closed joelgriffiths closed 9 years ago

joelgriffiths commented 9 years ago

I am trying to pipe queries to influxdb-cli, but they just don't seem to work, even though the command line interface seems to work just fine:

$ influxdb-cli -d collectd <<< "list series" collectd> Connecting to http://localhost:8086/db/collectd ... list series collectd> ✔ ready $

I have to specify the database on the command line because it doesn't appear to read the ~/.influxrc files either, and attempts to write one with writerc five me this syntax error: collectd> writerc collectd> ✘ Error: syntax error, unexpected SIMPLE_NAME writerc ^^^^^^^

I have no idea what I'm doing wrong.

joelgriffiths commented 9 years ago

Haha.

Sorry. I got two command line interfaces mixed up. This doesn't belong here.