Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.33 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.33 KB

monasca-log-metrics

monasca-log-metrics image contains Logstash configuration to transform logs into metrics based on log's severity.

Tags

monasca-log-metrics uses simple SemVer tags as follows:

  • 0.0.1 - latest

Configuration

Variable Default Description
ZOOKEEPER_URI zookeeper:2181 An URI to Zookeeper server
KAFKA_URI kafka:9092 The host and port for kafka
KAFKA_WAIT_FOR_TOPICS log-transformed,metrics Topics to wait on at startup
KAFKA_WAIT_RETRIES 24 # of kafka wait attempts
KAFKA_WAIT_DELAY 5 # seconds to wait between attempts

Usage

In order to run monasca-log-metrics:

  • kafka needs to be available
  • zookeeper needs to be available
  • log-transformed and metrics topics needs to be created

After that, monasca-log-metrics can be run with: docker run -l zookeeper -l kafka monasca/log-metrics