An open API service indexing awesome lists of open source software.

https://github.com/threefoldtech/logagg

Simple log aggregator that receive log streams over web socket then handle it as configured
https://github.com/threefoldtech/logagg

Last synced: about 1 month ago
JSON representation

Simple log aggregator that receive log streams over web socket then handle it as configured

Awesome Lists containing this project

README

        

# Logagg

This is a simple log aggregator service. The service can be ran by anyone to receive streamed logs from multiple sources (mainly VMs). [tailstream](https://github.com/threefoldtech/tailstream) is the tool which used in our VMs.

## Configuration
Configuration is passed via `--cfg` argument which accepts a `path` to a `yaml` file.

The `yaml` file has the following structure.
```yaml
listen:
output:
- kind:
config: < i.e. /where/to/keep/thelogs/ for a *file* kind>
- kind: ...
config: ...
```

## Types of received message

- text for not compressed message
- binary for gzip compressed message

## Url form

send messages to the following url with this form

`ws:///logs/`

- `listen-address` is the one written into the `.yaml`.
- `name` is the name of the log file i.e. text file.

## Usage
```
logagg --cfg /path/to/.yaml
```