Coder Social home page Coder Social logo

hainhat-hust / web-log-analysis Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 77.34 MB

Web Log Analysis is an application desined to analyze web log services, visualize statistical data, and transmit log data from Apache server and ModSecurity firewall. The applicaiton provides an overview of overall log data, status and security problems from server and firewall.

Java 100.00%
apache log-analysis log log-visualization modsecurity oops-in-java

web-log-analysis's Introduction

Application - Web Log Analysis

Description

Web Log Analysis is an application desined to analyze web log services, visualize statistical data, and transmit log data from Apache server and ModSecurity firewall. The applicaiton provides an overview of overall log data, status and security problems from server and firewall.

This project is developed in the Java prpgramming language with JavaFx for the user interface and adhering to Object-Oriented Programming principles. It is also managed and built by Maven ,which helps optimize the development process and integrate the necessary libraries.

Key Feature

  • Log parsing and analysis: Reads and analyzes Apache server and ModSecurity firewall log files.
  • Statistical insights: Visualization statistics data such as total visit, error, log traffic per hour,etc.
  • Interactive interface: Allow user interaction to filter and view detailed information.

Feature Demo

This demo mainly uses the login as visitor feature, which is a sample profile that allows users to try out the app's features without entering log data.

Visualize data

Visualization.mp4

Filter log data

Filter.mp4

Stream log data

Strean.mp4

For further guide and fully demo, see this full video on youtube for demo with Ubuntu OS: https://youtu.be/eq44JOHHUHw

Code structure

.
├── access.log
├── modsec.log
├── mvnw
├── mvnw.cmd
├── pom.xml
├── profile.txt
└── src
    └── main
        ├── java
        │   ├── hust
        │   │   └── soict
        │   │       └── cybersec
        │   │           └── webloganalysis
        │   │               ├── controller
        │   │               │   ├── CreProfileController.java
        │   │               │   ├── DashboardController.java
        │   │               │   ├── ExplorerController.java
        │   │               │   ├── LoginController.java
        │   │               │   ├── StreamController.java
        │   │               │   └── WelcomeController.java
        │   │               ├── Main.java
        │   │               ├── model
        │   │               │   ├── LogEntry
        │   │               │   │   ├── AccessLog.java
        │   │               │   │   ├── AuditLog.java
        │   │               │   │   ├── IpAddress.java
        │   │               │   │   ├── Rule.java
        │   │               │   │   └── StatusCode.java
        │   │               │   └── Parser
        │   │               │       ├── ParseAccessLog.java
        │   │               │       └── ParseAuditLog.java
        │   │               └── util
        │   │                   ├── AccessLogTable.java
        │   │                   ├── AuditLogTable.java
        │   │                   ├── Config.java
        │   │                   ├── IpAddressToCountryName.java
        │   │                   ├── LogLineChart.java
        │   │                   ├── RuleTable.java
        │   │                   ├── StatusCodeTable.java
        │   │                   └── StreamLogTable.java
        │   └── module-info.java
        └── resources
            └── hust
                └── soict
                    └── cybersec
                        └── webloganalysis
                            ├── database
                            │   └── GeoLite2-Country.mmdb
                            ├── image
                            │   ├── detective.png
                            │   ├── HaiNhat.jpg
                            │   ├── log_analysis.png
                            │   ├── login.png
                            │   └── TuanAnh.jpg
                            ├── log_sample
                            │   ├── access.log
                            │   └── modsec.log
                            └── view
                                ├── CreProfile.fxml
                                ├── Dashboard.fxml
                                ├── Explorer.fxml
                                ├── Login.fxml
                                ├── Stream.fxml
                                └── Welcome.fxml

System Requirement

  • Java 22 or higher
  • Maven
  • JavaFX(included in JDK 22 and above)

Installation and Running

  1. Clone the repository
  2. Build with Maven
  3. Run the application

Author

hust.soict.cybersec.project1

web-log-analysis's People

Contributors

hainhat-hust avatar phamtuananh20225542 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

web-log-analysis's Issues

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.