fluidfox
Realtime log monitoring in your browser
Last updated 4 months ago by srzorro .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fluidfox 
SYNC missed versions from official npm registry.

FluidFox - Real-time log monitoring in your browser based in NarrativeScience/Log.io

WARNING: FluidFox its not yet production ready, use it with caution.

Installation

npm i -g fluidfox

And you are ready, execute fluidfox to see the help page.

Running the server

  1. Create or edit a json file where your server configuration is going to live.

> cat server.json

{
    "port": 28777
}
  1. Run the server.

fluidfox server server.json

Runing the harvester

  1. Create or edit a json file where your harvester configuration is going to live.

> cat harvester.json

{
    "nodeName": "application_server",
    "logStreams": {
        "application1": [
            {
                "name": "Custom name",
                "file": "/var/logs/obscure_file_name.log"
            }
        ],
        "nginx": [
            "/var/log/nginx/access.log",
            "/var/log/nginx/error.log"
        ]
    },
    "server": {
        "host": "your_server_here",
        "port": 28777
    }
}
  1. Run the harvester.

fluidfox harvester harvester.json

Harvester will connect to the server and watch your files, when a file is modified, the new lines will be sended to the server.

Running the web server

  1. Create or edit a json file where your client configuration is going to live.

> cat web.json

{
    "port": 8080,
    "server": {
        "ip": "your_server_here",
        "port": 28777
    }
}
  1. Run the web server.

fluidfox web web.json

  1. Browse to the IP/domain of the web server and access with the configured port, example http://127.0.0.1/8080

Current Tags

  • 1.0.3                                ...           latest (4 months ago)

3 Versions

  • 1.0.3                                ...           4 months ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (17)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |