Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Lab n°2 of "Applications of Big-Data" @ Efrei Paris

Notifications You must be signed in to change notification settings

c-drault/ingest-csv-for-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

CSV Ingestion for ElasticSearch

👤 Authors :

Project description

We must create an simple application to feed elasticsearch indices with csv. We choose python to do that.

📦 Install it

With native python

You must have python and pip installed. If not check some documentations to install them. After the installation complete you must :

  1. Clone the repo
  2. Install pandas and elasticsearch libraries : pip install elasticsearch pandas
  3. Change csv_path and index_name in the file script.py
  4. Execute python script.py

With Anaconda & Jupiter Notebook

  1. Clone the repo
  2. Install pandas and elasticsearch libraries : pip install elasticsearch pandas
  3. Start Jupiter Notebook
  4. Open notebook.ipynb in Jupiter Notebook