title: How to graph different values of a field over time in Kibana - ClassCast Exception
body: <p>I am trying to read log files using logstash. I used grok to parse a number in the message into a number and store it as a field.
  But as far i see, i only got Kibana to graph the number of times a message occured over time.</p>
  
  <p>I didnt have any luck using Kibana to graph more than just the number of times a message occurs.</p>
  
  <p>Example of my message : </p>
  
  <pre><code>1) "JvmStatsLoggerService - gc count: 58"
  2) "JvmStatsLoggerService - gc time: 2392 ms"
  </code></pre>
  
  <p>I extract/create COUNT and TIME fields to store the corresponding values 58 and 2392..I want to graph the different values of COUNT and TIME over the last 5mins or 10mins rather than the number of times they occured in the log files over time.</p>
  
  <p>Tried it on the <a href="http://demo.kibana.org/#/dashboard" rel="nofollow">live demo</a> but on my kibana localost console i get this error</p>
  
  <pre><code>Oops! ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]
  </code></pre>
  
  <p>Any help is greatly appreciated.</p>