Have Loki as log DB and promtail pushing content (What an marvelous piece of software ). Prometheus as a datasource, to my understanding via LOKI datasource you cannot get list of jobs and files to dashboard variables?
Almost there but not quite.
I can get jobs listed with this query
How to list all File(s) from Loki? and filtered by chosen Job.