Skip to content

natevw/linepost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

linepost

Reads from stdin and posts each input line to a given URL as text/plain. Best used with a CouchDB update handler, natch.

Usage

npm install -g linepost
cat somelog.file | linepost http://localhost:5984/logs/_design/collector/_update/message

…should do the trick. (You can include HTTP basic auth in the URL.)

About

Post data from shell to an HTTP server, line-by-line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published