News for hackers. Stuff that matters.
Re:Tosheets, utility to send stdin to Google sheets by thesandlord on Saturday November 18, 2017 @12:15AM (#15727860)
I wrote something similar that will send stdin to Google Stackdriver Logging.

https://github.com/thesandlord/logpipe

Re:Tosheets, utility to send stdin to Google sheets by troydavis on Saturday November 18, 2017 @09:26AM (#15729048)
In the same vein, pipe anything to `logger` to send it to the local syslogd (and if configured, to remote destinations).

For example, this uses datamash (https://www.gnu.org/software/datamash/) to sum column 2 of a CSV ("-t,"), then log the output:

    datamash -t, sum 2 < stuff.csv | logger
Re:Tosheets, utility to send stdin to Google sheets by thesandlord on Saturday November 18, 2017 @11:10AM (#15729523)
Yeah logger or fluentd are definitely better long term solutions. I wanted something that was no frills and minimal config for ad-hoc situations. Other's on my team found it useful so I open sourced it.

Bonus: In depth code review for this package: https://youtu.be/c5ufcpTGIJM