Use Elastic Stack
Elastic Stack (ELK) is an open-source log management platform that is available when using the Developer Quickstart.
The Filebeat configuration ingests logs and the Metricbeat configuration collects metrics from the nodes at regular defined intervals and outputs them to Redis for storage. Redis provides a highly available mechanism enabling storage by any of the Elastic Beats and pulled by Logstash as required.
The pipeline configuration defines the JSON format used for Besu logs and automatically picks up any new log fields.
The pipeline configuration must match the your log format. If using the default log format, you can use the grok plugin to extract the log fields.
To see the Besu Quickstart network logs in Kibana:
-
Start the Developer Quickstart with Besu, selecting ELK monitoring.
-
Open the
Kibana logs address
listed by the sample networkslist.sh
script. The logs display in Kibana.