Skip to content
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

Piping Data To influxdb-cli/writerc #21

Closed
joelgriffiths opened this issue Mar 12, 2015 · 1 comment
Closed

Piping Data To influxdb-cli/writerc #21

joelgriffiths opened this issue Mar 12, 2015 · 1 comment

Comments

@joelgriffiths
Copy link

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
Copy link
Author

Apparently I have the wrong code, yet again. Sorry.

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

No branches or pull requests

1 participant