• Stars
    star
    137
  • Rank 266,121 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 10 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

tail log files from multiple remote hosts

remtail

tail out log files from multiple remote hosts

Image of example command

NPM versionBuild Status

install!

npm install -g remtail

basic usage

Connect to as many hosts as you want.

remtail trillworks.com:/var/log/nginx/access.log okpedro.com:/var/log/apache2/other_vhosts_access.log

Specify multiple files on the same host by repeating the hostname.

remtail trillworks.com:/var/log/nginx/access.log trillworks.com:/var/log/nginx/error.log

grep-like functionality with highlighting.

Only print lines containing "Comment", with "Comment" shown in red.

  remtail --grep "Comment" trillworks.com:/var/log/apache2/other_vhosts_access.log

For case insensitive search, use --grepi.

remtail --grepi "Comment" trillworks.com:/var/log/apache2/other_vhosts_access.log

You have full support for JavaScript regular expressions, so you can search for multiple strings like this:

remtail --grepi "GET|POST" trillworks.com:/var/log/apache2/other_vhosts_access.log

advanced usage

To avoid typing in passwords for every host, copy your public key to the remote servers. Then add entries in your ssh config. (~/.ssh/config). Here is the format:

Host trillworks
    HostName trillworks.com
    User burt
    IdentityFile ~/.ssh/id_rsa

Specify an alternate ssh config with -s.

If you want to live dangerously, you can throw your passwords in a json credentials file (~/.remtail.json).

WARNING: This is deprecated and will be removed in version 1.0.

[
  {
    "hostname": "trillworks.com",
    "port": 22,
    "user": "buzz",
    "password": "hunter2"
  },
  {
    "hostname": "globcong.com",
    "user": "woody",
    "privateKey": "/Users/woody/.ssh/id_rsa"
  }
]

Specify an alternate credentials file path with -c.

development

unit tests

node test/test.js

linter

npm run-script jshint

license

MIT

More Repositories

1

gps2zip

convert latitude longitude coordinate pairs to US zip codes
JavaScript
26
star
2

Indoor-Tracking-Node-Server

Node.js Remote Monitoring Application for Indoor Tracking and Personal Navigation System
JavaScript
15
star
3

express-ejs-boilerplate

How I like my node boilerplate: HTML5BP2 + Express + EJS + recent jQuery. No stylus, jade, or database of any sort.
JavaScript
14
star
4

Indoor-Tracking-Android-Trainer

Record signal strengths to train indoor tracking app
Java
10
star
5

isbncollector

Builds a database of isbns and metadata
JavaScript
8
star
6

economist-audio

python script for downloading The Economist in audio
Python
6
star
7

Indoor-Tracking-Android-Client

Java
5
star
8

space-balloon-server

Node.js server for tracking near space weather balloon
JavaScript
5
star
9

PillowChat

Simple jQuery PHPillow CouchDB chat room
JavaScript
5
star
10

giuliani

Chrome extension for storing eid and password credentials on all utexas subdomains.
JavaScript
4
star
11

gifbooth

Animated gif photo booth
JavaScript
4
star
12

angel-list-scrapers

python scrapers for AngelList
Python
3
star
13

Earnings

Scrape and display affiliate network earnings
PHP
3
star
14

interview

JS implementations of common interview questions.
JavaScript
3
star
15

Falldown

An html5 falldown clone for clay.io
JavaScript
3
star
16

utexas-m348-homework

Homework for M348 Gonzalez
C++
3
star
17

EE445L-Labs

Labs for Microprocessor Organization and Applications at UTexas
C
3
star
18

ConcurrencyHW4

Fault tolerant movie theater reservation system
Java
2
star
19

motivation

Record your daily accomplishments
JavaScript
2
star
20

gClicker

Conduct ad hoc classroom polls using an Android app
Java
2
star
21

tweetchan

anonymize your twitter feed
CSS
2
star
22

Saros

Saros project for EE361L (added remove user from session feature)
Java
2
star
23

jsdatavis

A comparison of JavaScript data visualization libraries
JavaScript
2
star
24

HN-Google-Gadget

HN Gadget with keyword filters
2
star
25

revealer

claim a hidden pixel in an image to reveal it
JavaScript
2
star
26

Debate-Tab

Easy registration and tabulation for speech and debate tournaments
JavaScript
2
star
27

debatetab2

Reboot of DebateTab
JavaScript
2
star
28

SocksChat

Very basic Socket.io, express.js chat room
JavaScript
2
star
29

space-balloon-client

Android client for near space weather balloon
Java
2
star
30

bromansion

Create image macros using Canvas and share them in a blog-style display.
JavaScript
2
star
31

AdventureGame

Game for Project Week
Java
1
star
32

pricegrapher

Track amazon prices
Python
1
star
33

scholarhippo

mobile scholarship search
Python
1
star
34

impressions

Platform for creating fullscreen image macros
Python
1
star
35

hl-code-golf

code golf with UT Hacker Lounge
JavaScript
1
star
36

gClicker-Android

Android app for gClicker system. Term project for EE360P.
Java
1
star
37

navigate

Scrape your commute options from google maps to help you choose an optimal route
Python
1
star
38

DemoEngine

Saw a demoscene documentary so I made some weird digital art using <canvas>.
JavaScript
1
star
39

bender

Chrome extension for detecting gendered and insensitive language in input fields.
Python
1
star