Skip to content

mrymam/logcat

Repository files navigation

This is log viewer client app (https://log-cat.herokuapp.com/) Now, Logcat support only nginx access log. Then set access.log to ltsv format.

Local Build

yarn dev

Open http://localhost:3000 with your browser to see the result.

nginx log format

set nginx.conf as below

  log_format ltsv "time:$time_local"
    "\thost:$remote_addr"
    "\tforwardedfor:$http_x_forwarded_for"
    "\treq:$request"
    "\tmethod:$request_method"
    "\turi:$request_uri"
    "\tstatus:$status"
    "\tsize:$body_bytes_sent"
    "\treferer:$http_referer"
    "\tua:$http_user_agent"
    "\treqtime:$request_time"
    "\truntime:$upstream_http_x_runtime"
    "\tapptime:$upstream_response_time"
    "\tcache:$upstream_http_x_cache"
    "\tvhost:$host";

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published