Exporting Custom log information on on dashboard using Loki and promtail on a Windows Server

I’ve been working on a project where I am to use a log file from a custom built software, to count successful tickets and display them on Grafana.

The problem I have been facing is that although I am getting the complete log file in my “Explore” tab, when I try to open it in a Dashboard, the panels always say “No data”. What might be the issue here?

I figured I might have made a mistake with the configuration of promtail or Loki, but I can see the Log file I wish to access in the Explore tab, so that might not be it. hoping I could get some suggestions here, Thank you!