Skip to content

Latest commit

 

History

History
18 lines (7 loc) · 363 Bytes

README.md

File metadata and controls

18 lines (7 loc) · 363 Bytes

csv2opensearch

I wrote something simple but useful and I'd like to share it! Take a csv with header lines and ingest it.

It assumes that the OpenSearch API is available on localhost:9200

Usage

Set the environment variables OS_USER and OS_PASSWORD lest they both default to admin

csv2opensearch.rb <index_name> <csv_filename>

Have fun!