# Http input response headers

**URL:** https://discuss.elastic.co/t/http-input-response-headers/97030
**Category:** Logstash
**Created:** [August 14, 2017, 10:43pm UTC](https://discuss.elastic.co/t/http-input-response-headers/97030 "2017-08-14T22:43:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![seanziee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seanziee/32/45151_2.png) [@seanziee](https://discuss.elastic.co/u/seanziee)
#### Post date: [August 14, 2017, 10:43pm UTC](https://discuss.elastic.co/t/http-input-response-headers/97030/1 "2017-08-14T22:43:21Z")

</div>

I'm using Logstash to receive an http input from a plugin on Kibana and then it pushes it to an http output to Jira to make a ticket. I'm doing this to avoid CORS restrictions on Chrome because I can't make POSTs to Jira from Chrome directly, but I can from my local machine.

The http output gives a response header of the Jira ticket and status code when I send out a POST to Jira from Logstash. It would be useful however if I could get a response header when the initial Http input is POSTed so the user trying to make the ticket could see the name of the ticket he/she just created.

Does anyone know how to do that with the response\_headers config option in the Logstash http input plugin? Or is there another alternative?

Thanks in advance!

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [August 15, 2017, 5:24am UTC](https://discuss.elastic.co/t/http-input-response-headers/97030/2 "2017-08-15T05:24:20Z")

</div>

No, this isn't possible. The http input responds to the user before the http output even sees the event.

---

<div class="post-metadata">

### Author: ![seanziee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seanziee/32/45151_2.png) [@seanziee](https://discuss.elastic.co/u/seanziee)
#### Post date: [August 15, 2017, 8:32pm UTC](https://discuss.elastic.co/t/http-input-response-headers/97030/3 "2017-08-15T20:32:00Z")

</div>

Ok thanks.

---

<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: [September 12, 2017, 8:32pm UTC](https://discuss.elastic.co/t/http-input-response-headers/97030/4 "2017-09-12T20:32:04Z")

</div>

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