title: Kibana Query to get the count of occurrence
body: <p>Sorry if the question is very simple as I am new to Elastic Search and Kibana.</p>
  <p>I have below data in JSON format.</p>
  <pre><code>host.name       123
  message     abcd
  host.name       567
  message     abcd 
  host.name       123
  message     mno
  host.name       123
  message     abcd
  </code></pre>
  <p>Now currently I am searching using the command <code> (message:&quot;abcd&quot;) </code> and then capturing the details manually.</p>
  <p>But what I want is to get the number of occurrence of <code>abcd</code> hostname wise .</p>
  <p>Like</p>
  <pre><code>123  - 2
  567  - 1
  </code></pre>