Log visualization error

  • What is your Grafana version?
    v8.3.4
  • Are you using Grafana Cloud or self-hosted Grafana?
    Self Hosted

I am having trouble to build a panel using ‘logs’ visualization.
My input data is this API- https://my-json-server.typicode.com/avikkumar1983/fakeapi/db

My plugin for datasource is - JSON API https://grafana.com/grafana/plugins/marcusolsson-json-datasource/

I am able to plot the data using ‘table’ visualization as below.
image

But whenever I am trying ‘logs visualization its’ going blank.
image

I am able to build log visualization from ‘cloudwatch logs’, which is also a JSON format data. So is there any specific format to build log visualization from API or it’s not possible currently.

I would look at this example and inspect the data model closely?

https://play.grafana.org/d/6NmftOxZz/logs-panel?orgId=1

I was able to mock up a response that works with the logs panel:

https://play.grafana.org/d/MoBPjQu7z/logs-panel-data-model?editPanel=2