Skip to content

NYC Taxi demo with Elasticsearch and Machine Learning

Notifications You must be signed in to change notification settings

grabowskit/nyc-taxi-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nyc-taxi-demo

NYC Taxi demo with Elasticsearch and Machine Learning

Download Taxi data

Go to http://www.nyc.gov/html/tlc/html/about/trip_record_data.shtml and download the CSV file for Oct-Dec 2016 (Yellow cabs). To make it easier, use the script download_raw_data.sh to download those months (relies on you having raw_data_urls.txt local as well)

Use Logstash to import into Elasticsearch

Change username and password in taxi.conf file in output section

Run Logstash with taxi.conf configuration file for each month - for example:

tail -n +2 /path/to/data/yellow_tripdata_2016-10.csv | /path/to/logstash-6.3.1/bin/logstash -f /path/to/taxi.conf

Go to Kibana, under Management create an index pattern called 'nyc-taxi-*'

Import Kibana visualizations

In Kibana, Managmenet, Saved Objects, Import taxi.json file

About

NYC Taxi demo with Elasticsearch and Machine Learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages