Browse the Repo
Browse the Repo
Deploy a self-hosted Elasticsearch cluster. Supports automatic bootstrap, zero-downtime rolling deployment, auto healing, backup, and recovery.
This module depends on bash-commons, so you must install that project first as documented in its README.
The easiest way to use this module is with the Gruntwork Installer:
gruntwork-install \ --module-name "run-logstash" \ --repo "https://github.com/gruntwork-io/terraform-aws-elk" \ --tag "<VERSION>"
Checkout the releases to find the latest version.
We recommend using the
run-logstash command as part of User Data, so that it executes when the EC2 Instance is first booting.
See the ELK multi-cluster for fully working sample code.
run-logstash --help to see all available arguments.
Usage: run-logstash [options] This script can be used to configure and run Logstash. This script has been tested with Ubuntu 16.04 + 18.04, CentOS 7 and Amazon Linux 2. Options: --config-file The path to a YAML config file for Logstash. Default: /etc/logstash/logstash.yml. --auto-fill KEY=VALUE Search the Logstash config file for KEY and replace it with VALUE. May be repeated. --auto-fill-jvm KEY=VALUE Search the Logstash JVM config file for KEY and replace it with VALUE. May be repeated. --auto-fill-pipeline KEY=VALUE Search the Logstash pipeline config file for KEY and replace it with VALUE. May be repeated." --help Show this help text and exit. Example: run-logstash --auto-fill '<__PATH__>=/var/lib/logstash' --auto-fill-pipeline '<__PORT__>=5044' --auto-fill-jvm '<__XMS__>=4g'
We're here to talk about our services, answer any questions, give advice, or just to chat.