logdna / logdna-cli

The LogDNA CLI allows you to signup for a new account and tail your server logs right from the command line.
https://logdna.com
MIT License
27 stars 21 forks source link

Command tail functionality broken since last update #19

Closed schans closed 5 years ago

schans commented 6 years ago

Hi,

The command line tool does not seem to be updated to match the latest update. Log lines are no longer parsed correct and look like the following:

Aug 17 12:44:36 myserver.lan sshd info <38>0 2018-08-17T10:44:36.744092+00:00 myserver.lan sshd 14358 - [logdna@48950 key="XXXXXXXX"] Connection from 123.123.123.3 port 45399 on 123.123.111.3 port 22

It looks like the raw message is printed instead of a parsed one make the messages hard to read. Also from a security pov it is unwanted that the api key gets printed.

Thanks Bart

schans commented 6 years ago

The has been fixed in https://github.com/logdna/logdna-cli/pull/20/commits/5a7083730c285c829ce061ef8a6faf6d0cf1b7c4

Please consider merging or let me know how I what I'll need to do.

Thanks! Bart

smusali commented 5 years ago

Explained here.