# HTTP Input - Avoid Redirect

**URL:** <https://discuss.elastic.co/t/http-input-avoid-redirect/90822>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [June 26, 2017, 1:06pm UTC](https://discuss.elastic.co/t/http-input-avoid-redirect/90822 "2017-06-26T13:06:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brommer](https://avatars.discourse-cdn.com/v4/letter/b/65b543/32.png) [@brommer](https://discuss.elastic.co/u/brommer)\
**Post date:** [June 26, 2017, 1:06pm UTC](https://discuss.elastic.co/t/http-input-avoid-redirect/90822/1 "2017-06-26T13:06:51Z")

</div>

Hi there,

I am using a http input and receive multiple redirects (http 302) after calling my endpoint. The redirects are (when executed through browser) providing certain cookies. I want to be able to access / index those cookies. However, when I run the watcher, I am only able to access the payload of the last call. Is there any possibility to access the payloads of the intermediate / redirecting calls or avoid redirects?

Thanks  
Andreas

---

<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:** [June 26, 2017, 4:23pm UTC](https://discuss.elastic.co/t/http-input-avoid-redirect/90822/2 "2017-06-26T16:23:29Z")

</div>

Hey,

sorry, but there is no such mechanism at the moment, you will always end up with data from the last request.

--Alex

---

<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 24, 2017, 4:23pm UTC](https://discuss.elastic.co/t/http-input-avoid-redirect/90822/3 "2017-07-24T16:23:32Z")

</div>

Closed on July 24, 2017, 4:23pm UTC

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