# Context.db isn't indexed in elastic-java-apm

**URL:** https://discuss.elastic.co/t/context-db-isnt-indexed-in-elastic-java-apm/147404
**Category:** APM
**Created:** [September 5, 2018, 12:12pm UTC](https://discuss.elastic.co/t/context-db-isnt-indexed-in-elastic-java-apm/147404 "2018-09-05T12:12:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lk95jofr](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@lk95jofr](https://discuss.elastic.co/u/lk95jofr)
#### Post date: [September 5, 2018, 12:12pm UTC](https://discuss.elastic.co/t/context-db-isnt-indexed-in-elastic-java-apm/147404/1 "2018-09-05T12:12:57Z")

</div>

Hi,  
Is there a reason why context.db isn't indexed in the elastic-java-apm?  
context.db.statement  
context.db.type  
context.db.user

Both statement and user can be very good to monitor  
/Fredrik

---

<div class="post-metadata">

### Author: ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)
#### Post date: [September 10, 2018, 7:31am UTC](https://discuss.elastic.co/t/context-db-isnt-indexed-in-elastic-java-apm/147404/2 "2018-09-10T07:31:49Z")

</div>

Hi Fredrik,  
I created a [github Issue](https://github.com/elastic/apm-server/issues/1371) for this. It would be great if you could add a short description of your use cases there.

---

<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: [October 1, 2018, 3:32am UTC](https://discuss.elastic.co/t/context-db-isnt-indexed-in-elastic-java-apm/147404/3 "2018-10-01T03:32:04Z")

</div>

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