Socket
Socket
Sign inDemoInstall

dashode

Package Overview
Dependencies
91
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dashode

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


Version published
Weekly downloads
3
decreased by-40%
Maintainers
1
Install size
9.92 MB
Created
Weekly downloads
 

Readme

Source

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.

FAQs

Last updated on 18 Feb 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc