Skip to content

Latest commit

 

History

History
101 lines (51 loc) · 3.84 KB

elk_in_the_cloud.md

File metadata and controls

101 lines (51 loc) · 3.84 KB

ELK in the Cloud


This is part one of a three-part series. Part Two Part Three


ELK combines three technologies and provides a powerful solution when working with large data sets. In addition, we are able to setup SIEM rules to alert us as defenders to attacks on our organization.

  • E - Elasticsearch
  • L - Logstash
  • K - Kibana

ELK enables defenders to detect attacks and conduct threat hunting.

To learn ELK, we don't need several servers or to spend large sums of money. We can get into the driver's seat and experiment with ELK by using the Elastic Cloud 14-day trial. The trial does not require a credit card to get started. You only need an email and a password.

1. Set up an account.

Start your free Elastic Cloud Trial

This link is for the trial sign up page. Start a trial by signing up.

Signup page for Elastic Cloud


Watch your email for a confirmation. The email will look something similar to this.

Elastic Confirmation Email

Click "Verify and Accept." You should be redirected to the cloud login page. If you're not redirected, you can find it here.

Elastic Cloud Log In


After logging in, the page will look like this.

Fill out the proper filed with the correct information pictured below and select the check boxes with red dots.

Once those fields are filled out click "Next"

Welcome To Elastic


2. Start an ELK instance.

Upon clicking next you will see the following page. For my instance I will be calling it "security-development. Make sure to enter the name of your deployment and click "Create Deployment".

Creating Delployment

Next we will see this page.

Elastic will present the credentials for this ELK stack. There is the option to download a CSV of the credentials. However you decide to hold onto these credentials, don't lose them.

Creating Creds

Then we will need to wait for the continue button to turn blue, once that's done click continue

Waiting For Deploy

We will be greeted with menu of options, we want to skip that menu.

Skip Prompt

Then at the top of the page we want to click search and type "kibana" and hit enter.

Search Kibana

Once the next page load we want to add kibana. Select "Add Kibana"

Add Kibana

We will next be prompted to "Install Elastic Agent" This is what we are going to put on our machine that monitors what's happening. Click "Install Elastic Agent"

Add Elastic Agent

The next page we meet will have a wall of text. Select windows.

We will need to click the "Copy to Clipboard".

Add Elastic Agent

Hold onto this command. It is recommended to paste this command into some file where you won't lose it. In this example, I saved it to a file I called "agent.txt." We will use this command later.

Pasting information into agent_txt

The ELK stack is now configured and we have our connection information saved. Part two will cover how to install and configure an Elastic Agent.

Part Two