adding loki to the quickstart (#1152)
* adding loki to the quickstart Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * pr fixes Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * Update docs/private-networks/tutorials/quickstart.md Co-authored-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * Update docs/private-networks/how-to/monitor/loki.md Co-authored-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * Update docs/private-networks/tutorials/quickstart.md Co-authored-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * Update docs/private-networks/how-to/monitor/loki.md Co-authored-by: rolandtyler <88206508+rolandtyler@users.noreply.github.com> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * Update docs/private-networks/tutorials/quickstart.md Co-authored-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * Update Merge testnet example to longterm networks (#1108) * Update Merge testnet example to Sepolia Signed-off-by: Roland Tyler <roland.tyler@consensys.net> * Change from Sepolia to Goerli Signed-off-by: Roland Tyler <roland.tyler@consensys.net> * Markdown fix Signed-off-by: Roland Tyler <roland.tyler@consensys.net> * Include both testnets Signed-off-by: Roland Tyler <roland.tyler@consensys.net> * update launchpad Signed-off-by: Roland Tyler <roland.tyler@consensys.net> * Fix links Signed-off-by: Roland Tyler <roland.tyler@consensys.net> Signed-off-by: Roland Tyler <roland.tyler@consensys.net> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * Add a new page on understanding some Besu performance metrics. (#1151) Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net> Signed-off-by: Nicolas MASSART <nicolas.massart@consensys.net> Signed-off-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com> Co-authored-by: Nicolas MASSART <nicolas.massart@consensys.net> Co-authored-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * Correct syntax in config file examples (#1156) Signed-off-by: Roland Tyler <roland.tyler@consensys.net> Signed-off-by: Roland Tyler <roland.tyler@consensys.net> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * Update architecture diagrams (#1158) Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net> Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> * Typo dash (#1159) * removed extra dash Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> Co-authored-by: Alexandra Tran <12214231+alexandratran@users.noreply.github.com> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net> Signed-off-by: Roland Tyler <roland.tyler@consensys.net> Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net> Signed-off-by: Nicolas MASSART <nicolas.massart@consensys.net> Signed-off-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com> Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net> Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> Co-authored-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com> Co-authored-by: rolandtyler <88206508+rolandtyler@users.noreply.github.com> Co-authored-by: ahamlat <ameziane.hamlat@consensys.net> Co-authored-by: Nicolas MASSART <nicolas.massart@consensys.net> Co-authored-by: Alexandra Tran <12214231+alexandratran@users.noreply.github.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>pull/1164/head
parent
3401687746
commit
606cdf3fef
After Width: | Height: | Size: 536 KiB |
@ -0,0 +1,32 @@ |
||||
--- |
||||
description: Using Grafana Loki log management platform with Hyperledger Besu |
||||
--- |
||||
|
||||
# Grafana Loki |
||||
|
||||
[Grafana Loki] is an open-source log management platform that is available when using the |
||||
[Developer Quickstart](../../tutorials/quickstart.md). |
||||
|
||||
The [Promtail configuration] ingests logs at regular defined intervals and outputs them to [Loki] for storage. |
||||
|
||||
The `pipeline configuration` in Promtail defines pipeline stages that can collate logs natively or using the JSON format. |
||||
|
||||
!!! note |
||||
|
||||
If using the pipeline regex stage in `Promtail`, configuration must match your log format. |
||||
|
||||
To view the GoQuorum Quickstart network logs in Loki: |
||||
|
||||
1. [Start the Developer Quickstart with Besu](../../tutorials/quickstart.md), selecting Loki monitoring. |
||||
1. Open the [`Grafana Loki address`](http://localhost:3000/d/Ak6eXLsPxFemKYKEXfcH/quorum-logs-loki?orgId=1&var-app=besu&var-search=&from=now-15m&to=now) listed |
||||
by the sample networks `list.sh` script. |
||||
|
||||
The logs display in Loki. |
||||
|
||||
![Loki logs](../../../images/grafana_loki.png) |
||||
|
||||
<!-- Links --> |
||||
[Promtail configuration]: https://github.com/ConsenSys/quorum-dev-quickstart/blob/master/files/common/promtail/promtail.yml |
||||
[pipeline configuration]: https://github.com/ConsenSys/quorum-dev-quickstart/blob/master/files/common/promtail/promtail.yml |
||||
[Loki]: https://github.com/ConsenSys/quorum-dev-quickstart/blob/master/files/common/loki/loki.yml |
||||
[Grafana Loki]: https://grafana.com/oss/loki/ |
Loading…
Reference in new issue