Creating a simple line chart

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

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

2 Likes