GithubHelp home page GithubHelp logo

log-parser's Introduction

Welcome to Log-Parser

Log-Parser is an open source project, that is designed to parse huge log files that can't be opened in regular text editors. Log-Parser searches lines that match with regex in given file huge. it prints matched lines in output file (matched lines are few enough for regular text editors)


project uses spring java 1.8 and spring boot 2.1.8

Usages

  • start spring application
  • go to http://localhost:18018/list
  • choose file from listed file names and write name
  • write regex to search
  • press search button
  • open output text file



log-parser's People

Contributors

z13z avatar zaza-gogia avatar

log-parser's Issues

If chosen file was from zip we must be able to unzip outer archive and parse chosen file

If chosen file was from zip we must be able to unzip outer archive and parse chosen file.

  • create new method inside com.azry.utils.logparser.parsers.Parser. move logic from public parseLog
    to private parseTextLogFile

  • call parseTextLogFile from parseLog if file is not archive

  • add new method in com.azry.utils.logparser.parsers.Parser with one parameter (chosen file pass (including outer zip file names))

  • go inside zip file/files (several zip files inside other archives) till correct directory

  • parse extracted file using method parseTextLogFile

Support for zipped files part 1

Log-Parser now parses only text files. we want log parser to be able to get all file names from zipped files inside logs directory and show them as available files for parsing

  • add private function in com.azry.utils.logparser.services.FilesDirectoryControllerBean that takes zipped file name

  • new function must return all nonzipped files (recursively)

  • in com.azry.utils.logparser.services.FilesDirectoryControllerBean.listFiles() check if file is zipped and if it is .zip than call new function

Button For fields upload

Add just Buttons for adding and removing Exclude Regex fields

  • add "Add Exclude Regex" button in listFiles.html

  • add red "Remove" for each Exclude Regex field in listFiles.html

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.