Skip to content

marknismo/vagrant-elk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose of Vagrant ELK

By installing a local Kibana dashboard on your own computer, you can now easily analyze Cloudflare ELS logs / logshare and even origin web server logs e.g. Apache web access logs for troubleshooting issues.

Features:

  • import CF ELS logs into Elasticsearch to easily analyze the data
  • import Apache web access logs to examine requests hitting the origin web server

screenshot

Pre-requisite:

Installation of Vagrant ELK:

Open a Terminal and run the following commands as shown below.

git clone https://github.com/marknismo/vagrant-elk.git
cd vagrant-elk
vagrant up

- optional: 
Modify the file Vagrantfile and adjust the memory size to allocate the Virtual machine depending on how much memory your computer has (e.g. half of your computer memory). e.g. "--memory", "4086"

Usage:

Start the Virtual machine

cd vagrant-elk
vagrant up

Place your log files in the vagrant shared folder

screenshot

cd ~/vagrant-elk/elasticshare/els
Place CF ELS logs in vagrant-elk/elasticshare/els
On the web browser > go to http://127.0.0.1:5601

Set up the Kibana dashboard

follow the instructions in the screenshots below.

screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

About

Vagrant ELK Cloudflare ELS logs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages