# Smart way to aggregate multiple HTTP routes by detecting variable parameters?

**URL:** <https://discuss.elastic.co/t/smart-way-to-aggregate-multiple-http-routes-by-detecting-variable-parameters/20896>\
**Category:** Elasticsearch\
**Created:** [November 22, 2014, 4:41pm UTC](https://discuss.elastic.co/t/smart-way-to-aggregate-multiple-http-routes-by-detecting-variable-parameters/20896 "2014-11-22T16:41:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Strzelewic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexandre_strzelewic/32/1085_2.png) [@Alexandre\_Strzelewic](https://discuss.elastic.co/u/Alexandre_Strzelewic)\
**Post date:** [November 22, 2014, 4:41pm UTC](https://discuss.elastic.co/t/smart-way-to-aggregate-multiple-http-routes-by-detecting-variable-parameters/20896/1 "2014-11-22T16:41:19Z")

</div>

Hello,

I'm switching to ElasticSearch and I'm amazed by all his capabilities and  
performance. God, happy to know about it now.

I'm currently faced to a problem, and wanted to know if ES could help me in  
doing that.

I have a lot of route stored in ES, and I'm doing aggregations by route,  
then I calculate the average latency of each routes.

The problem is that some routes has a variable id that changes, but it's  
still the same route.

Is it possible to use some internal system of ES to aggregate by route that  
looks the same ?

Thanks in advance!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/368f6d12-8800-4d0d-9681-2325d90332dc%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/368f6d12-8800-4d0d-9681-2325d90332dc%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:48am UTC](https://discuss.elastic.co/t/smart-way-to-aggregate-multiple-http-routes-by-detecting-variable-parameters/20896/2 "2017-07-06T00:48:18Z")

</div>


