# Pie result is based on number of monitors down and up . What i want is to show on basis of monitors downtime and uptime duration not howm many were down and up monitorss . any idea

**URL:** <https://discuss.elastic.co/t/pie-result-is-based-on-number-of-monitors-down-and-up-what-i-want-is-to-show-on-basis-of-monitors-downtime-and-uptime-duration-not-howm-many-were-down-and-up-monitorss-any-idea/293500>\
**Category:** Synthetics\
**Created:** [January 5, 2022, 6:18am UTC](https://discuss.elastic.co/t/pie-result-is-based-on-number-of-monitors-down-and-up-what-i-want-is-to-show-on-basis-of-monitors-downtime-and-uptime-duration-not-howm-many-were-down-and-up-monitorss-any-idea/293500 "2022-01-05T06:18:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajesh\_Rai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajesh_rai/32/99406_2.png) [@Rajesh\_Rai](https://discuss.elastic.co/u/Rajesh_Rai)\
**Post date:** [January 5, 2022, 6:18am UTC](https://discuss.elastic.co/t/pie-result-is-based-on-number-of-monitors-down-and-up-what-i-want-is-to-show-on-basis-of-monitors-downtime-and-uptime-duration-not-howm-many-were-down-and-up-monitorss-any-idea/293500/1 "2022-01-05T06:18:09Z")

</div>

![Screenshot from 2022-01-05 11-59-01](https://us1.discourse-cdn.com/elastic/original/3X/7/2/72e4a533fe096a557304861f8bb4af02c39eb198.png)

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [January 6, 2022, 3:30am UTC](https://discuss.elastic.co/t/pie-result-is-based-on-number-of-monitors-down-and-up-what-i-want-is-to-show-on-basis-of-monitors-downtime-and-uptime-duration-not-howm-many-were-down-and-up-monitorss-any-idea/293500/2 "2022-01-06T03:30:11Z")

</div>

I think what you'd want is to sum the `monitor.duration` fields. Note that this may be inaccurate if you have multiple monitors in multiple locations since those get counted twice. Also, if you're using `mode: all` a similar problem may occur because each IP will be counted twice.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 30, 2022, 3:31am UTC](https://discuss.elastic.co/t/pie-result-is-based-on-number-of-monitors-down-and-up-what-i-want-is-to-show-on-basis-of-monitors-downtime-and-uptime-duration-not-howm-many-were-down-and-up-monitorss-any-idea/293500/3 "2022-01-30T03:31:05Z")

</div>

This topic was automatically closed 24 days after the last reply. New replies are no longer allowed.
