# Apache Access Logs - Response Time

**URL:** <https://discuss.elastic.co/t/apache-access-logs-response-time/212606>\
**Category:** Kibana\
**Created:** [December 20, 2019, 6:19am UTC](https://discuss.elastic.co/t/apache-access-logs-response-time/212606 "2019-12-20T06:19:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvcp007](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@mvcp007](https://discuss.elastic.co/u/mvcp007)\
**Post date:** [December 20, 2019, 6:19am UTC](https://discuss.elastic.co/t/apache-access-logs-response-time/212606/1 "2019-12-20T06:19:18Z")

</div>

I have to setup a Dashboard for apache webpage's response time.

I have configured in apache2.conf CustomLog as

LogFormat "%h %l %u %t "%r" %\>s %b "%{Referer}i" "%{User-agent}i" %T/%D" combined

Below is the output from the access\_log

192.168.1.38 - - [19/Dec/2019:12:31:28 +0530] "GET / HTTP/1.1" 200 3138 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36" 1/1404137

I would like to Gork ...

%{IPORHOST:clientip} %{USER:ident} %{USER:auth} [%{HTTPDATE:timestamp}] "(?:%{WORD:verb} %{NOTSPACE:request}(?: HTTP/%{NUMBER:httpversion})?|%{DATA:rawrequest})" %{NUMBER:method} (?:%{NUMBER:bytes}|-) "%{GREEDYDATA:url\_path}" "%{GREEDYDATA:user\_agent}" (%{INT:response\_s:int} %{INT:response\_ms:int}\*\*)\*

I tested debugger website also - [http://grokdebug.herokuapp.com/](http://grokdebug.herokuapp.com/)

I am unable to retrieve Response time, could you please guide me.

---

<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:** [December 20, 2019, 1:17pm UTC](https://discuss.elastic.co/t/apache-access-logs-response-time/212606/2 "2019-12-20T13:17:04Z")

</div>

You can also try the Grok Debugger inside Kibana (It's in the Dev Tools section). It should show you what data it will get you.

---

<div class="post-metadata">

**Author:** ![mvcp007](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@mvcp007](https://discuss.elastic.co/u/mvcp007)\
**Post date:** [December 23, 2019, 6:41am UTC](https://discuss.elastic.co/t/apache-access-logs-response-time/212606/3 "2019-12-23T06:41:47Z")

</div>

> [@mvcp007](#):
>
> 192.168.1.38 - - [19/Dec/2019:12:31:28 +0530] "GET / HTTP/1.1" 200 3138 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36" 1/1404137

Thanks Marius for the input. I tried with Grok Debugger inside Kibana. I got the below result...

{  
"request": "/",  
"method": "200",  
"auth": "-",  
"ident": "-",  
"verb": "GET",  
"bytes": "3138",  
"clientip": "192.168.1.38",  
"httpversion": "1.1",  
"user\_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36",  
"timestamp": "19/Dec/2019:12:31:28 +0530",  
"url\_path": "-"  
}

I am still not able to retrieve the response time.

---

<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:** [January 20, 2020, 6:42am UTC](https://discuss.elastic.co/t/apache-access-logs-response-time/212606/4 "2020-01-20T06:42:01Z")

</div>

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