Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.06 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.06 KB

Dockers for PostgreSQL and Beats (Filebeat, Metricbeat)

Run the PostgreSQL and Beats containers

It will give you the ability to analyze and visualize PostgreSQL logs in Kibana.

Based on the official Docker images:

This configuration uses docker-elk

How to setup

1.Clone docker-elk repository

2.Clone this repository

3.Start the Elastic and PostgreSQL with Beats using docker-compose:

$ cd docker-elk
$ docker-compose up -d
$ cd ../docker-postgres-elk
$ docker-compose up -d

PostgreSQL Configuration

There are two configuration file:

  • postgres.docker.conf - basic configuration with minimum changes from default
  • postgres.docker.beats.conf - configuration with changes to make filebeat and metricbeat fully work

By default, the stack exposes the following ports:

  • 5432: PostgreSQL