Giter VIP home page Giter VIP logo

analysing-log-data's Introduction

Assignment #4 - Analysing Log data

Assignment Information

pdf at: https://datsoftlyngby.github.io/soft2019fall/DM/week-38/04-assignment.pdf

Log format

A log entry should contain the following:

  • level Information, Warning, Error
  • system System id
  • instance Instance id
  • action Action id
  • timestamp Time of the event

Assignment

1 Create a dynamic analyser

Create a Finite State Automaton, that can handle log entries from a running application (system). The automaton should be able hold states for a number of running instances (Use case scenarios). The automation should be able to monitor the following
  • is the action legal according to the present state.
  • is any instance stuck at a non-final (non-accepting) state.
  • give a list of the running instances.

2 Create a Finite State Generator

Create an application that can create a Finite State Automaton to use in the analyser 1. The generator should take regular expression, and a list of actions (the alphabet) with max times as input.

Example: A(B|C)*D

  • A Login, 100
  • B List items, 50
  • C Edit item, 500
  • D Logout, 200

Tips: • use the regex-to-nfa.pdf and slides for inspiration. • template project can be found here: https://github.com/datsoftlyngby/soft2018fall-dm-teaching-material.git

Project insctructions

  • Download the git repo and open it in visuel studio 2019
  • Explore the classes
  • Go to "main" and uncomment one or more of the outcommented sections
  • Run the program

Automanton implemented

UML

analysing-log-data's People

Contributors

jonasmanley avatar

Watchers

James Cloos avatar Nikolaj Dyring Jensen avatar  avatar  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.