Link to local document in kibana discover

how can I get a working link for a local file ingested?.
I have file.url and real.path
when I put http://{{rawvalue}} at the link template
I get
http://c/install/Pdfs/file.pdf
or
file//C:/install/Pdfs/file.pdf
both are missing a colon

Sadly this is currently not possible, I've opened an issue for it, but closed it since it's a duplicate of

You could follow this discussion, and what's always helpful, comment there to talk about you use case

Best,
Matthias