logstash input elasticsearch #1

  • By tilmanbaumann
  • Latest version (#1)
  • trusty, xenial, zesty
  • Stable

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

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" } }