Skip to content

Instantly share code, notes, and snippets.

@tjboudreaux
Created March 11, 2017 08:23
Show Gist options
  • Save tjboudreaux/dc94b3cd19f22f2474738aa7f1f2c5ab to your computer and use it in GitHub Desktop.
Save tjboudreaux/dc94b3cd19f22f2474738aa7f1f2c5ab to your computer and use it in GitHub Desktop.
ElasticBeanstalk Beats 5.x.x Configuration
files:
"/etc/yum.repos.d/elastic.repo":
mode: "000755"
owner: root
group: root
content: |
[elastic-5.x]
name=Elastic repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
commands:
01_add_elastic_yum_repo:
command: "sudo rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch"
02_install_filebeat:
command: "sudo yum install filebeat"
03_install_metricbeat:
command: "sudo yum install metricbeat"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment