Skip to main content

A remote log watcher daemon that uses ssh, and multithreaded design.

Project description

OmniLog

Introduction

It was conceived with the idea on mind that not all IT infraestructures or applications have a well defined and centralized logging system. This cant be a reason to not “listen” a those remote logs on that servers. Log reviews can be very painfull if you dont have a tool like this on your toolbelt.

With this application we can ‘ssh in’ all our servers simultaneously , get each line of those logs of interest and write it on local files, show them on a html fashion through its integrated HTTP server or launch notification events when one log entry arrives from servers.

Architecture

Broadly speaking we can think that this application have 2 layers. One of them is the main process omnilogd (daemon), that launches, controls and communicate the second layer, the app runnable sub components (threading involved).

The other components are wrappers around third party libraries .

Key features

See remote logs via SSH. Main SSH auth methods. Store logs in local folder for further analysis. Auto reload config when it changes.(No manual service restart needed) Built-in HTTP server for showing results.

Installation

If you have problems with dbus module, install it with: apt-get install python3-dbus

From pypi install as: pip3 install omnilog

You can create a skeleton , omnilog will write in your $HOME dir a example config, webpanel example and dir for received logs. Just write:

omnilogd.py skeleton

Use it

omnilogd.py config.json

Where config.json is the route to your configuration file. You can get an example of this in docs/config.dist.json.

For further and more detailed documentation visit the docs subfolder. If you simply “want to use it” this README shoul be sufficient.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omnilog-0.9.2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

omnilog-0.9.2.linux-x86_64.tar.gz (21.7 kB view details)

Uploaded Source

File details

Details for the file omnilog-0.9.2.tar.gz.

File metadata

  • Download URL: omnilog-0.9.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for omnilog-0.9.2.tar.gz
Algorithm Hash digest
SHA256 bdb258f860f0aff0ea19aa1574cefb7132a9acae7d348a750bce4b75966793ec
MD5 2a69048c6e091819bcfc7ff369a7863a
BLAKE2b-256 e5b7d7836120f62dd4a6f5dbe71b6cf802fbe8d2d11d85a6abec6bb88cd08aa0

See more details on using hashes here.

File details

Details for the file omnilog-0.9.2.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for omnilog-0.9.2.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 0cac270c1b8e0471cb1cbbf48e5cd9746c4dff531cb005e57d578027bc4132c6
MD5 b8b03b7f6e4517ad999eae6b2e7d4512
BLAKE2b-256 02775f05e077522c9b4bfaf03c10f5fa37dc3a586f488dd8289821e785ffef2e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page