Team-1---ELK-Stack

Team: Olga Lugai, Ashley Ritchie, Himat Varsani, Shane Frost, Elvia Sicuro, Courtney Bawuah

Two repository created

  1. Terraform Infrastructure: Repo: Team-1-Terraform-Infrastructure
  2. Ansible - ELK Stack: Repo: Team-1-ELK-Stack

Development Branch

The development branch was created to merge all the individual repository into this single repository for testing the infrastructure

FOLDER: group_vars/all:

File: metricbeat.yml
File: variables.yml
A variable declation for MetricBeat file building a template, configuration, and logging configuration. The variable.yml file is declared so that the ip address for each apps in a text file.

FOLDER: metricbeat/template:

File: metricbeat.yml
MetricBeat module configuration, elasticsearch template settings, Kibana, processors, and the output and monitor setup. The settings control to Kibana and Kibana API specifying the port 5601. Setting the output for the Elasticsearch and the Logstash.

FOLDER: nginx/kibana:

File: kibana.yml
Installing and configuration playbook for Kibana

FOLDER: repo/elastic.repo:

File: elastic.repo
Setting up the sys_log and the repo using the packages and the yum

File: ansible.cfg
setting up the inventory, key checking, pipeline, and the ssh connection using a temporary path ansible file to ./ssh.config - Config file

File: apache.yml
apache yml file to configure the elasticsearch, FileBeat, and MetricBeat

File: elasticsearch.yml
elasticsearch yml file to configuration of apt cache, installing and downloading the package. Configuring the connnection and the port of 9200 for elasticsearch

File: fetch-ips.sh
Bash scripting to collect each ip address and place it into a text file. Looks for the basion host, and configure it in a ssh config file. The script helps with enabling the service when the ip address for the vpc changes.

File: hosts.yml
ssh configuration to use the correct basion host. Each app will grap the correct ip address assign to each and enable to check the service status availability

File: Kibana.yml
Kibana yml playbook to installing and downloading the package. Configuring the connnection for Kibana and connect to a reachable subnet host and connects to its services such as elasticsearch

File: logstash.yml
logstash yml file to configuration of apt cache, installing and downloading the package. Configuring the connnection and the port of 5044 for logstash and connection to elasticsearch is established.

File: playbook.yml
The main execution file to setup and run the server making sure that the connection for all the apps are established and connected.

File: syslog.yml
A FileBeat yml file to configure connection to the log to check communication interaction to the servers.