Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.52 KB

tomcat-all-logs.md

File metadata and controls

43 lines (30 loc) · 1.52 KB

{{home}}

Load Multiple Tomcat log files

Purpose

Use logstash to parse multiple types of logfiles generated withing Tomcat.

Run the scenario

{{start}}

docker-compose -f docker-compose.yml -f tomcat.yml -f tomcat-all-logs.yml up -d --build
echo "Open http://${MYHOSTNAME}:8086/docs/tomcat-all-logs.md in your browser to view these instructions."

Configuration

Explore the Dashboard

  • Navigate to the OpenSearch Dashboard Discover Page
    • Credentials: admin:admin
    • If prompted, choose the "Global" tenant
    • Note that several fields have been configured to display by default
    • Note that the type fields indicates the source of each log message
    • Note that "Log Level" has not been consistently mapped across log file sources
  • Navigate to the Tomcat Server

Cleanup the Stack

{{stop}}

docker-compose -f docker-compose.yml -f tomcat.yml -f tomcat-all-logs.yml down --volume

Back | Next