# Not able to view http response headers in APM

**URL:** https://discuss.elastic.co/t/not-able-to-view-http-response-headers-in-apm/253216
**Category:** APM
**Tags:** server, ui
**Created:** [October 24, 2020, 6:19pm UTC](https://discuss.elastic.co/t/not-able-to-view-http-response-headers-in-apm/253216 "2020-10-24T18:19:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Rajat\_Panwar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajat_panwar/32/55315_2.png) [@Rajat\_Panwar](https://discuss.elastic.co/u/Rajat_Panwar)
#### Post date: [October 24, 2020, 6:19pm UTC](https://discuss.elastic.co/t/not-able-to-view-http-response-headers-in-apm/253216/1 "2020-10-24T18:19:50Z")

</div>

**Kibana version** : 7.9.3

**Elasticsearch version** : 7.9.3

**APM Server version** : 7.9.3

**APM Agent language and version** : .NET, Custom  
**Browser version** : Chrome 86, Windows 10

**Original install method (e.g. download page, yum, deb, from source, etc.) and version** : using elastic cloud

**Fresh install or upgraded from other version?** : Fresh install elastic cloud

**Is there anything special in your setup?** Nope

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)** : I have customized .NET agent to send logs to APM Server. Originally .NET APM agent does not support sending of http headers in the context of Span and neither it has http response model. But I believe its supported based on the APM Server schema defined here

> **[elastic/apm-server](https://github.com/elastic/apm-server/tree/master/docs/spec)**
>
> APM Server. Contribute to elastic/apm-server development by creating an account on GitHub.

  
and here  

> **[General APM fields | APM Server Reference \[7.9\] | Elastic](https://www.elastic.co/guide/en/apm/server/current/exported-fields-apm.html)**

So I have modified the agent to accommodate additional schema. This is the final JSON being sent to the APM Server.

 ![img1](https://us1.discourse-cdn.com/elastic/original/3X/8/9/89710d256e590c433f65def69c1f216730a58c58.png)

But when I view it in APM, only partial data is shown in the span, no data from the context gets displayed.

 ![img2](https://us1.discourse-cdn.com/elastic/original/3X/9/1/91e3afc66f409ac63bbdad202fe81f14c184e3ec.png)

And when I view the same span in discover, the http response headers is there, but the schema looks altered. instead of being inside context, its directly inside span.

 ![img3](https://us1.discourse-cdn.com/elastic/original/3X/8/e/8e5b6cf0db04446fc7661f3fb54a8ab9dfad39cd.png)

Please suggest how I can get the missing context data displayed in the APM.

Thanks,

---

<div class="post-metadata">

### Author: ![smith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smith/32/53043_2.png) [@smith](https://discuss.elastic.co/u/smith)
#### Post date: [October 26, 2020, 2:03am UTC](https://discuss.elastic.co/t/not-able-to-view-http-response-headers-in-apm/253216/2 "2020-10-26T02:03:34Z")

</div>

Only selected properties are shown in the Metadata tab. If you want to see all of them you'll have to use Discover as you're doing.

There's an open issue to display all of the properties: [https://github.com/elastic/kibana/issues/71985](https://github.com/elastic/kibana/issues/71985). This will be added in a future release.

---

<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: [November 15, 2020, 10:03pm UTC](https://discuss.elastic.co/t/not-able-to-view-http-response-headers-in-apm/253216/3 "2020-11-15T22:03:45Z")

</div>

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