Filebeat modules visualisation in kibana

Hi,
https://www.elastic.co/guide/en/logstash/6.5/logstash-config-for-filebeat-modules.html#logstash-config-for-filebeat-modules

What I wish to do is seperate index for PREPROD and for PROD and then visualise those two seperate in filebeat visualise in kibana.
Can anyone tell me how I can do this?
If I tell in logstash to go to another index for example:
%{[@metadata][beat]}-%{[@metadata][version]}-preprod-%{+YYYY.MM.dd}
how will visualise in kibana know from which index it should get the data and how to change it from default filebeat index?

I mean how to change default dashboards of filebeat to point to their indexes for example apache2 dashboards point to apache index and system logs points to system log index.