Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kimuraz/elastic-json-inserter
https://github.com/kimuraz/elastic-json-inserter
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/kimuraz/elastic-json-inserter
- Owner: kimuraz
- Created: 2019-10-15T21:39:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T00:33:36.000Z (over 3 years ago)
- Last Synced: 2024-12-18T14:38:21.917Z (about 2 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Inserter
This script reads an array from a JSON file and insert each register in a local elasticsearch.## Virtualenv
It's highly recommended to use a virtualenv check it [here](https://virtualenv.pypa.io/en/latest/).## Setup
After activating the virtualenv, run:
```
$ pip install -r requirements.txt
```## Running it
```
$ python inserter.py
```> The docker compose file uses partially the code from [here](https://github.com/maxyermayank/docker-compose-elasticsearch-kibana/blob/master/docker-compose.yml)