How does Metricbeat get the diskio data of NAS?

I have a NAS mounted on my Linux machine. I want to know how to use metricbeat to monitor the disk of nas?

System module | Metricbeat Reference [8.8] | Elastic should cover that for you.