1. Managing plugins #
Extending Logstash.
Commands #
bin/logstash-plugin list --verbose # plugins installés et versions
bin/logstash-plugin install logstash-filter-translate
bin/logstash-plugin update logstash-input-kafka
bin/logstash-plugin remove logstash-output-xyz
# Hors ligne : préparer un paquet sur une machine connectée, l'installer ailleurs
bin/logstash-plugin prepare-offline-pack logstash-filter-translate
bin/logstash-plugin install file:///tmp/logstash-offline-plugins-9.1.0.zip| Type | Examples |
|---|---|
| input | beats, kafka, jdbc, s3, http |
| filter | grok, dissect, mutate, translate, geoip |
| output | elasticsearch, s3, kafka, file |
| codec | json, multiline, plain |
Common mistake: Installing plugins by hand on each server: versions drift and a redeployment loses them. Build a Docker image or package bundling the required plugins.
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: filters, grok and dissect
Written version of the video lessons: essential filters (mutate, date, json, kv, drop), the grok ...
Understanding the Elastic Common Schema (ECS)
As always in our consulting engagements, we recommend that companies harmonise and standardise: k...
Logstash: inputs and outputs
Written version of the video lessons: common inputs (beats, file, tcp/udp, http, kafka, jdbc) and...
Logstash: role, pipeline concept and installation
Written version of the video lessons: what Logstash is for, how a pipeline works (inputs, filters...
Logstash in production: persistent queues, DLQ and multiple pipelines
Make Logstash reliable in production: persistent queue, dead letter queue, multiple pipelines and...
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...
Elastic Security: SIEM, detection rules and investigation
Use Elastic Security as a SIEM: ECS data sources, detection rule types (query, EQL, ES|QL, thresh...
Logstash best practices: pipelines, performance, reliability and monitoring
Logstash best practices: multiple pipelines, dissect rather than grok, conditionals, persistent q...