Skip to content

This project brings multiple components to build and run a fast data application, messaging broker, streaming service, indexed db and real-time analytics dashboard

Notifications You must be signed in to change notification settings

lmassaoy/realtime-analytics-elastickibana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

dashboard-dark-title.png

This project brings multiple components to build and run a fast-data application, messaging broker, streaming service, indexed DB, and real-time analytics dashboard

You gonna need to build the image of the event-producer. To handle this, go to application's repository and follow the steps to do it (JVM mode).

Architecture

fastdata-architecture.png

Layer/Role Component
Application Event Producer (Quarkus)
Messaging Apache Kafka (1 broker / 3 partitions)
Streaming Apache Nifi (Kafka to Elastic)
Database Elasticsearch 7.9.1 (2 nodes)
Analytics/DataViz Kibana 7.9.1

Build'n'Run

Docker Compose

Very straight forward, just run the command to start the containers

$ docker-compose -f devops/docker-compose.yml up -d

It takes a couple minutes to start everything :)

Here are the URLs of the components:

Event Producer

Apache Kafka

Apache Nifi

Elasticsearch

Kibana (the last one in the starting phase)

To turn the things off:

$ docker-compose -f devops/docker-compose.yml down -v

Setup

Apache Nifi

Import the xml template (setup/nifi/kafka-to-elastic.xml) of the streaming processors (kafka-to-elastic) and start the processors.

Screen-Shot-2020-09-08-at-02-21-36.png

Drag the template to the middle of the screen

Screen-Shot-2020-09-08-at-02-21-57.png

and a selection box will appear.

Screen-Shot-2020-09-08-at-02-22-13.png

This is what you gonna have if did everything properly :)

Screen-Shot-2020-09-08-at-02-22-29.png

Just start and you're good to go!

Kibana

Import the "json" file in the "Saved Objects" section. This will allow you to access the dashboard.

Screen-Shot-2020-09-08-at-02-24-06.png

Select the file

Screen-Shot-2020-09-08-at-02-24-35.png

Dashboard

For a better experience, turn the dark theme ON.

To do this, access the Advanced Settings page and toggle it on.

Screen-Shot-2020-09-08-at-02-25-14.png

Now just look for the Dashboard name as "Matches" in the Kibana panel (in the left)

Screen-Shot-2020-09-08-at-02-26-34.png

This is your prize :) enjoy, explore, go beyond!

Screen-Shot-2020-09-08-at-02-27-31.png Screen-Shot-2020-09-08-at-02-27-49.png Screen-Shot-2020-09-08-at-02-28-06.png

About

This project brings multiple components to build and run a fast data application, messaging broker, streaming service, indexed db and real-time analytics dashboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published