Book Image

Mastering JBoss Enterprise Application Platform 7

By : Francesco Marchioni, Luigi Fugaro
Book Image

Mastering JBoss Enterprise Application Platform 7

By: Francesco Marchioni, Luigi Fugaro

Overview of this book

The JBoss Enterprise Application Platform (EAP) has been one of the most popular tools for Java developers to create modular, cloud-ready, and modern applications. It has achieved a reputation for architectural excellence and technical savvy, making it a solid and efficient environment for delivering your applications. The book will first introduce application server configuration and the management instruments that can be used to control the application server. Next, the focus will shift to enterprise solutions such as clustering, load balancing, and data caching; this will be the core of the book. We will also discuss services provided by the application server, such as database connectivity and logging. We focus on real-world example configurations and how to avoid common mistakes. Finally, we will implement the knowledge gained so far in terms of Docker containers and cloud availability using RedHat's OpenShift.
Table of Contents (20 chapters)
Mastering JBoss Enterprise Application Platform 7
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

Building a centralized logging system


In the enterprise, managing log files from a large set of domains can soon become a complex task. For this reason, many enterprises turn to centralized logging. As a matter of fact, centralized logging proves to be quite useful when attempting to identify problems, as it allows you to search through all of your logs in a single place. It is also useful because it allows you to spot issues that span multiple application server nodes by correlating their logs during a specific time frame.

In this chapter we have gone through the SocketHandler, which is a generic approach that lends itself to multiple options, such as collecting logs from a central TCP server. If you need to rely on a more robust solution, then you can consider using the Elasticsearch Logstash Kibana (ELK) Stack, which is an environment that lets you collect and visualize your logs with the following:

  • Logstash for centralized logging, log enrichment and parsing

  • Elasticsearch for searching...