logstash input elasticsearch #1

Supports: trusty xenial zesty

Add to new model

Description

Subordinate charm that will connect logstash to elasticsearch


Overview

Logstash input plugin that reads events from elasticsearch.

Usage

Step by step instructions on using the charm:

juju deploy logstash-input-elasticsearch

juju add-relation logstash-input-elasticsearch:elasticsearch elasticsearch

Configuration

The template field can be changed. Use {{ hosts }} for elasticsearch servers

  • https://github.com/tbaumann/charm-logstash-input-elasticsearch

Configuration

template
(string) See https://www.elastic.co/guide/en/logstash/current/plugins-inputs-elasticsearch.html Use template variable 'hosts' for list of connected elasticsearch servers
input { elasticsearch { hosts => {{ hosts }} index => "logstash-input-elasticsearch-*" query => '{"query": { "match_all": {} } }' scroll => "5m" } }