Connect to MongoDB datasource via SSH tunnel

I am trying to connect to a MongoDB data source that is on a server that I can connect to via an SSH tunnel.

I normally connect by mongodb://USER:PWD@localhost:27017, then enter the SSH tunnel details in a seperate pane. There is no option to do this in grafana. I am guessing I need to include the details about the SSH tunnel in the URI string, but cannot find any docs relating to this.

1 Like

Same situation here, anyone have a solution?