Influx CLI should output results in CSV and JSON like 1.X
Proposal: Using the influx command line tool, the output format should be in csv or json as well as the default.
This exists with older version of ./influx and should be in the new version. When using curl, the data comes back as csv, but not from the CLI.
Current behavior:
using this from the command line: MBP15-KCURTIS:influx kcurtis$ ./influx query 'from(bucket:"scrap")|>range(start:-5s)|>yield()' -o kmc Result: _result Table: keys: [_start, _stop, _field, _measurement, tag1] _start:time _stop:time _field:string _measurement:string tag1:string _time:time _value:float
2019-12-17T22:29:28.169521000Z 2019-12-17T22:29:33.169521000Z f1 kr
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------needs to be in csv Use case: Why is this important (helps with prioritizing requests)? As an Analyst, I need the data to be easily opened in standard analysis tools (excel, google sheets, etc) so that I can work with the data in standard tools