Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bearddan2000/python-cli-postgres-to-elasticsearch-client-pop

Reads a single node for data in `pop-demo` document.
https://github.com/bearddan2000/python-cli-postgres-to-elasticsearch-client-pop

cli client elasticsearch kibana pop postgres psycopg2 python sqlalchemy to

Last synced: 21 days ago
JSON representation

Reads a single node for data in `pop-demo` document.

Awesome Lists containing this project

README

        

# python-cli-postgres-to-elasticsearch-client-pop

## Description
Reads a single node for data in `pop-demo` document.

Uses `pop` table then covverts it to json for
elasticsearch to use.

## Tech stack
- python
- psycopg2
- sqlalchemy
- elasticsearch
- kibana
- postgres

## Docker stack
- python
- elasticsearch
- kibana
- postgresql:alpine

## To run
`sudo ./install.sh -u`

## To stop (optional)
`sudo ./install.sh -d`

## For help
`sudo ./install.sh -h`

## Credit
- [Docker setup](https://lynn-kwong.medium.com/all-you-need-to-know-about-using-elasticsearch-in-python-b9ed00e0fdf0)
- [Search setup](https://www.elastic.co/guide/en/elasticsearch/client/python-api/master/examples.html)