Git Product home page Git Product logo

dashode's Introduction

NOTE: https://github.com/apocas/dashode2 - more complex and feature rich (not so user friendly)

dashode

Simple & standalone HTTP requests realtime dashboard for clf based webservers.

It was designed to debug and monitor nginx instances but it should work with anything that features a clf log.

dashode

Usage

Install

  • npm install -g dashode
  • dashode (defaults to --log=/var/log/nginx/access.log --port=1337)
  • Point your browser to http://hostname:1337

Options

  • dashode --log=/var/log/nginx/access.log --port=1337

Support

  • Should support all web servers that support standard clf log format.
  • nginx, apache and others.

Authentication

  • Dashode does not feature authentication, you should push that to a reverse proxy if you need it.

nginx Authentication example

server {
 listen 8080;
 server_name ~^(.+)$;

 location / {
   auth_basic "Restricted";
   auth_basic_user_file /var/nginx/passwd;

   proxy_set_header Upgrade $http_upgrade;
   proxy_set_header Connection "upgrade";
   proxy_http_version 1.1;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_set_header Host $host;

   proxy_pass http://127.0.0.1:1337/;
 }
}

Design notes

  • Usage must be stupid simple
  • Monolithic/self-contained
  • Stateless & realtime only
  • Behave like a debug tool / bragging dashboard

License

Pedro Dias - @pedromdias

Licensed under the Apache license, version 2.0 (the "license"); You may not use this file except in compliance with the license. You may obtain a copy of the license at:

http://www.apache.org/licenses/LICENSE-2.0.html

Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "as is" basis, without warranties or conditions of any kind, either express or implied. See the license for the specific language governing permissions and limitations under the license.

dashode's People

Contributors

apocas avatar duzun avatar

Watchers

 avatar James Cloos avatar Sergiu Pirlici avatar Mihail Terenti avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.