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 Beats 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 VirtualBox installation following the procedure for 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 Vagrant installation following the procedure for your system:
https://developer.hashicorp.com/vagrant/installFrom Concept to Expertise #
We have pre-configured 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 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/REPCreating the Environment
Once in the folder corresponding 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
Lightweight Agent
A data collection program installed on a host system, designed to consume minimal resources (CPU, RAM). Example: Filebeat, Promtail.
Heavyweight Agent
A collection program equipped with extensive local features (processing, filtering, buffering) that consumes more system resources. Example: Logstash.
Beats
Lightweight data shippers (like Filebeat, Metricbeat, etc.) installed on servers to collect and send various types of operational data (logs, metrics)...
Recommended Articles
Beats: Filebeat, Metricbeat, Winlogbeat and their configuration
Written version of the video lessons: role of each Beat, configuration structure, inputs, modules...
Elastic Agent: architecture, Fleet and integrations
Understand Elastic Agent: single collection agent, Fleet and Fleet Server, agent policies, integr...
OpenTelemetry and Elasticsearch: compatibility and architecture
Send OpenTelemetry to Elasticsearch: Collector and elasticsearch exporter, managed OTLP endpoint,...
Other log sources and queues: syslog, Fluent Bit, Kafka, Redis
Written version of the video lessons: collect syslog, Fluent Bit and other sources, then insert a...
Beats: going further (security, performance, Elastic Agent and migrating to Alloy)
Industrialize Filebeat, Metricbeat and the other Beats: secure outputs, processors, modules, tuni...
Beats best practices: Filebeat, Metricbeat and reliable collection
Beats best practices: filestream, modules, processors, disk queues, secure outputs, ILM and templ...
Transforming with VRL and testing Vector pipelines
The VRL language (Vector Remap Language): parsing logs (JSON, regex, syslog), error handling, enr...
Kibana: role, installation and first steps
What Kibana is in the Elastic suite, how to install it with Elasticsearch (start-local, Docker), ...
Elastic Agent on Kubernetes
Deploy Elastic Agent on Kubernetes: Fleet-managed DaemonSet, Kubernetes integration, kube-state-m...