GitXplorerGitXplorer
d

dockerized-elasticsearch-indexer

public
19 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
1bbf245bd6ce0752b64ac15e516b7a599e1f7886

Make black happy

ddavidefiocco committed 4 years ago
Verified
9fd288853063d1ad4032a572042aab4f6cd66f35

Create LICENSE

ddavidefiocco committed 4 years ago
Verified
774a47af6a6528c27eaff393d954d1ed6008cc76

Update README.md

ddavidefiocco committed 4 years ago
Unverified
03bce90d82d1e8dc6879337e60228179a8a5c082

Handle ConnectionError better

ddavidefiocco committed 4 years ago
Unverified
9f6087885e6c43233e7b1c376638d7be1f55fa7d

Tweak the waiting logic

ddavidefiocco committed 4 years ago
Verified
8a23adb80a87dd1c2cb1b822af00035630d3bdfb

Merge pull request #2 from davidefiocco/add-kibana

ddavidefiocco committed 4 years ago

README

The README file for this repository.

dockerized-elasticsearch-indexer

Example showing how to index an Elasticsearch db using the Python client within a Docker container, as in https://stackoverflow.com/questions/48711455/create-dockerized-elasticsearch-index-using-a-python-script-running-in-docker/48712414#48712414 starting from a jsonl file contained in the indexer folder.

A Kibana container is added to navigate the indexed dataset. The index is accessible at http://localhost:9200/test and Kibana can be opened at http://localhost:5601.

Run with:

docker-compose build
docker-compose up

Troubleshooting

Check https://github.com/docker-library/elasticsearch/issues/111 in case of troubles in the logs with vm.max_map_count.