# I can't able get system & host uptime metric beat

**URL:** https://discuss.elastic.co/t/i-cant-able-get-system-host-uptime-metric-beat/265690
**Category:** Metrics
**Created:** [February 27, 2021, 2:26pm UTC](https://discuss.elastic.co/t/i-cant-able-get-system-host-uptime-metric-beat/265690 "2021-02-27T14:26:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![psganeshk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/psganeshk/32/79059_2.png) [@psganeshk](https://discuss.elastic.co/u/psganeshk)
#### Post date: [February 27, 2021, 2:26pm UTC](https://discuss.elastic.co/t/i-cant-able-get-system-host-uptime-metric-beat/265690/1 "2021-02-27T14:26:34Z")

</div>

this is my system module but i am not getting uptime of the host

# Module: system

# Docs: [System module | Metricbeat Reference [7.9] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/7.9/metricbeat-module-system.html)

- module: system  
period: 10s  
metricsets:

- module: system  
period: 1m  
metricsets:

- module: system  
period: 10s  
metricsets:

- module: system  
metricsets: ["diskio"]  
diskio.include\_devices:   
#- module: system

# period: 5m

# metricsets:

# - raid

# raid.mount\_point: '/'

---

<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: [February 27, 2021, 11:13pm UTC](https://discuss.elastic.co/t/i-cant-able-get-system-host-uptime-metric-beat/265690/2 "2021-02-27T23:13:12Z")

</div>

Where are you looking for the uptime data?

That metricbeat metric uptime is actually the Linux [uptime](https://www.tecmint.com/linux-uptime-command-examples/amp/) simply how long the server has been up.

If you are looking for [this](https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-system.html#_uptime_4) it will be in the field `system.uptime.duration.ms`

If you are looking to use the uptime app in Kibana you need to use heartbeat. See [Here](https://www.elastic.co/guide/en/observability/7.11/ingest-uptime.html)

---

<div class="post-metadata">

### Author: ![psganeshk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/psganeshk/32/79059_2.png) [@psganeshk](https://discuss.elastic.co/u/psganeshk)
#### Post date: [March 4, 2021, 9:38am UTC](https://discuss.elastic.co/t/i-cant-able-get-system-host-uptime-metric-beat/265690/3 "2021-03-04T09:38:36Z")

</div>

Thanks for update. now i am able to get logs and i have to visualise uptime 11 days 4 hours 4 min like that i have to view. please advise me

 ![Screen Shot 2021-03-04 at 3.07.16 PM](https://us1.discourse-cdn.com/elastic/original/3X/d/e/def35db1fd0dd04c0ae80dcefe166e0d9fa3b168.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: [March 4, 2021, 3:19pm UTC](https://discuss.elastic.co/t/i-cant-able-get-system-host-uptime-metric-beat/265690/4 "2021-03-04T15:19:35Z")

</div>

Hi @psganeshk

I am not sure we support exactly what you are looking for ...

There are a number formats available. The default is called Human Readable for Durations

And what it does, is show the duration formatting at a scale that makes relative sense ... so if it has been up Days .. .it will say round to Days, example 11.70 Days will show 12 Days.... if it has only been up for 11.25 minutes it will say example 11 minutes so that formatting it autoscales so to speak to the scale for each value . Which is what many of our users want... especially for uptime becuase one it has been up for days or weeks the minutes don't really matter.

If you want a specific granularity you can set the formatting in the index pattern, go and play with it. You will need to refresh your table after you make changes.

 ![Screen Shot 2021-03-04 at 7.07.31 AM](https://us1.discourse-cdn.com/elastic/original/3X/4/d/4d5f7b4363048e0eccf8c645954c6895c23b58c0.png)

---

<div class="post-metadata">

### Author: ![psganeshk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/psganeshk/32/79059_2.png) [@psganeshk](https://discuss.elastic.co/u/psganeshk)
#### Post date: [March 4, 2021, 4:43pm UTC](https://discuss.elastic.co/t/i-cant-able-get-system-host-uptime-metric-beat/265690/5 "2021-03-04T16:43:22Z")

</div>

Thanks Stephen

---

<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: [April 1, 2021, 4:44pm UTC](https://discuss.elastic.co/t/i-cant-able-get-system-host-uptime-metric-beat/265690/6 "2021-04-01T16:44:15Z")

</div>

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