What you will learn in this TP
- Install VirtualBox and Vagrant
- Clone the course repository
- Create and start a test environment
- Connect to the virtual machines
All steps and instructions are shown. Recommended for this lab: guided
Oracle VM VirtualBox #
Context. The whole Logstash course relies on identical test machines for every learner. You prepare, once and for all, this reproducible environment described in the course Git repository.
Prerequisites: VirtualBox and Vagrant installed, Git, 8 GB of free memory · Estimated time: 20 min
We will use VirtualBox to deploy our test VMs. Some labs will be done on Docker so if you already have a Docker engine you can use it instead of deploying a new VM.
You must proceed with the installation of VirtualBox by following the procedure corresponding to your system:
https://www.virtualbox.org/wiki/DownloadsHashicorp Vagrant #
We will use Vagrant to automatically deploy test environments. To learn more about Vagrant, you can follow our dedicated training.
You must proceed with the installation of Vagrant by following the procedure corresponding to your system:
https://developer.hashicorp.com/vagrant/installFrom concept to expertise #
We have preconfigured a repo for the training.
Git repo
You can use the command below to clone the repo:
git clone https://github.com/RousselTM/logstash-formationEnvironment choice
The test environment configurations are located in the tp folder. In this folder there are several subfolders, each corresponding to a test environment: simple VM, VM with Docker, VM with application... Depending on the lab, we will specify which one to use:
cd logstash-formation/tp/REPCreation of the environment
Once in the folder that corresponds to the desired environment, you can launch the creation of the environment on VirtualBox with the following Vagrant command
vagrant up
Validate your work
Check that each goal above is reached and that you get the result described in the introduction.
Difficulty level : ●○○○○ (1/5)
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Course Glossary
Logstash
An open-source, server-side data processing pipeline that ingests data from a multitude of sources simultaneously, transforms it, and then sends it to...
Recommended Articles
Logstash: managing plugins and adopting Elastic Common Schema (ECS)
Written version of the video lessons: list, install, update and bundle Logstash plugins offline; ...
Logstash best practices: pipelines, performance, reliability and monitoring
Logstash best practices: multiple pipelines, dissect rather than grok, conditionals, persistent q...
Logstash: enrich, test, monitor and deploy on Kubernetes
Enrich with translate, geoip and elasticsearch, consume Kafka, test pipelines, monitor Logstash a...
Beats: going further (security, performance, Elastic Agent and migrating to Alloy)
Industrialize Filebeat, Metricbeat and the other Beats: secure outputs, processors, modules, tuni...
Sharing a Vagrant environment: ngrok and the vagrant-share plugin
Make an application running in a Vagrant machine accessible to a colleague or a client: port forw...
Logstash: role, pipeline concept and installation
Written version of the video lessons: what Logstash is for, how a pipeline works (inputs, filters...
Logstash: inputs and outputs
Written version of the video lessons: common inputs (beats, file, tcp/udp, http, kafka, jdbc) and...
Logstash: filters, grok and dissect
Written version of the video lessons: essential filters (mutate, date, json, kv, drop), the grok ...
Logstash in production: persistent queues, DLQ and multiple pipelines
Make Logstash reliable in production: persistent queue, dead letter queue, multiple pipelines and...