# How to find latency/time taken to display the URL using heartbeat

**URL:** https://discuss.elastic.co/t/how-to-find-latency-time-taken-to-display-the-url-using-heartbeat/93007
**Category:** Beats
**Tags:** heartbeat
**Created:** [July 13, 2017, 12:24pm UTC](https://discuss.elastic.co/t/how-to-find-latency-time-taken-to-display-the-url-using-heartbeat/93007 "2017-07-13T12:24:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![arun\_prasath1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arun_prasath1/32/49539_2.png) [@arun\_prasath1](https://discuss.elastic.co/u/arun_prasath1)
#### Post date: [July 13, 2017, 12:24pm UTC](https://discuss.elastic.co/t/how-to-find-latency-time-taken-to-display-the-url-using-heartbeat/93007/1 "2017-07-13T12:24:26Z")

</div>

I have heartbeat to get the URL status in kibana. Also, I am trying to display the time it takes to load the web page in the browser/client from web server.  
In the curl command, there is an field "time\_total" by which we can get latency of the url. is there a way to get this value in heartbeat ?  
I checked the documentation and enough google, but it seems this issue is not discussed in elasticsearch forums. I believe there should be options using headers to get the latency. In the documentation it is not mentioned what header values can be requested.  
If there is a way, could you please suggest the options and configurations in heartbeat.yml file.

---

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [July 13, 2017, 5:53pm UTC](https://discuss.elastic.co/t/how-to-find-latency-time-taken-to-display-the-url-using-heartbeat/93007/2 "2017-07-13T17:53:08Z")

</div>

The event format in heartbeat has been changed in 6.0alpha2. For details/new fields see this PR: [https://github.com/elastic/beats/pull/4091](https://github.com/elastic/beats/pull/4091)

The changes also adds a few timers on the http monitor.

---

<div class="post-metadata">

### Author: ![arun\_prasath1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arun_prasath1/32/49539_2.png) [@arun\_prasath1](https://discuss.elastic.co/u/arun_prasath1)
#### Post date: [July 14, 2017, 9:35am UTC](https://discuss.elastic.co/t/how-to-find-latency-time-taken-to-display-the-url-using-heartbeat/93007/3 "2017-07-14T09:35:35Z")

</div>

Steffens @ Thanks. I think this is what I need. Actually, I need the actual time it takes to download the pages or it web server time taken to server the url. I do not need the total time it takes to ssh,handshake with the destination server,time to server request as a whole. I need to check the web server traffic.  
so, the new field http.rtt.validate will give the web server time taken to serve the page? Is my understanding correct ?

> http.rtt.validate : Duration between first byte of HTTP request being written and response being processed by validator. Duration based on already available network connection.

---

<div class="post-metadata">

### Author: ![arun\_prasath1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arun_prasath1/32/49539_2.png) [@arun\_prasath1](https://discuss.elastic.co/u/arun_prasath1)
#### Post date: [July 14, 2017, 11:15am UTC](https://discuss.elastic.co/t/how-to-find-latency-time-taken-to-display-the-url-using-heartbeat/93007/4 "2017-07-14T11:15:06Z")

</div>

Steffens @ When is this version 6.0.0-alpha2 planned for release. Shall we expect in next one or two months.

---

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [July 17, 2017, 10:54pm UTC](https://discuss.elastic.co/t/how-to-find-latency-time-taken-to-display-the-url-using-heartbeat/93007/5 "2017-07-17T22:54:31Z")

</div>

6.0.0-alpha2 should be available for a while. Upcoming release is 6.0.0-beta1 (hopefully the next weeks)

---

<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: [August 14, 2017, 10:54pm UTC](https://discuss.elastic.co/t/how-to-find-latency-time-taken-to-display-the-url-using-heartbeat/93007/6 "2017-08-14T22:54:41Z")

</div>

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