# Calculating page views and downloads for web logs

**URL:** <https://discuss.elastic.co/t/calculating-page-views-and-downloads-for-web-logs/167353>\
**Category:** Kibana\
**Created:** [February 6, 2019, 8:05pm UTC](https://discuss.elastic.co/t/calculating-page-views-and-downloads-for-web-logs/167353 "2019-02-06T20:05:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saahithi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saahithi/32/40647_2.png) [@Saahithi](https://discuss.elastic.co/u/Saahithi)\
**Post date:** [February 6, 2019, 8:05pm UTC](https://discuss.elastic.co/t/calculating-page-views-and-downloads-for-web-logs/167353/1 "2019-02-06T20:05:34Z")

</div>

How to create a dashboard using page views and downloads.  
First I need to find a way to determine the page views and downloads from a web log file. I don't know if I have to write a function in logstash or if there is a way to do it in Kibana.  
I am new to ELK and any help would be appreciated.

Thank you.

---

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [February 6, 2019, 8:44pm UTC](https://discuss.elastic.co/t/calculating-page-views-and-downloads-for-web-logs/167353/2 "2019-02-06T20:44:14Z")

</div>

Hello Saahithi,

Our blogs can be a good place to start for a good walk-through of this functionality. You might try this one:

> **[A Practical Introduction to Logstash
	  	 | Elastic](https://www.elastic.co/blog/a-practical-introduction-to-logstash)**
>
> The Elastic Stack tries to make it as easy as possible to ingest data into Elasticsearch. Filebeat is a great tool for tailing files and comes with a set of modules which makes it possible to ingest a...

Feel free to search the blogs and see if any other posts are helpful too though! In addition to Logstash, Beats can be another way of harvesting large amounts of data to use in Elasticsearch. Specifically a Filebeat would likely work here.

[https://www.elastic.co/products/beats/filebeat](https://www.elastic.co/products/beats/filebeat)

Once you're done getting your data into Elasticsearch, then check our blogs and documentation for some good information on setting up Kibana visualizations.

I hope that gets you started!

Regards,  
Aaron

---

<div class="post-metadata">

**Author:** ![Saahithi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saahithi/32/40647_2.png) [@Saahithi](https://discuss.elastic.co/u/Saahithi)\
**Post date:** [February 7, 2019, 2:17pm UTC](https://discuss.elastic.co/t/calculating-page-views-and-downloads-for-web-logs/167353/3 "2019-02-07T14:17:02Z")

</div>

Thanks for the reply Aaron. I went through the blog. I must say, it is really helpful. The log parsing and grok functions are very well explained. Although I dint find anything about page views or downloads. I think I missed something. Please help me with this when you can.

Thank you

---

<div class="post-metadata">

**Author:** ![siyi.huang](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@siyi.huang](https://discuss.elastic.co/u/siyi.huang)\
**Post date:** [February 21, 2019, 3:45pm UTC](https://discuss.elastic.co/t/calculating-page-views-and-downloads-for-web-logs/167353/4 "2019-02-21T15:45:46Z")

</div>

Hi Aaron,

I have the same question about determining the page views from a web log file. I have parsed the log using Grok. I would like to know how to get the **number of page views** using **Kibana**?

I am new to ELK and I truly appreciate your help.

Thank you!

---

<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:** [March 21, 2019, 3:45pm UTC](https://discuss.elastic.co/t/calculating-page-views-and-downloads-for-web-logs/167353/5 "2019-03-21T15:45:50Z")

</div>

Closed on March 21, 2019, 3:45pm UTC

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