# Labeling certain time periods (e.g. with color)

**URL:** https://discuss.elastic.co/t/labeling-certain-time-periods-e-g-with-color/59410
**Category:** Kibana
**Created:** [August 31, 2016, 10:15am UTC](https://discuss.elastic.co/t/labeling-certain-time-periods-e-g-with-color/59410 "2016-08-31T10:15:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![beowulfenator](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/beowulfenator/32/4905_2.png) [@beowulfenator](https://discuss.elastic.co/u/beowulfenator)
#### Post date: [August 31, 2016, 10:16am UTC](https://discuss.elastic.co/t/labeling-certain-time-periods-e-g-with-color/59410/1 "2016-08-31T10:16:00Z")

</div>

Hi!

I am using Kibana to analyze nginx log. Specifically, I am using a percentile graph of request time. I know that my database server is periodically creating backups, let's say from 00:00 to 01:00.

Is it possible to somehow highlight a certain time period on the graph? That would allow me to see whether my increase of average request time increase is coincidental with the DB maintenance procedure. What would be even better is to somehow use a different data source to highlight these periods: I know when DB backup procedure started and finished each day.

Any ideas?

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [August 31, 2016, 7:08pm UTC](https://discuss.elastic.co/t/labeling-certain-time-periods-e-g-with-color/59410/2 "2016-08-31T19:08:57Z")

</div>

It's possible to change bucket colors in advanced settings by setting a hex value a label in the legend:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/e/e5f7fbc115229a74243f5f2242035b299086164c.jpg)  
or by clicking on a legend label and choosing from the color picker.

It's possible to get different chart colors by time range but it's a bit of a hack and requires some extra work:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/8e3fc9b1c7e0a2b09adcd7bc357fab57335007cf.jpg)

Related: [https://github.com/elastic/kibana/issues/4482](https://github.com/elastic/kibana/issues/4482).

---

<div class="post-metadata">

### Author: ![beowulfenator](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/beowulfenator/32/4905_2.png) [@beowulfenator](https://discuss.elastic.co/u/beowulfenator)
#### Post date: [September 1, 2016, 6:47am UTC](https://discuss.elastic.co/t/labeling-certain-time-periods-e-g-with-color/59410/3 "2016-09-01T06:47:07Z")

</div>

A picture is worth a thousand words

 ![](https://us1.discourse-cdn.com/elastic/original/2X/a/a0393ebbb4d28ec08b4bd57566a067bad1805817.png)

I would like to somehow highlight a certain time period. For example, in this image the period from 08:00 to 09:00 is highlighted. Of course, I did this in an image editor manually. Can Kibana do something like that automatically?

---

<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: [July 6, 2017, 1:39pm UTC](https://discuss.elastic.co/t/labeling-certain-time-periods-e-g-with-color/59410/4 "2017-07-06T13:39:44Z")

</div>


