logstash

logstash

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to install and configure a Logstash log processor.

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

logstash_exporter_args

List of arguments joined for the executable

Default value

logstash_exporter_args: []

logstash_exporter_download

URL to the archive of the release to install

Default value

logstash_exporter_download: 
  https://gitlab.com/alxrem/prometheus-logstash-exporter/uploads/e0e93259ae977cc73674b95e5f5b4cfa/prometheus-logstash-exporter-{{
  logstash_exporter_version }}-linux-amd64

logstash_exporter_enabled

Enable the logstash exporter

Default value

logstash_exporter_enabled: true

logstash_exporter_host

Host of logstash to connect to

Default value

logstash_exporter_host: localhost

logstash_exporter_port

Port of logstash to connect to

Default value

logstash_exporter_port: 9600

logstash_exporter_version

Version of the release to install

Default value

logstash_exporter_version: 0.7.0

logstash_extra_pipelines

List of extra pipeline definitions

Default value

logstash_extra_pipelines: []

logstash_general_pipelines

List of general pipeline definitions

Default value

logstash_general_pipelines:
  - pipeline.id: main
    path.config: /etc/logstash/conf.d/*.conf

logstash_group

Name of the group owning Elasticsearch

Default value

logstash_group: logstash

logstash_http_enabled

Enable the integrated HTTP API

Default value

logstash_http_enabled: true

logstash_http_host

Host binding for the HTTP API

Default value

logstash_http_host: 127.0.0.1

logstash_http_port

Port range for the HTTP API

Default value

logstash_http_port: 9600-9700

logstash_initial_heap_space

Represents the initial size of total heap space

Default value

logstash_initial_heap_space: 1g

logstash_install_plugins

List of plugins to install

Default value

logstash_install_plugins: []

logstash_java_home

Default value

logstash_java_home: /usr/lib/jvm/java-11-openjdk-amd64

logstash_keyring

Path for the repository keyring

Default value

logstash_keyring: /usr/share/keyrings/elastic-archive-keyring.gpg

logstash_major_version

Major version built via server version variable

Default value

logstash_major_version: "{{ logstash_server_version.split('.')[0] }}"

logstash_maximum_heap_space

Represents the maximum size of total heap space

Default value

logstash_maximum_heap_space: 1g

logstash_node_name

Name of the node

Default value

logstash_node_name: '{{ ansible_hostname }}'

logstash_openjdk_version

Version of OpenJDK to install as part of Logstash

Default value

logstash_openjdk_version: 11

logstash_pipeline_ordered

Set the pipeline event ordering

Default value

logstash_pipeline_ordered: auto

logstash_server_version

Version of Logstash that gets installed

Default value

logstash_server_version: '8.5'

logstash_user

Path to the java home environment

Default value

logstash_user: logstash

Discovered Tags

logstash

logstash-exporter

Dependencies

  • None

License

Apache-2.0

Author

Thomas Boerger

About

Ansible role to install and configure a Logstash log processor

Install
ansible-galaxy install rolehippie/logstash
GitHub repository
License
apache-2.0
Downloads
49
Owner
Ansible role collection of Webhippie