title: Stats panel in Kibana won't show the total value for a field
body: <p>I want to see the total for a numeric field in Kibana but I can't seem to get it working. I am generating json log entries and shipping them to elastic search and generating graphs (which is all working nicely), </p>
  
  <p>and I have config that looks like this:</p>
  
  <pre><code>input {
     file {
        path =&gt; "C:\logs\my-stats.log"
        codec =&gt; json
     }
  }
  
  filter {
      date {
          match =&gt; [ "timestamp", "ISO8601" ]
      }
      mutate {
          convert =&gt; [ "clientSellAmount", "float" ]
      }
  }
  
  output {
    elasticsearch_http {
      host =&gt; "mylogserver.foo"
    }
  }
  </code></pre>
  
  <p>and some log entries that have things like this:</p>
  
  <pre><code>{
    "timestamp": "2014-05-12T16:52:11.105+10:00",
    "logType": "PaymentConfirmed",
    "domicile": "New Zealand",
    "userType": "SPOT_APPROVER",
    "clientType": "Spot",
    "clientName": "NZ_TEST_CLIENT",
    "sellCcy": "EUR",
    "buyCcy": "EUR",
    "clientBuyAmount": 35000,
    "clientSellAmount": 27149.67,
    "logVersion": "1"
  }
  </code></pre>
  
  <p>And then in Kibana I added a Stats panel, function is "total", field is "clientSellAmount" and then in query I have a query that has two payments. No matter what I try the amount in the stats panel is always 0, and no errors are shown.</p>
  
  <p>Could it be that I added some logs before I made the field numeric and that's confusing it? Or is there something I'm totally missing? The docs are sparse to nonexistent on any of this stuff.</p>