Skip to content

Vagrant deployed ELK (elasticsearch, logstash and kibana) demonstrator.

Notifications You must be signed in to change notification settings

SkeltonThatcher/velk-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

velk-demo

Vagrant deployed ELK (elasticsearch, logstash and kibana) demonstrator.

Guidance

Install the latest VirtualBox, and Vagrant, this should be easy, ymmv.

  1. Ensure your VirtualBox setup has a 172.28.128.0 /24 host only network which we will use to present the ELK interface.

  2. Create a directory under which to keep vagrant configs.

  3. Clone the repo to the previously created directory using "git clone https://github.com/SkeltonThatcher/velk-demo.git"

(There may be also an in-dev version of the repo at "https://github.com/robthatcher/velk-demo")

  1. The bootstrap.sh script will default to caching required binary packages locally on first run inside the 'packages' directory, allowing you to subsequently run the demostrator offline, i.e. without network access. If you want to repeat the demo, as long as the 'packages' directory is in place no additional downloads will be required.

  2. If you want to install directly from the the internnet, manually remove the 'packages' directory, all required packages will be pulled in live via your internet connection.

  3. If you didn't already, start the machine by using, 'vagrant up' in the directory.

  4. Sit back for a few minutes depending on your net connection speed (fingers crossed), or machine speed if using offline mode.

Notes

A successful build (i.e. deployment and provision) resutlts in being able browse kibana and elasticsearch web interfaces.

The setup captures local syslog, messages from the logmessagegenerator.sh script and nginx logs (from the vm), meaning using the webui creates new log entries which then show up in the ELK interface.

If you need the 'packages' repo, it can cloned from github, see - http://github.com/robthatcher/velk-demo-packages.git

Logging into the VM

1. Credentials to login the box - login : vagrant , password : vagrant
2. Login method 1 : vagrant ssh
3. Login method 2 : ssh -p 2222 vagrant@localhost

Access the platform using the following URLs

    	Elasticsearch GUI : http://localhost:9200/_plugin/kopf/
    	ELK GUI : http://172.28.128.3/

N.B. You may have to login to the box to check the IP address of the interface which is serving ELK.

Credits

Numerous internet resources were used in creating this demonstrator...

About

Vagrant deployed ELK (elasticsearch, logstash and kibana) demonstrator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages