Skip to content

Instantly share code, notes, and snippets.

View eriknovak's full-sized avatar

Erik Novak eriknovak

View GitHub Profile
@eriknovak
eriknovak / vscode-debug-node-config.js
Last active February 16, 2021 08:51
VSCode NodeJS debug configuration
// IMPORTANT: The configuration file must be a JSON
// This configuration is in .js because of the "comments" errors shown in the gist.
// When copying into the `launch.json` file in vscode just copy the json structure
// without the `module.exports = ` part.
module.exports = {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
@eriknovak
eriknovak / logstash-pg-es.md
Last active August 19, 2024 19:02
Instructions for setting up the Logstash configuration for synching PostgreSQL with Elasticsearch

Populating Elasticsearch Index with Logstash

Logstash is a free and open server-side data processing pipeline that ingests data from a multitude of sources, transforms it, and then sends it to your favorite "stash."

This section describes how one can use it on UNIX to migrate data from a PostgreSQL database to elasticsearch.

The Prerequisites