Skip to content

onsecurity/postgres-to-elasticsearch

Repository files navigation

Postgres-to-elasticsearch

Getting data from PostgreSQL to Elasticsearch, originally designed for audit archiving.

Performs both historic and real-time event driven data streaming.

Prerequisites

  • Node 8+ with npm available
  • Requires the database to use an incremental primary key to work correctly

Getting Started

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

Environment variables

Please see src/index.js for the list of available environment variables.

Deployment

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 .

Built With

Versioning

Currently no versioning system

Authors

License

This project is licensed under the GPLv3 License - see the LICENSE.md file for details.

Acknowledgments

About

Tool to push data from PostgreSQL to Elasticsearch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •