# Apm Uknow fields

**URL:** <https://discuss.elastic.co/t/apm-uknow-fields/218438>\
**Category:** APM\
**Tags:** ui\
**Created:** [February 8, 2020, 12:12pm UTC](https://discuss.elastic.co/t/apm-uknow-fields/218438 "2020-02-08T12:12:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michele\_Ruta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michele_ruta/32/62312_2.png) [@Michele\_Ruta](https://discuss.elastic.co/u/Michele_Ruta)\
**Post date:** [February 8, 2020, 12:12pm UTC](https://discuss.elastic.co/t/apm-uknow-fields/218438/1 "2020-02-08T12:12:01Z")

</div>

Hi! I have a question regarding the Kibana filters.

I have set up an ELK docker with APM server stack. I have an Angular application that sends its logs through the APM agent. I don't understand why I can't log info about http calls. Going to Discover of Kibana, among the fields I see error.custom.status, but this field is not filterable. Instead I see that I can filter by http. \* But these fields are never valued. The ELK version I am using is 7.5.2, instead this is the configuration I am using for the APM agent.

const apm = service.init({  
serviceName: 'angular-app',  
serverUrl: 'http://\*\*\*\*\*\*\*\*:8200',  
captureBody: 'all',  
instrument: 'true',  
errorOnAbortedRequests: 'true'  
});

I also tried updating the index cache from Kibana, but nothing. Please help me!!  
Thank you!

---

<div class="post-metadata">

**Author:** ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)\
**Post date:** [February 18, 2020, 2:01pm UTC](https://discuss.elastic.co/t/apm-uknow-fields/218438/2 "2020-02-18T14:01:43Z")

</div>

Hi Michele 👋

> I don't understand why I can't log info about http calls. Going to Discover of Kibana, among the fields I see error.custom.status, but this field is not filterable. Instead I see that I can filter by http. \* But these fields are never valued.

I'm not completely sure whether you are talking about filters in Discover or in the APM app. Can you take screenshots of the parts of the UI that is not working as you expect, and I'll see what we can do.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Michele\_Ruta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michele_ruta/32/62312_2.png) [@Michele\_Ruta](https://discuss.elastic.co/u/Michele_Ruta)\
**Post date:** [February 20, 2020, 11:01am UTC](https://discuss.elastic.co/t/apm-uknow-fields/218438/3 "2020-02-20T11:01:05Z")

</div>

Hi Soren! Thank you for the reply!  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/1/91e6d6f91c42b197b5002ab07ba3012aac809a3d.png)

When I go to the Kibana interface in the Discover section, there are these fields that are enhanced. But as you can see they are not filterable because they are not recognized.

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

Instead these fields are filterable, but are never enhanced. Now I don't know if the problem is with the APM Agent or the APM Server. In any case, my goal is to display information about the HTTP calls made by my Angular application within Kibana and to be able to filter them. Thanks so much!

---

<div class="post-metadata">

**Author:** ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)\
**Post date:** [February 27, 2020, 10:59am UTC](https://discuss.elastic.co/t/apm-uknow-fields/218438/4 "2020-02-27T10:59:12Z")

</div>

I'm still not 100% sure what you want. However, it looks like http is located both as a top level property and on the `span` which seems odd.

If you want to filter by status code try: `http.response.status_code : 200`.  
If you want to filter by http method try: `http.request.method : "get" `.

---

<div class="post-metadata">

**Author:** ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)\
**Post date:** [February 27, 2020, 1:25pm UTC](https://discuss.elastic.co/t/apm-uknow-fields/218438/5 "2020-02-27T13:25:01Z")

</div>

Hi again,

I see the problem now. You want to filter by field in `span.http`. However, these are not indexed by default. You can change this by updating the index template. See [the docs](https://www.elastic.co/guide/en/apm/server/current/configuration-template.html) for more details.

---

<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:** [March 26, 2020, 1:27pm UTC](https://discuss.elastic.co/t/apm-uknow-fields/218438/6 "2020-03-26T13:27:29Z")

</div>

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