# Downtime visualization in Kibana from logs

**URL:** <https://discuss.elastic.co/t/downtime-visualization-in-kibana-from-logs/256804>\
**Category:** Kibana\
**Created:** [November 26, 2020, 5:31pm UTC](https://discuss.elastic.co/t/downtime-visualization-in-kibana-from-logs/256804 "2020-11-26T17:31:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thirty2](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@thirty2](https://discuss.elastic.co/u/thirty2)\
**Post date:** [November 26, 2020, 5:31pm UTC](https://discuss.elastic.co/t/downtime-visualization-in-kibana-from-logs/256804/1 "2020-11-26T17:31:55Z")

</div>

Hi,

is it possible to create visualizatoin in Kibana from log messages for downtime?  
Example:  
at 18:01 i recieve syslog that server is down  
at 18:05 i recieve syslog that server is up.

Would it be possible in Visualization create graph which will show the downtime?

Thanks

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [November 30, 2020, 9:18am UTC](https://discuss.elastic.co/t/downtime-visualization-in-kibana-from-logs/256804/2 "2020-11-30T09:18:13Z")

</div>

You can assign a value to each log message using something like a scripted field if they follow some kind of pattern and then do a histogram to chart the values of those fields per the interval you receive the log messages(if you receive messages consistently that say the status of the server).  
if not, then I just recommend setting up Heartbeat and then you have a specific app in Kibana (Uptime) that will do everything for you and where you can easily setup alerts.

---

<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:** [December 28, 2020, 9:18am UTC](https://discuss.elastic.co/t/downtime-visualization-in-kibana-from-logs/256804/3 "2020-12-28T09:18:18Z")

</div>

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