Elasticsearch, Logstash, and Kibana – The ELK stack
Conclusion
The ELK stack is not just useful for web or mail servers, where you can expect high hit counts, but also for large server clusters with distributed logs. Elasticsearch, Logstash, and Kibana are team players that collaborate excellently, and they are capable of integrating more components (e.g., services like Filebeat) into the team. The current program versions impress across the board and certainly give administrators a powerful toolbox.
Although the installation was a painless affair, the ELK stack does lack state-of-the-art systemd units in part, and even an init script in the case of Kibana. We also missed meaningful Logstash default configurations for the services on a typical Linux server. Although the documentation is very exhaustive, with many examples by other users on the web, it is a pity that system administrators first need to compile the information they need painstakingly. The commented examples on the FTP site [6] should be of help here.
The ELK stack is unbelievably flexible, but you can expect a lengthy learning curve. Many paths lead to a process chain. If the developers were to provide a basic set of configuration examples, they would help many admins and could help achieve initial results quickly, provide better orientation, and even allow admins to develop their own style.
Infos
- Elasticsearch: https://www.elastic.co/products/elasticsearch
- Logstash: https://www.elastic.co/products/logstash
- Kibana: https://www.elastic.co/products/kibana
- Filebeat: https://www.elastic.co/products/beats/filebeat
- Elastic subscriptions: https://www.elastic.co/subscriptions
- Listings in this article: ftp://ftp.linux-magazine.com/pub/listings/magazine/185
- Shield: https://www.elastic.co/products/shield
- Logstash reference: https://www.elastic.co/guide/en/logstash/current/index.html
- Logstash forwarder and Lumberjack protocol: https://github.com/elastic/logstash-forwarder
- Beats: https://www.elastic.co/products/beats
- Working with Logstash plugins: https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html
- Postfix patterns: https://github.com/whyscream/postfix-grok-patterns
- Dovecot patterns: https://github.com/augieschwer/grok-patterns
- Nginx patterns: https://www.ulyaoth.net/threads/logstash-forwarder-and-grok-examples.32413
- GitHub repository with Logstash patterns: https://github.com/logstash-plugins/logstash-patterns-core/tree/master/patterns
- Grok debugger: http://grokdebug.herokuapp.com
- GrokConstructor: http://grokconstructor.appspot.com
- Curator: https://www.elastic.co/guide/en/elasticsearch/client/curator
« Previous 1 2 3 4
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.
-
DebConf24 to be Held in South Korea
Busan will be the location of the latest DebConf running July 28 through August 4