Last active
January 31, 2016 12:37
-
-
Save ubinix-warun/2c7064b4c01b7fd4e9cc to your computer and use it in GitHub Desktop.
แนวทางในการนำข้อมูล CSV เข้าไปใน ElasticSearch และ Kibana https://medium.com/@ubinix_warun/%E0%B9%81%E0%B8%99%E0%B8%A7%E0%B8%97%E0%B8%B2%E0%B8%87%E0%B9%83%E0%B8%99%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%99%E0%B8%B3%E0%B8%82%E0%B9%89%E0%B8%AD%E0%B8%A1%E0%B8%B9%E0%B8%A5-csv-%E0%B9%80%E0%B8%82%E0%B9%89%E0%B8%B2%E0%B9%84%E0%B8%9B%E0%B9%83%E0%B8%99-elastic…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -XDELETE 'http://localhost:9200/store' | |
| curl -XPUT 'http://localhost:9200/store' | |
| curl -XPUT 'http://localhost:9200/store/_mapping/product' -d '@mapping.json' | |
| python -m esimport -s localhost:9200 -f xyz.csv -i store -t product |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment