In order to use this feature , we need to use v7.8 artifacts.
...
Prerequisites:
Download Loki and Promtail .
Install Loki and Promtail as per OS or configure it as service.
Use Latest Neo4j Plugin for this feature.
Use the below sample config files to start with initial setup.
...
Start the Loki and Promtail and configure the datasources in Grafana as below.
Once Datasources are configured Enable logging in Neo4j Plugin.
This can be enabled/disabled for different datasources as below and configure the service URL to collect the necessary information.
...
Usage:
Promtail pushes the logs to Loki from PlaformGrafanaSerice.log as configured.
Once Logs are received we can use Logql and promql as shown in below sample dashboard to see statistics.
Upload the below Dashboard Json to get a sample template of Usage statistics:
Dashboard Json
...