0

Right now I use Grafana and Chronograf with InfluxDB. But I also want to show the logs of my application.

I tried using Loki, but it only works on explore and can't be used on a dashboard. Do you know if this is possible currently?

kahveci
  • 1,429
  • 9
  • 23
madmax
  • 1,803
  • 3
  • 25
  • 50

2 Answers2

1

This is an example of one of the built-in dashboards for Apache HTTP: In the top half you have metrics (like which URLs where most often accessed) and at the bottom you can see the raw log event(s).

enter image description here

xeraa
  • 10,456
  • 3
  • 33
  • 66
  • So you have Elasticsearch, Kibana, and filebeat working? – madmax Jun 10 '19 at 13:25
  • Yes. But thanks to [ECS](https://github.com/elastic/ecs) the fields are unified across the stack, so as long as the timestamps match up you could add Metricbeat,... visualizations and filter everything on the same field (eg a specific Docker image,...) – xeraa Jun 11 '19 at 21:20
0

Current version of Loki allows viewing both Metrics and Logs in the single dashboard. Please refer the screenshot. Left side is "Metrics" and right side is "Logs" (underlined in blue). You can click on "Split" button and get the Split view. enter image description here

H S Raju
  • 380
  • 3
  • 12