# Calculating one field from different documents

**URL:** https://discuss.elastic.co/t/calculating-one-field-from-different-documents/119185
**Category:** Elasticsearch
**Created:** [February 9, 2018, 8:45am UTC](https://discuss.elastic.co/t/calculating-one-field-from-different-documents/119185 "2018-02-09T08:45:46Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)
#### Post date: [February 9, 2018, 9:20am UTC](https://discuss.elastic.co/t/calculating-one-field-from-different-documents/119185/2 "2018-02-09T09:20:40Z")

</div>

See this question on deriving values from multiple docs based on a common ID: [How to search relationship between log lines](https://discuss.elastic.co/t/how-to-search-relationship-between-log-lines/119078)

---

_[View the full topic](https://discuss.elastic.co/t/calculating-one-field-from-different-documents/119185)._
