# Creating a Timelion visualization for only certain URL paths

**URL:** <https://discuss.elastic.co/t/creating-a-timelion-visualization-for-only-certain-url-paths/184221>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [June 4, 2019, 3:39pm UTC](https://discuss.elastic.co/t/creating-a-timelion-visualization-for-only-certain-url-paths/184221 "2019-06-04T15:39:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shawnl](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@shawnl](https://discuss.elastic.co/u/shawnl)\
**Post date:** [June 4, 2019, 3:39pm UTC](https://discuss.elastic.co/t/creating-a-timelion-visualization-for-only-certain-url-paths/184221/1 "2019-06-04T15:39:10Z")

</div>

Hello,  
I'm trying to visualize usage of different parts of a web application, as determined by URL paths. I can run `split` on the api.access.url field, but I'd like to exclude some of these results. For example, the top 5 hits returned by `split` are:  
`/v2/user/current`  
`/check_bundle/477`  
`/pki/ca.crt`  
`/check/778`  
`/broker/5`

I'm really only interested in "check" and "check\_bundle" results at the moment (ideally in separate visualizations). Must I know ahead of time what the range of URL paths I wish to graph are and call them each individually (e.g. `.es(q='apache2-api.access.url:/check/778')`)? Is Timelion not the right tool for the job?

Thanks

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [June 27, 2019, 1:37pm UTC](https://discuss.elastic.co/t/creating-a-timelion-visualization-for-only-certain-url-paths/184221/2 "2019-06-27T13:37:26Z")

</div>

Hey @shawnl welcome!  
Have you tried to use a query like `q='apache2-api.access.url:\/check*'`? This should match any root path starting with `/check`

---

<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:** [July 25, 2019, 1:37pm UTC](https://discuss.elastic.co/t/creating-a-timelion-visualization-for-only-certain-url-paths/184221/3 "2019-07-25T13:37:27Z")

</div>

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