Unable to Upload Data from MongoDB Plugin

I have successfully installed MongoDB plugin in Grafana.
But I am having trouble uploading data from my MongoDB that is locally installed in my setup. The data is in JSON. Can anyone guide how can I do that?