Getting data from PostgreSQL to Elasticsearch, originally designed for audit archiving.
Performs both historic and real-time event driven data streaming.
- Node 8+ with npm available
- Requires the database to use an incremental primary key to work correctly
Review the top of src/index.js
for the list of environment variables required.
Each environment variable comes with a comment which explains it's purpose and effect
cd src
npm install
ENV_VARIABLES=todo node index.js
Please see src/index.js
for the list of available environment variables.
The service may be run directly on a host machine or via docker.
The docker image can be built using:
cd /project/root;
sudo docker build -t mytag/name .
Currently no versioning system
- Tom Lindley - Development - OnSecurity
This project is licensed under the GPLv3 License - see the LICENSE.md file for details.
- Inspired by Steve Smith's article https://developer.atlassian.com/blog/2015/02/realtime-requests-psql-elasticsearch.