# Finding most accessed URI-paths / Transactions using Logstash

**URL:** <https://discuss.elastic.co/t/finding-most-accessed-uri-paths-transactions-using-logstash/81263>\
**Category:** Logstash\
**Created:** [April 5, 2017, 7:49am UTC](https://discuss.elastic.co/t/finding-most-accessed-uri-paths-transactions-using-logstash/81263 "2017-04-05T07:49:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anisen](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@anisen](https://discuss.elastic.co/u/anisen)\
**Post date:** [April 5, 2017, 7:49am UTC](https://discuss.elastic.co/t/finding-most-accessed-uri-paths-transactions-using-logstash/81263/1 "2017-04-05T07:49:01Z")

</div>

Hi,

My log file looks like this:

2015-06-12:00:08:54 100.220.144.1 GET /site/path1.aspx 200  
2015-06-12:00:08:55 100.220.144.1 GET /site/path2.aspx 200  
2015-06-12:00:08:56 100.220.144.1 GET /site/path3.aspx 200  
2015-06-12:00:08:56 100.220.144.1 GET /site/path4.aspx 200  
2015-06-12:00:08:57 100.220.144.1 GET /site/path1.aspx 200  
2015-06-12:00:08:57 100.220.144.1 GET /site/path5.aspx 200  
2015-06-12:00:08:58 100.220.144.1 GET /site/path1.aspx 200  
2015-06-12:00:08:59 100.220.144.1 GET /site/path2.aspx 200  
2015-06-12:00:08:59 100.220.144.1 GET /site/path3.aspx 200  
2015-06-12:00:08:59 100.220.144.1 GET /site/path5.aspx 200  
2015-06-12:00:08:59 100.220.144.1 GET /site/path4.aspx 200

Now, in the log, the most frequently accessed transaction or URL-path is:  
(/site/path1.aspx --\>/site/path2.aspx --\> /site/path3.aspx)

Is there any way to detect this using Logstash? Please suggest.

---

<div class="post-metadata">

**Author:** ![anisen](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@anisen](https://discuss.elastic.co/u/anisen)\
**Post date:** [April 6, 2017, 4:36am UTC](https://discuss.elastic.co/t/finding-most-accessed-uri-paths-transactions-using-logstash/81263/2 "2017-04-06T04:36:38Z")

</div>

@magnusbaeck Any suggestion on this?

---

<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:** [May 4, 2017, 4:36am UTC](https://discuss.elastic.co/t/finding-most-accessed-uri-paths-transactions-using-logstash/81263/3 "2017-05-04T04:36:54Z")

</div>

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