# Issue : Capture a value from a query to timelion

**URL:** <https://discuss.elastic.co/t/issue-capture-a-value-from-a-query-to-timelion/212495>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [December 19, 2019, 1:17pm UTC](https://discuss.elastic.co/t/issue-capture-a-value-from-a-query-to-timelion/212495 "2019-12-19T13:17:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thierrys](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@thierrys](https://discuss.elastic.co/u/thierrys)\
**Post date:** [December 19, 2019, 1:17pm UTC](https://discuss.elastic.co/t/issue-capture-a-value-from-a-query-to-timelion/212495/1 "2019-12-19T13:17:14Z")

</div>

I want to capture dynamically the value of the field "hosts' to inject into Timelion.

msg:  
ex : [hosts=1, nodes=2, CPUs=8]  
[hosts=2, nodes=2, CPUs=8]  
[hosts=3, nodes=2, CPUs=8]

something like :

es(q='msg:"hosts").label("hosts", $1)

Regards

Thierry

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [December 19, 2019, 2:33pm UTC](https://discuss.elastic.co/t/issue-capture-a-value-from-a-query-to-timelion/212495/2 "2019-12-19T14:33:33Z")

</div>

Hi @thierrys, welcome to the discussion boards!

Timelion does not support dynamic values like this, but I found an open enhancement request asking for this functionality: [https://github.com/elastic/kibana/issues/25915](https://github.com/elastic/kibana/issues/25915)

I'd suggest giving that a 👍 if you have a GitHub account, so that the engineers can gauge the community's interest in this feature.

---

<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:** [January 16, 2020, 2:33pm UTC](https://discuss.elastic.co/t/issue-capture-a-value-from-a-query-to-timelion/212495/3 "2020-01-16T14:33:36Z")

</div>

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