Closed rhart closed 5 years ago
Yep, this definitely looks wrong. Kinda makes the search feature of the CLI not at all useful.
PR opened above that addresses this. Also note that if you want to compile this locally you need to use node < 8 when you install nexe and install < version 2 of nexe (I used nexe@1.1.6) due to a bug introduced in a dependency of nexe (see here: https://github.com/nexe/nexe/issues/454). Also, in case you're not familiar with grunt, make sure to install grunt-cli globally. E.g., use node < 8 (with nvm it's easy) and do npm install -g nexe@1.1.6 grunt-cli
.
Thanks, @stuckj! You Pull Request was already merged on May 29th.
The query supplied with a
search
command is ignored and all lines returned. I think this is because the wrong query param is being set.The documentation (https://docs.logdna.com/docs/v1-export-api) specifies that it should be
query
, but I believe it is being sent asq
https://github.com/logdna/logdna-cli/blob/master/index.js#L314