All Projects → mthenw → Frontail

mthenw / Frontail

Licence: mit
📝 streaming logs to the browser

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Frontail

Cw
The best way to tail AWS CloudWatch Logs from your terminal
Stars: ✭ 368 (-73.47%)
Mutual labels:  devops, tail
Stern
⎈ Multi pod and container log tailing for Kubernetes -- Friendly fork of https://github.com/wercker/stern
Stars: ✭ 268 (-80.68%)
Mutual labels:  devops, tail
Utern
Multi group and stream log tailing for AWS CloudWatch Logs.
Stars: ✭ 241 (-82.62%)
Mutual labels:  devops, tail
Stern
⎈ Multi pod and container log tailing for Kubernetes
Stars: ✭ 5,614 (+304.76%)
Mutual labels:  devops, tail
Autowire
Automatically configure Wireguard interfaces in distributed system. It supports Consul as backend.
Stars: ✭ 101 (-92.72%)
Mutual labels:  devops
Dyn365 Ce Vsts Tasks
VSTS Extension for Dynamics 365 Customer Engagement
Stars: ✭ 94 (-93.22%)
Mutual labels:  devops
Moroz
Moroz is a Santa server
Stars: ✭ 93 (-93.29%)
Mutual labels:  devops
Ansible Interactive Tutorial
Interactive Ansible tutorials with dead simple setup via Docker
Stars: ✭ 1,309 (-5.62%)
Mutual labels:  devops
Intercity Next
Web control panel to deploy apps on your servers (with Dokku)
Stars: ✭ 103 (-92.57%)
Mutual labels:  devops
Docker Bootstrap Collection
Docker bootstrap templates to deliver applications faster
Stars: ✭ 102 (-92.65%)
Mutual labels:  devops
Punt
Punt is a tiny and lightweight daemon which helps ship logs to Elasticsearch.
Stars: ✭ 98 (-92.93%)
Mutual labels:  syslog
Vbot
JSON based visual regression testing library. Liberate creativity, minimize repeated works ✌️
Stars: ✭ 96 (-93.08%)
Mutual labels:  devops
Orkestra
Functional DevOps with Scala and Kubernetes
Stars: ✭ 102 (-92.65%)
Mutual labels:  devops
Raspberry Pi Dramble
Raspberry Pi Kubernetes cluster that runs HA/HP Drupal 8
Stars: ✭ 1,317 (-5.05%)
Mutual labels:  devops
Userpath
Cross-platform tool for adding locations to the user PATH, no elevated privileges required!
Stars: ✭ 103 (-92.57%)
Mutual labels:  devops
Libreselery
Continuous distribution of funding to your project contributors and dependencies. Integrated into GitHub Actions
Stars: ✭ 92 (-93.37%)
Mutual labels:  devops
Awstaghelper
AWS bulk tagging tool
Stars: ✭ 98 (-92.93%)
Mutual labels:  devops
Rsyslog
a Rocket-fast SYStem for LOG processing
Stars: ✭ 1,385 (-0.14%)
Mutual labels:  syslog
Openidp
An open source platform to accelerate and scale DevOps adoption across the enterprise
Stars: ✭ 97 (-93.01%)
Mutual labels:  devops
Logtrail
Kibana plugin to view, search & live tail log events
Stars: ✭ 1,343 (-3.17%)
Mutual labels:  syslog

frontail – streaming logs to the browser

frontail is a Node.js application for streaming logs to the browser. It's a tail -F with UI.

frontial

Docker Pulls

Quick start

Features

  • log rotation (not on Windows)
  • auto-scrolling
  • marking logs
  • pausing logs
  • number of unread logs in favicon
  • themes (default, dark)
  • highlighting
  • search (Tab to focus, Esc to clear)
  • set filter from url parameter filter
  • tailing multiple files and stdin
  • basic authentication

Installation options

  • download a binary file from Releases pagegit st
  • using npm package: npm i frontail -g
  • using Docker image: docker run -d -P -v /var/log:/log mthenw/frontail /log/syslog

Usage

frontail [options] [file ...]

Options:

  -V, --version                 output the version number
  -h, --host <host>             listening host, default 0.0.0.0
  -p, --port <port>             listening port, default 9001
  -n, --number <number>         starting lines number, default 10
  -l, --lines <lines>           number on lines stored in browser, default 2000
  -t, --theme <theme>           name of the theme (default, dark)
  -d, --daemonize               run as daemon
  -U, --user <username>         Basic Authentication username, option works only along with -P option
  -P, --password <password>     Basic Authentication password, option works only along with -U option
  -k, --key <key.pem>           Private Key for HTTPS, option works only along with -c option
  -c, --certificate <cert.pem>  Certificate for HTTPS, option works only along with -k option
  --pid-path <path>             if run as daemon file that will store the process id, default /var/run/frontail.pid
  --log-path <path>             if run as daemon file that will be used as a log, default /dev/null
  --url-path <path>             URL path for the browser application, default /
  --ui-hide-topbar              hide topbar (log file name and search box)
  --ui-no-indent                don't indent log lines
  --ui-highlight                highlight words or lines if defined string found in logs, default preset
  --ui-highlight-preset <path>  custom preset for highlighting (see ./preset/default.json)
  --path <path>                 prefix path for the running application, default /
  --disable-usage-stats         disable gathering usage statistics
  --help                        output usage information

Web interface runs on http://[host]:[port].

Tailing multiple files

[file ...] accepts multiple paths, *, ? and other shell special characters(Wildcards, Quotes, Back Quotes and Apostrophes in shell commands).

stdin

Use - for streaming stdin:

./server | frontail -

Highlighting

--ui-highlight option turns on highlighting in UI. By default preset from ./preset/default.json is used:

{
    "words": {
        "err": "color: red;"
    },
    "lines": {
        "err": "font-weight: bold;"
    }
}

which means that every "err" string will be in red and every line containing "err" will be bolded.

New presets are very welcome. If you don't like default or you would like to share yours, please create PR with json file.

Available presets:

  • default
  • npmlog
  • python

Running behind nginx

Using the --url-path option frontail can run behind nginx with the example configuration

Using frontail with --url-path /frontail

events {
    worker_connections 1024;
}

http {
    server {
        listen      8080;
        server_name localhost;

        location /frontail {
            proxy_pass http://127.0.0.1:9001/frontail;

            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
        }
    }
}

Usage statistics

frontail by default (from v4.5.0) gathers anonymous usage statistics in Google Analytics. It can be disabled with --disable-usage-stats.

The data is used to help me understand how frontail is used and I can make it better.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].