cs_6350_question1's Introduction
Instructions on how to run : Install kafka: https://kafka.apache.org/quickstart Start kafka from terminal with Kraft KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)" bin/kafka-storage.sh format -t $KAFKA_CLUSTER_ID -c config/kraft/server.properties bin/kafka-server-start.sh config/kraft/server.properties Create a Topic in Kafka bin/kafka-topics.sh --create --topic assignment --bootstrap-server localhost:9092 UnZip Assignment3 folder and open Question1 folder and run Scrapper.py file Download Elasticsearch 8.5.1 (https://www.elastic.co/downloads/) Open terminal where elasticsearch is installed and run "bin/elasticsearch" Download kibana 8.5.1 (https://www.elastic.co/downloads/kibana) Open terminal where kibana is installed and run "bin/kibana" Now install logstash (https://www.elastic.co/downloads/logstash) Now open terminal where logstash is installed and run this command "bin/logstash -f config/logstash-sample.conf" Edit logstash-sample.conf file # Sample Logstash configuration for creating a simple # Beats -> Logstash -> Elasticsearch pipeline. input { kafka { bootstrap_servers => "localhost:9092" topics => ["assignment"] } } output { elasticsearch { hosts => ["http://localhost:9200"] index => "assignment" workers => 1 } } Now open terminal and run this command to create index "curl -X PUT "localhost:9200/assignment" Now it's push data from kafka topic to elasticsearch and you will get the visualization on dashboard http://localhost:5601/app/home#/
cs_6350_question1's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.