Filebeat module dashboard

I have created a dashboard for filebeat nginx module. I'm not able to change the index pattern for the dahboard. It defaults to filebeat-*. As i'm shipping the logs for other application in the same server i have already an index template created. When i remove the index template from the filebeat.yml the dashboard loads data correctly.