All Projects → NarrativeScience → Log.io

NarrativeScience / Log.io

Licence: other
Real-time log monitoring in your browser

Programming Languages

typescript
32286 projects
CSS
56736 projects

Projects that are alternatives of or similar to Log.io

Spikenail
A GraphQL Framework for Node.js
Stars: ✭ 358 (-92.17%)
Mutual labels:  realtime
Ntopng
Web-based Traffic and Security Network Traffic Monitoring
Stars: ✭ 4,313 (-5.71%)
Mutual labels:  realtime
Resgate
A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.
Stars: ✭ 473 (-89.66%)
Mutual labels:  realtime
Socketstream
A framework for Realtime Web Apps
Stars: ✭ 3,567 (-22.02%)
Mutual labels:  realtime
Touchdesigner shared
TouchDesigner toxes and small projects
Stars: ✭ 385 (-91.58%)
Mutual labels:  realtime
Indexr
An open-source columnar data format designed for fast & realtime analytic with big data.
Stars: ✭ 433 (-90.53%)
Mutual labels:  realtime
Eureca.io
eureca.io : a nodejs bidirectional RPC that can use WebSocket, WebRTC or XHR fallback as transport layers
Stars: ✭ 341 (-92.54%)
Mutual labels:  realtime
Processhacker
A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware.
Stars: ✭ 6,285 (+37.41%)
Mutual labels:  realtime
Tf Pose Estimation
Deep Pose Estimation implemented using Tensorflow with Custom Architectures for fast inference.
Stars: ✭ 3,856 (-15.7%)
Mutual labels:  realtime
Social Network
Mini social network that I made as my first web app project.
Stars: ✭ 458 (-89.99%)
Mutual labels:  realtime
Yolact
A simple, fully convolutional model for real-time instance segmentation.
Stars: ✭ 4,057 (-11.3%)
Mutual labels:  realtime
Shufflenet
ShuffleNet Implementation in TensorFlow
Stars: ✭ 378 (-91.74%)
Mutual labels:  realtime
Wsify
Just a tiny, simple and real-time self-hosted pub/sub messaging service
Stars: ✭ 452 (-90.12%)
Mutual labels:  realtime
Realtime Server
A realtime dedicated game server ( FPS / MOBA ). 一个实时的专用游戏服务器.
Stars: ✭ 358 (-92.17%)
Mutual labels:  realtime
Prunecluster
Fast and realtime marker clustering for Leaflet
Stars: ✭ 473 (-89.66%)
Mutual labels:  realtime
Aws Appsync Community
The AWS AppSync community
Stars: ✭ 356 (-92.22%)
Mutual labels:  realtime
Mobilepose Pytorch
Light-weight Single Person Pose Estimator
Stars: ✭ 427 (-90.66%)
Mutual labels:  realtime
Nakama
Distributed server for social and realtime games and apps.
Stars: ✭ 5,293 (+15.72%)
Mutual labels:  realtime
Ssr Net
[IJCAI18] SSR-Net: A Compact Soft Stagewise Regression Network for Age Estimation
Stars: ✭ 475 (-89.62%)
Mutual labels:  realtime
Object Detection
Object detection project for real-time (webcam) and offline (video processing) application.
Stars: ✭ 454 (-90.07%)
Mutual labels:  realtime

Log.io - Real-time log monitoring in your browser

Powered by node.js + socket.io

License Version Node

How does it work?

A file input watches log files for changes, sends new messages to the server via TCP, which broadcasts to browsers via socket.io.

Users can watch adhoc log streams by activating inputs and binding them to multiple screens via the web UI.

Terminology

Stream - A logical designation for a group of messages that relate to one another. Examples include an application name, a topic name, or a backend service name.

Source - A physical designation for a group of messages that originate from the same source. Examples include a server name, a service provider name, or a filename.

Input - A (stream, source) pair.

While originally designed to represent backend service logs spread across multiple servers, the stream/source abstraction is intentionally open-ended to allow users to define a system topology for their specific use case.

Install & run server

Install via npm

npm install -g log.io

Configure hosts & ports (see example below)

nano ~/.log.io/server.json

Run server

log.io-server

Browse to http://localhost:6688

Install & run file input

Install via npm

npm install -g log.io-file-input

Configure file input (see example below)

nano ~/.log.io/inputs/file.json

Run file input

log.io-file-input

Server configuration

There are two servers: the message server, which receives TCP messages from message inputs, and the HTTP server, which receives requests from browsers. By default, the application looks for configuration in ~/.log.io/server.json, and can be overridden with the environment variable LOGIO_SERVER_CONFIG_PATH.

Sample configuration file:

{
  "messageServer": {
    "port": 6689,
    "host": "127.0.0.1"
  },
  "httpServer": {
    "port": 6688,
    "host": "127.0.0.1"
  },
  "debug": false,
  "basicAuth": {
    "realm": "abc123xyz",
    "users": {
      "username1": "password1"
    }
  }
}

basicAuth and debug are both optional keys that can be omitted.

File input configuration

Inputs are created by associating file paths with stream and source names in a configuration file. By default, the file input looks for configuration in ~/.log.io/inputs/file.json, and can be overridden with the environment variable LOGIO_FILE_INPUT_CONFIG_PATH.

Input paths can be a file path, directory path or a glob. Additionally, watcher options can be provided for more fine-grained control over file watching mechanics and performance. See the chokidar documentation for more information.

Sample configuration file:

{
  "messageServer": {
    "host": "127.0.0.1",
    "port": 6689
  },
  "inputs": [
    {
      "source": "server1",
      "stream": "app1",
      "config": {
        "path": "log.io-demo/file-generator/app1-server1.log"
      }
    },
    {
      "source": "server2",
      "stream": "system-logs",
      "config": {
        "path": "/var/log/**/*.log",
        "watcherOptions": {
          "ignored": "*.txt",
          "depth": 99,
        }
      }
    }
  ]
}

Server TCP interface

The file input connects to the server via TCP, and writes properly formatted strings to the socket. Custom inputs can send messages to the server using the following commands, each of which ends with a null character:

Send a log message

+msg|streamName1|sourceName1|this is log message\0

Register a new input

+input|streamName1|sourceName1\0

Remove an existing input

-input|streamName1|sourceName1\0
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].