# File monitoring extension Metric event with failed path in the Property Field

**URL:** <https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682>\
**Category:** Extensions\
**Tags:** dynatrace-managed, extensions, filesystem\
**Created:** [January 18, 2024, 7:31am UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682 "2024-01-18T07:31:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vidhyasagar](https://avatars.discourse-cdn.com/v4/letter/v/a9adbd/32.png) [@Vidhyasagar](https://community.dynatrace.com/u/Vidhyasagar)\
**Post date:** [January 18, 2024, 7:31am UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/1 "2024-01-18T07:31:35Z")

</div>

Community,

I am using filesystem monitoring extension to monitor the mount points availability which works perfectly fine. While generating problems it does not contain the file system path which got failed.

Kindly help on how to add the Property field in the metric events to capture the filesystem path.

I am aware we can create metric event for individual path based on the entity selector but I wanted to create a metric event more generic and applicable for current and future mount points monitored

---

<div class="post-metadata">

**Author:** ![florent\_duchate](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florent_duchate/32/12258_2.png) [@florent\_duchate](https://community.dynatrace.com/u/florent_duchate)\
**Post date:** [January 18, 2024, 10:01am UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/2 "2024-01-18T10:01:17Z")

</div>

The path is stored in a dimension called path so you can add it to your problem description for instance by using&nbsp;{dims:path} in your metric event definition

---

<div class="post-metadata">

**Author:** ![Vidhyasagar](https://avatars.discourse-cdn.com/v4/letter/v/a9adbd/32.png) [@Vidhyasagar](https://community.dynatrace.com/u/Vidhyasagar)\
**Post date:** [January 18, 2024, 11:46am UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/3 "2024-01-18T11:46:23Z")

</div>

Hi Florent,

I tried using (dims:path} in the description and its not working.

 ![Vidhyasagar_0-1705578371769.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/e/9e8328d9b9a55b18c3e9eac329dc2fb66deeb50c.png)

---

<div class="post-metadata">

**Author:** ![florent\_duchate](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florent_duchate/32/12258_2.png) [@florent\_duchate](https://community.dynatrace.com/u/florent_duchate)\
**Post date:** [January 18, 2024, 1:41pm UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/4 "2024-01-18T13:41:59Z")

</div>

Sorry, I gave you the wrong dimension name (path was from the EF1.0 version of this extension not the EF2.0).

Use&nbsp;{dims:dt.entity.filesystem:path} instead.

---

<div class="post-metadata">

**Author:** ![Vidhyasagar](https://avatars.discourse-cdn.com/v4/letter/v/a9adbd/32.png) [@Vidhyasagar](https://community.dynatrace.com/u/Vidhyasagar)\
**Post date:** [January 18, 2024, 3:45pm UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/5 "2024-01-18T15:45:36Z")

</div>

Hi Florent,

Event this parameter is not working

 ![Vidhyasagar_0-1705592726850.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/fce0275e1fcb39852fa95982f66783113055c388.png)

---

<div class="post-metadata">

**Author:** ![florent\_duchate](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florent_duchate/32/12258_2.png) [@florent\_duchate](https://community.dynatrace.com/u/florent_duchate)\
**Post date:** [January 18, 2024, 4:39pm UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/6 "2024-01-18T16:39:30Z")

</div>

I have tested it locally and it works for me. Please raise a support ticket

---

<div class="post-metadata">

**Author:** ![Vidhyasagar](https://avatars.discourse-cdn.com/v4/letter/v/a9adbd/32.png) [@Vidhyasagar](https://community.dynatrace.com/u/Vidhyasagar)\
**Post date:** [January 19, 2024, 6:07am UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/7 "2024-01-19T06:07:21Z")

</div>

Hi Florent,

Thanks i will raise a support case, could you please help to share the screenshot of the metric event config so that I will validate if i have same config

---

<div class="post-metadata">

**Author:** ![Vidhyasagar](https://avatars.discourse-cdn.com/v4/letter/v/a9adbd/32.png) [@Vidhyasagar](https://community.dynatrace.com/u/Vidhyasagar)\
**Post date:** [January 19, 2024, 7:10am UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/8 "2024-01-19T07:10:09Z")

</div>

Hi Florent,

When I use Metric selector as Query definition type, i have very limited options to pull the values of the path. If I use Metric Key it works.

Thanks for your support

---

<div class="post-metadata">

**Author:** ![florent\_duchate](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florent_duchate/32/12258_2.png) [@florent\_duchate](https://community.dynatrace.com/u/florent_duchate)\
**Post date:** [January 19, 2024, 9:30am UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/9 "2024-01-19T09:30:20Z")

</div>

Which version of the extension are you using? I have re-retested and {dims:path} actually work for me:

 ![florent_duchate_1-1705656406970.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/7c62988aab48415ce40df1ffcd6f85690fd1da01.png)

 ![florent_duchate_2-1705656488285.png](https://global.discourse-cdn.com/dynatrace/original/2X/d/d1bcde0db5eebf678346cebbd12e4182989fe8b6.png)

---

<div class="post-metadata">

**Author:** ![Vidhyasagar](https://avatars.discourse-cdn.com/v4/letter/v/a9adbd/32.png) [@Vidhyasagar](https://community.dynatrace.com/u/Vidhyasagar)\
**Post date:** [January 19, 2024, 9:34am UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/10 "2024-01-19T09:34:08Z")

</div>

I am using version&nbsp;0.2.15

In the events query definition if I use “Metric selector” instead of “Metric Key” the dimension are not showing to me in the description

---

<div class="post-metadata">

**Author:** ![florent\_duchate](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florent_duchate/32/12258_2.png) [@florent\_duchate](https://community.dynatrace.com/u/florent_duchate)\
**Post date:** [January 19, 2024, 9:39am UTC](https://community.dynatrace.com/t/file-monitoring-extension-metric-event-with-failed-path-in-the-property-field/43682/11 "2024-01-19T09:39:31Z")

</div>

There is no need for a metric selector and it is probably why the dimension isn’t showing if it isn’t part of your selector. Please try metric key instead which is much easier.
