# Attach another field to a data point

**URL:** <https://discuss.elastic.co/t/attach-another-field-to-a-data-point/131771>\
**Category:** Kibana\
**Created:** [May 14, 2018, 3:14pm UTC](https://discuss.elastic.co/t/attach-another-field-to-a-data-point/131771 "2018-05-14T15:14:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maddy\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maddy_m/32/45638_2.png) [@Maddy\_M](https://discuss.elastic.co/u/Maddy_M)\
**Post date:** [May 14, 2018, 3:14pm UTC](https://discuss.elastic.co/t/attach-another-field-to-a-data-point/131771/1 "2018-05-14T15:14:39Z")

</div>

Hi,  
I am trying to represent two fields of a record in graph. could you please advise?

I have timeseries data as follows. I would like to represent in a timeseries or line chart. I would to create a line chart from values taken from total\_time, but also wanted to include id to that data point for search purpose and X-axis as timestamp. Basically wanted to see the values for total\_time labelled for each id.

id=A18534398, total\_time=25  
id=A19752158, total\_time=36

Could you please advise?

Thanks,  
Venkat

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [May 15, 2018, 3:34pm UTC](https://discuss.elastic.co/t/attach-another-field-to-a-data-point/131771/2 "2018-05-15T15:34:16Z")

</div>

What do you have so far? Sounds like you'll want a date histogram and split lines by id.

---

<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:** [June 12, 2018, 3:34pm UTC](https://discuss.elastic.co/t/attach-another-field-to-a-data-point/131771/3 "2018-06-12T15:34:20Z")

</div>

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