# Human Readable Duration - Remove Day Format

**URL:** https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108
**Category:** Kibana
**Created:** [November 24, 2021, 9:40pm UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108 "2021-11-24T21:40:51Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Matt.Wash](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@Matt.Wash](https://discuss.elastic.co/u/Matt.Wash)
#### Post date: [November 24, 2021, 9:40pm UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/1 "2021-11-24T21:40:51Z")

</div>

Hi,  
I would like to use the human-readable duration but report seconds, minutes and hours only. For example, I want to see 24 hours instead of 1 day.

Is this possible?

Thanks in advance,  
Matt

---

<div class="post-metadata">

### Author: ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)
#### Post date: [November 26, 2021, 10:41am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/2 "2021-11-26T10:41:24Z")

</div>

Hi there, choose Stack Management -\> Index patterns -\> choose you index pattern -\> choose and edit your date field -\> Set format

 ![Screenshot 2021-11-26 at 11.39.43](https://us1.discourse-cdn.com/elastic/original/3X/9/8/985d8170b549d159207381b1c5e750c8535a2e51.png)

Let me know if it helps!

---

<div class="post-metadata">

### Author: ![Matt.Wash](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@Matt.Wash](https://discuss.elastic.co/u/Matt.Wash)
#### Post date: [November 29, 2021, 12:17am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/3 "2021-11-29T00:17:11Z")

</div>

this is great when my field is a date format. I am using Duration. Is it possible to not include days?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/c/dc3d114a59932e2fc5de0d7c9f7445681c2dd936.png)

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [November 29, 2021, 1:11am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/4 "2021-11-29T01:11:59Z")

</div>

You should able do this? That would only be in Hours and Decimals...  
Not sure if that is what you want

 ![Screen Shot 2021-11-28 at 5.11.37 PM](https://us1.discourse-cdn.com/elastic/original/3X/2/c/2c5258d9d8c59c007b3252379bff93828eace2c4.png)

---

<div class="post-metadata">

### Author: ![Matt.Wash](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@Matt.Wash](https://discuss.elastic.co/u/Matt.Wash)
#### Post date: [November 29, 2021, 1:24am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/5 "2021-11-29T01:24:50Z")

</div>

Hi Stephen, thanks for your reply. I would like secs, minutes and hours, but not days.

I would like to not be restricted by either, secs, mins or hours.

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [November 29, 2021, 1:34am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/6 "2021-11-29T01:34:20Z")

</div>

I do not think what you are requesting is an option at this time.

What Visualization will you be using?

You can open a feature request against the Kibana repo in github

---

<div class="post-metadata">

### Author: ![Matt.Wash](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@Matt.Wash](https://discuss.elastic.co/u/Matt.Wash)
#### Post date: [November 29, 2021, 1:52am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/7 "2021-11-29T01:52:18Z")

</div>

there are range or lens and aggregated vis that I am using. The reason I want to avoid days is because I want to relate a day to a working day of 8 hours not 24 hours.

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [November 29, 2021, 1:57am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/8 "2021-11-29T01:57:25Z")

</div>

> [@Matt.Wash](#):
>
> there are range or lens and aggregated

I know what lens is but unclear what you mean by the others... either way no simple way to do what you want today.

Please feel free to open a feature request describing your use case if you like.

---

<div class="post-metadata">

### Author: ![Matt.Wash](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@Matt.Wash](https://discuss.elastic.co/u/Matt.Wash)
#### Post date: [November 29, 2021, 3:25am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/9 "2021-11-29T03:25:44Z")

</div>

sorry, to clarify "a range of lens" i mean data table, stacked bar, line etc. and aggregated vis (the old way using terms). I will add a feature request.

---

<div class="post-metadata">

### Author: ![Matt.Wash](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@Matt.Wash](https://discuss.elastic.co/u/Matt.Wash)
#### Post date: [November 29, 2021, 3:32am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/10 "2021-11-29T03:32:02Z")

</div>

> [@stephenb](#):
>
> feature request against the Kibana repo in github

dumb question, but do you have link to the gitub repo, I just googled it and couldn't locate it to generate the feature request

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [November 29, 2021, 4:48am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/11 "2021-11-29T04:48:39Z")

</div>

Sorry I should have linked it above

> **[Issues · elastic/kibana](https://github.com/elastic/kibana/issues)**
>
> Your window into the Elastic Stack. Contribute to elastic/kibana development by creating an account on GitHub.

---

<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 27, 2021, 4:48am UTC](https://discuss.elastic.co/t/human-readable-duration-remove-day-format/290108/12 "2021-12-27T04:48:46Z")

</div>

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