---
title: "FKM - How to monitor multiple instances of a file with the same extension"
description: "Monitoring multiple instances of files with the same extension can be done using the dynamic files option in the FKM sampler. This allows each file to be displayed uniquely on separate rows, with optional alias configuration."
url: "https://docs.itrsgroup.com/docs/faq/geneos/15034525262749-geneos-fkm-how-to-monitor-multiple-instances-of-a-file-with-the-same-extension/index.html"
---
In a given scenario where you can monitor multiple instances of a file with the same extension you can use the dynamic files option if you wish to display each file uniquely on each row. This can be achieved via the following means.

1. Create the FKM sampler.

    ![FKM Sampler Creation](https://docscdn.itrsgroup.com/faq/images/geneos/Geneos-FKM-How-to-monitor-multiple-instances-of-a-file-with-the-same-extension-1.png)

2. Create sample files to monitor.

    ![Creating Sample files to monitor in FKM Sampler](https://docscdn.itrsgroup.com/faq/images/geneos/Geneos-FKM-How-to-monitor-multiple-instances-of-a-file-with-the-same-extension-2.png)

3. Observe files with *.cnf extension being picked up and defined in each row

    ![Observing files with .cnf extension](https://docscdn.itrsgroup.com/faq/images/geneos/Geneos-FKM-How-to-monitor-multiple-instances-of-a-file-with-the-same-extension-3.png)

4. If you want to add an alias you can configure this accordingly

    ![FKM Sampler adding alias](https://docscdn.itrsgroup.com/faq/images/geneos/Geneos-FKM-How-to-monitor-multiple-instances-of-a-file-with-the-same-extension-4.png)

    ![FKM Sampler adding alias](https://docscdn.itrsgroup.com/faq/images/geneos/Geneos-FKM-How-to-monitor-multiple-instances-of-a-file-with-the-same-extension-5.png)

    ![FKM Sampler adding alias](https://docscdn.itrsgroup.com/faq/images/geneos/Geneos-FKM-How-to-monitor-multiple-instances-of-a-file-with-the-same-extension-6.png)

- [dynamic_files_example.txt](/faq/downloads/geneos/dynamic_files_example.txt "Download")
- [dynamic_files_alias.txt](/faq/downloads/geneos/dynamic_files_alias.txt "Download")


