Skip to content

A simple kafka project using apache web server to read access logs using regex on a kafka-producer and a config kafka-consumer to deal with that data.

Notifications You must be signed in to change notification settings

rafaeltenoriogama/kafka-access-log-reader

Repository files navigation

Kafka Access log reader

Display messages A simple kafka project using apache web server to read access logs using regex on a kafka-producer and a config kafka-consumer to deal with that data.

Architeture

  • Apache web server
  • MySQL/MariaDB database
  • Kafka
  • Python 3.*

Objective

Make a application using regex and python to read a log file, then storage the important data in MySQL/MariaDB database for distributed analysis, such as marketing, sales or support team.

Log files example Above we can see a example of a log file and how many data can be extract from there, such as datetime, ip address, geolocation and more.

This is why is important have a project to analysis that data for the teams of a company, startup or personal project.

Quickstart

Hands on

Now everything is set up, start by this:

  • Kafka Zookeeper
  • Kafka topic
  • Kafka Python Producer
  • Kafka consumer
  • Apache Web Server
  • Database

.

About

A simple kafka project using apache web server to read access logs using regex on a kafka-producer and a config kafka-consumer to deal with that data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published