# Visualize uptime/downtime based on access\_log data

**URL:** <https://discuss.elastic.co/t/visualize-uptime-downtime-based-on-access-log-data/133313>\
**Category:** Kibana\
**Created:** [May 25, 2018, 11:57am UTC](https://discuss.elastic.co/t/visualize-uptime-downtime-based-on-access-log-data/133313 "2018-05-25T11:57:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roy\_Olsen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roy_olsen/32/1200_2.png) [@Roy\_Olsen](https://discuss.elastic.co/u/Roy_Olsen)\
**Post date:** [May 25, 2018, 11:57am UTC](https://discuss.elastic.co/t/visualize-uptime-downtime-based-on-access-log-data/133313/1 "2018-05-25T11:57:45Z")

</div>

I'm trying to figure out if I can report on lack of log entries in a time series, eg:

count number of minutes/buckets with 0 documents/entries in a specified time frame

and then

combine with total number of minutes/buckets in the set to get an approximated average service availability or downtime percentage.

I don't even know where to start on this one. Any thoughts?

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [May 25, 2018, 4:11pm UTC](https://discuss.elastic.co/t/visualize-uptime-downtime-based-on-access-log-data/133313/2 "2018-05-25T16:11:15Z")

</div>

You can use [alerting](https://www.elastic.co/products/x-pack/alerting) to get notifications about log count going to zero.

---

<div class="post-metadata">

**Author:** ![Roy\_Olsen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roy_olsen/32/1200_2.png) [@Roy\_Olsen](https://discuss.elastic.co/u/Roy_Olsen)\
**Post date:** [May 25, 2018, 5:43pm UTC](https://discuss.elastic.co/t/visualize-uptime-downtime-based-on-access-log-data/133313/3 "2018-05-25T17:43:41Z")

</div>

Thanks, realtime notifications are often useful.

However, what I need is to generate a graph or even just a percentage for a given time frame, usually 1 month.

So, specifically, the percentage of minutes with non-zero (or more than some given number) log entries out of all the minutes in the month.

---

<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:** [June 22, 2018, 5:43pm UTC](https://discuss.elastic.co/t/visualize-uptime-downtime-based-on-access-log-data/133313/4 "2018-06-22T17:43:42Z")

</div>

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