# Visualize grouped endpoints excluding unique IDs

**URL:** <https://discuss.elastic.co/t/visualize-grouped-endpoints-excluding-unique-ids/302217>\
**Category:** Kibana\
**Created:** [April 12, 2022, 11:21am UTC](https://discuss.elastic.co/t/visualize-grouped-endpoints-excluding-unique-ids/302217 "2022-04-12T11:21:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethranes](https://avatars.discourse-cdn.com/v4/letter/e/e56c9b/32.png) [@ethranes](https://discuss.elastic.co/u/ethranes)\
**Post date:** [April 12, 2022, 11:21am UTC](https://discuss.elastic.co/t/visualize-grouped-endpoints-excluding-unique-ids/302217/1 "2022-04-12T11:21:44Z")

</div>

Hi I'm trying to get a visualization of the count of endpoints hit in a timeframe. My issue is that when I add my url.path feild to the visualization it displays like this (as an example)

/rest/endpoint/8372812  
/rest/endpoint/3781293

What I would like to happen is that I get the total count of records excluding the ID that's in the url so instead of the above showing 2 seperate results I would see it all grouped as

/rest/endpoint/

I've tried using the exclude field and I've tried using the filter but I just can't get it to display what I need, is this possible? can anyone help please? Thanks!

---

<div class="post-metadata">

**Author:** ![ethranes](https://avatars.discourse-cdn.com/v4/letter/e/e56c9b/32.png) [@ethranes](https://discuss.elastic.co/u/ethranes)\
**Post date:** [April 13, 2022, 12:37pm UTC](https://discuss.elastic.co/t/visualize-grouped-endpoints-excluding-unique-ids/302217/2 "2022-04-13T12:37:50Z")

</div>

Anyone have any insight on this, I'd imagine it's quite a common thing to want to do

---

<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:** [April 20, 2022, 5:13pm UTC](https://discuss.elastic.co/t/visualize-grouped-endpoints-excluding-unique-ids/302217/3 "2022-04-20T17:13:04Z")

</div>

In order to do this you would have to split that url.path in a root and an id field, preferably at ingest time. But if you want to see that it works you can do that in a runtime field.

---

<div class="post-metadata">

**Author:** ![ethranes](https://avatars.discourse-cdn.com/v4/letter/e/e56c9b/32.png) [@ethranes](https://discuss.elastic.co/u/ethranes)\
**Post date:** [May 6, 2022, 2:34pm UTC](https://discuss.elastic.co/t/visualize-grouped-endpoints-excluding-unique-ids/302217/4 "2022-05-06T14:34:07Z")

</div>

Thanks @Marius_Dragomir , are there any docs you could point too that would help explain and implement your solution here?

---

<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:** [June 3, 2022, 2:34pm UTC](https://discuss.elastic.co/t/visualize-grouped-endpoints-excluding-unique-ids/302217/5 "2022-06-03T14:34:12Z")

</div>

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