# Name or tag the search query

**URL:** <https://discuss.elastic.co/t/name-or-tag-the-search-query/70083>\
**Category:** Elasticsearch\
**Created:** [December 27, 2016, 4:13pm UTC](https://discuss.elastic.co/t/name-or-tag-the-search-query/70083 "2016-12-27T16:13:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdpark](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jdpark](https://discuss.elastic.co/u/jdpark)\
**Post date:** [December 27, 2016, 4:13pm UTC](https://discuss.elastic.co/t/name-or-tag-the-search-query/70083/1 "2016-12-27T16:13:42Z")

</div>

Hello. I recently upgraded from Elastic 2.X to 5.X. In 5.X, it looks like queries can no longer have arbitrary URL parameters. I used to append my search URL with a name, e.g.

\_search?name=mysearch

so that I can distinguish easily among many types of searches on Chrome dev tool. (My app invokes multiple AJAX concurrently.) Prior to naming the URL, I clicked through many of the \_search lines to find the one I want.

Is there a naming/tagging feature in Elastic 5, or is there a different approach to help debug multiple calls to Elastic? (I'm also open to other tools than Chrome dev tool).

Thank you.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [December 29, 2016, 9:23am UTC](https://discuss.elastic.co/t/name-or-tag-the-search-query/70083/2 "2016-12-29T09:23:22Z")

</div>

Hey,

indeed, parsing got strict here. You could set the `X-Opaque-Id` HTTP header field, which is also returned in the response.

--Alex

---

<div class="post-metadata">

**Author:** ![jdpark](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jdpark](https://discuss.elastic.co/u/jdpark)\
**Post date:** [December 29, 2016, 2:29pm UTC](https://discuss.elastic.co/t/name-or-tag-the-search-query/70083/3 "2016-12-29T14:29:36Z")

</div>

Thanks! I can add that header as custom response header in the dev tool.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/9/9d970996cb3c27470b34392ab19cdc276718c2e4.png)

---

<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:** [January 26, 2017, 2:29pm UTC](https://discuss.elastic.co/t/name-or-tag-the-search-query/70083/4 "2017-01-26T14:29:35Z")

</div>

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