Challenge - 5 Problems
Beats Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ Predict Output
intermediate2:00remaining
What is the output of this Filebeat configuration snippet?
Given this Filebeat input configuration, what will Filebeat do when started?
Elasticsearch
filebeat.inputs: - type: log enabled: true paths: - /var/log/syslog multiline.pattern: '^\[' multiline.negate: true multiline.match: after
Attempts:
2 left
💡 Hint
Look at multiline.negate and multiline.match values carefully.
✗ Incorrect
The multiline.pattern '^\[' matches lines starting with '['. With multiline.negate: true and multiline.match: after, lines NOT starting with '[' are appended to the previous line, combining multiline messages correctly.
❓ Predict Output
intermediate2:00remaining
What metric does Metricbeat collect with this module config?
Given this Metricbeat module configuration, what metric will be collected?
Elasticsearch
metricbeat.modules:
- module: system
metricsets:
- cpu
- memory
period: 10s
enabled: trueAttempts:
2 left
💡 Hint
Check the metricsets list carefully.
✗ Incorrect
The configuration enables the system module with cpu and memory metricsets, so both CPU and memory metrics are collected every 10 seconds.
🔧 Debug
advanced2:00remaining
Why does Filebeat fail to start with this config?
This Filebeat config snippet causes Filebeat to fail on startup. What is the cause?
Elasticsearch
filebeat.inputs: - type: log enabled: true paths: /var/log/*.log output.elasticsearch: hosts: ["localhost:9200"]
Attempts:
2 left
💡 Hint
Check the YAML syntax for paths.
✗ Incorrect
The paths field expects a list of strings, but here it is given as a single string, causing a config error.
❓ Predict Output
advanced2:00remaining
What is the output of this Metricbeat processor configuration?
Given this Metricbeat config snippet, what will be the value of the 'host.name' field in the event?
Elasticsearch
processors:
- add_host_metadata:
netinfo.enabled: false
- add_cloud_metadata:
- add_fields:
target: host
fields:
name: custom-hostnameAttempts:
2 left
💡 Hint
Look at the add_fields processor target and fields.
✗ Incorrect
The add_fields processor adds a 'name' field under 'host' with value 'custom-hostname', overriding default host.name.
🧠 Conceptual
expert2:00remaining
Which option best describes the role of Filebeat and Metricbeat in the Elastic Stack?
Choose the most accurate description of Filebeat and Metricbeat roles.
Attempts:
2 left
💡 Hint
Think about what logs and metrics mean.
✗ Incorrect
Filebeat is designed to collect and ship log files, while Metricbeat collects system and service metrics. They do not store data themselves; Elasticsearch stores data.