# Creating a simple line chart

**URL:** <https://discuss.elastic.co/t/creating-a-simple-line-chart/43588>\
**Category:** Kibana\
**Created:** [March 6, 2016, 2:16am UTC](https://discuss.elastic.co/t/creating-a-simple-line-chart/43588 "2016-03-06T02:16:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slocumro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/slocumro/32/7951_2.png) [@slocumro](https://discuss.elastic.co/u/slocumro)\
**Post date:** [March 6, 2016, 2:16am UTC](https://discuss.elastic.co/t/creating-a-simple-line-chart/43588/1 "2016-03-06T02:16:50Z")

</div>

I am attempting to create a simple line graph that displays request latency over time from weblogs. When parsing the weblogs with logstash, the latency value is persisted in a float value as part of the log entry object and passed to elasticsearch.

When I attempt to create the chart, I select "Max" for the Y-Axis but the field latency\_ms is not in the drop down.

```
      "latency_ms": {
        "type": "float"
      }

```

The only fields available are timestamp and geoip.longitude and geoip.latitude.

What steps are required to add latency\_ms to the available fields to add to the Y-Axis of the line chart?

Thanks

---

<div class="post-metadata">

**Author:** ![slocumro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/slocumro/32/7951_2.png) [@slocumro](https://discuss.elastic.co/u/slocumro)\
**Post date:** [March 6, 2016, 5:21am UTC](https://discuss.elastic.co/t/creating-a-simple-line-chart/43588/2 "2016-03-06T05:21:37Z")

</div>

I figured it out. I needed to go to the indices section of the settings page and click the Refresh field list button.

---

<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:** [July 6, 2017, 2:00pm UTC](https://discuss.elastic.co/t/creating-a-simple-line-chart/43588/3 "2017-07-06T14:00:06Z")

</div>

Closed on July 6, 2017, 2:00pm UTC


