Skip to main content

Log anomaly detector for streaming logs

Project description

Log Anomaly Detector

Log anomaly detector is an open source project code named "Project Scorpio". LAD is also used for short. It can connect to streaming sources and produce predictions of abnormal log lines. Internally it uses unsupervised machine learning. We incorporate a number of machine learning models to achieve this result. In addition it includes a human in the loop feedback system.

Project background

The original goal for this project was to develop an automated means of notifying users when problems occur with their applications based on the information contained in their application logs. Unfortunately logs are full of messages that contain warnings or even errors that are safe to ignore, so simple “find-keyword” methods are insufficient . In addition, the number of logs are increasing constantly and no human will, or can, monitor them all. In short, our original aim was to employ natural language processing tools for text encoding and machine learning methods for automated anomaly detection, in an effort to construct a tool that could help developers perform root cause analysis more quickly on failing applications by highlighting the logs most likely to provide insight into the problem or to generate an alert if an application starts to produce a high frequency of anomalous logs.

Components

It currently contains the following components:

  1. LAD-Core: Contains custom code to train model and predict if a log line is an anomaly. We are currently use W2V (word 2 vec) and SOM (self organizing map) with unsupervised machine learning. We are planning to add more models.
  2. Metrics: To monitor this system in production we utilize grafana and prometheus to visualize the health of this machine learning system.
  3. Fact-Store: In addition we have a metadata registry for tracking feedback from false_positives in the machine learning system and to providing a method for ML to self correcting false predictions called the “fact-store”.

Installing

Install Log Anomaly Detector (LAD):

pip install -i https://test.pypi.org/simple/ scorpio

LAD requires python 3.6 or greater

Documentation

Official documentation for LAD can be found at https://log-anomaly-detector.readthedocs.io/en/latest

Community

For help or questions about Log Anomaly Detector usage (e.g. "how do I do X?") then you can open an issue and mark it as question. One of our engineers would be glad to answer.

To report a bug, file a documentation issue, or submit a feature request, please open a GitHub issue.

For release announcements and other discussions, please subscribe to our mailing list (https://groups.google.com/forum/#!members/aiops)

Major updates will be presented at our AiOps special interest group meeting which is a part of openshift commons

OpenShift Commons AiOps Sig Calendar: https://bit.ly/2lMn6yU

Contributing

We happily welcome contributions to LAD. Please see our contribution guide for details.

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

log-anomaly-detector-0.0.2.tar.gz (41.9 kB view details)

Uploaded Source

Built Distribution

log_anomaly_detector-0.0.2-py3-none-any.whl (71.1 kB view details)

Uploaded Python 3

File details

Details for the file log-anomaly-detector-0.0.2.tar.gz.

File metadata

  • Download URL: log-anomaly-detector-0.0.2.tar.gz
  • Upload date:
  • Size: 41.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.8

File hashes

Hashes for log-anomaly-detector-0.0.2.tar.gz
Algorithm Hash digest
SHA256 50f6dd77d5713e98c2e084df2d277f3fa0e16f4496d3ab13e88166cdc02afbc3
MD5 7f47ea1bfbe1b985624d2997af793f75
BLAKE2b-256 8608fe82b5d01edf9da2c4ab9b0158ae8f974b61d77084ce5c4676f55eecfa86

See more details on using hashes here.

File details

Details for the file log_anomaly_detector-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: log_anomaly_detector-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 71.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.8

File hashes

Hashes for log_anomaly_detector-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6c91e0930eb511de030bdac5988b32f4219a65b622ddf838fe264d30a9d7b1a9
MD5 5fea9c03b2fd6d473556ad0e594ea782
BLAKE2b-256 387f84a51184a7b7f197d6c6693848d18e7a8fd99551c8e7befb2f0e9213c6b3

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