Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 679 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 679 Bytes

app-http-logger-logstash-service

This repository contains a Logstash plugin that builds a reverse-DNS mapping of Docker IPs to Docker-Compose service names, and uses this mapping to enrich HTTP log items with the correct name for their peer.

The Dockerfile builds a Logstash image with this plugin already installed (as the installation is quite slow).

Building the plugin separately

This plugin can only be built with JRuby and requires the Bundler gem. First, install the dependencies:

bundle install

Then build the gem:

gem build logstash-service-ip-map-plugin.gemspec

It may be installed in logstash using the logstash-plugin install utility.