Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to use this feature , please use OneDevOps Insights v7.8 and above 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 Loki/Prometheus datasources are configured, Enable logging in Neo4j DB datasource.

    • This should be enabled/disabled for Neo4j datasources created for all organizations. Also provide the service URL (<protocol>://DOMAIN_NAME/PlatformService/externalApi/Neo4jPluginLog/logDashboardInfo) to collect the necessary information.

...

Usage:

  • PlatformService logs all dashboard information including user details in PlaformGrafanaSerice.log

  • Promtail reads PlaformGrafanaSerice.log and pushes the logs to Loki.

  • Use LogQL and PromQL as datasource to create Grafana usage statistic dashboards.

  • Use below attached sample dashboard template for basic Usage statistics

...