Giter Site home page Giter Site logo

mlog's Introduction

MLog (Machine learning Log analysis)

模型测试:

生成日志模板 train/python3 paring_log

IM测试 train/python3 InvariantsMiner_without_labels.py

PCA测试 train/python3 PCA_without_labels.py

单机版:

实时日志 --> 日志抓取脚本 --> MLog

训练过程:

日志文件 --> 日志模板 --> 根据窗口设置生成日志数据 --> 训练模型

python3 train_IM.py logs/web02/error_all.log

预测过程:

日志文件 --> pipe --> stdin --> 生成模板 --> 比对是否有新模板 --> 生成日志数据 --> 使用模型预测

cat logs/nginx/error.log | python3 mlog.py

python3 predict.py logs/rt/20200417_07.log

多机版:(TODO)

实时日志1 --> flume_1 --> flume2 --> Kafka --> MLog

flume1: TAILDIR ---> Avro flume2: Avro ---> Kafka

mlog's People

Contributors

jack139 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.