Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

vmware-archive/ansible-role-logstash-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-logstash-server

Ansible playbook to automate installing and maintaining logstash as containers.

Requirements

This role currently requires a working VMware Photon server with enabled Docker environment.

This role also has a dependency on the Chaperone project. In particular, this role requires that an external source (e.g., the playbook) define the following variable (the default expectation is supplied, but can be any valid Docker version):

# The Docker API version to use for manipulating the containers.
docker_api_version: 1.18

Role Variables

# Container memory limit. Use 512MB, type string, or 0 for unlimited.
memory_limit: 0MB

# Where to place temporary build artifacts when building the container.
logstash_docker_build: /tmp/logstash

# Directories (volumes) to map to /config-dir in the container.
# Note, not currently used, but planned for future use.
logstash_mapped_dir:

# The Docker image to use to start containers.
logstash_docker_image: openedge/logstash-server

# The elasticsearch cluster to link to.
elasticsearch_cluster_name: default_clustername

# TCP port that logstash listen on (as syslog) within the container.
logstash_server_port: 514

# TCP container (public) port to map to the container internal logstash port.
logstash_container_port: 514

Example playbook

---
- hosts: logstash-servers
  sudo: True
  roles:
    - logstash
  vars:
    - ... forthcoming

License and Copyright

Copyright 2015 VMware, Inc. All rights reserved.

SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-only

This code is Dual Licensed Apache-2.0 or GPLv3

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published