Lab 1 - Setting up Elastic in AWS
Base Setup:
Setup Instance:




Update Security Group
Port 5601: Kibana
Port 9200: Elasticsearch

Building ELK:
Install Elasticsearch:
SSH into Instance:

Commands to install Elastic Search
Now that we have installed Elasticsearch we must change some configs
It is a good best practice to bind Elasticsearch to the private IP (like 172.31.something):

Now to start Elasticsearch
Test Elasticsearch
Install Logstash:
Verify the java version with the command below

Now install logstash
Create data pipeline:
Create Logstash Configuration File:

To test config
It can take a minute or so to run - but should get a configuration OK message
Start Logstash
Test if it's working

Install Kibana:
Edit config
Change the lines below
Start Kibana
Test Kibana

Add an Index Pattern to display to Logstash Index
Go to Stack Management → Kibana -> Index Patterns - select “Create Index Pattern”

Use Kibana to query data

Last updated