title: how to convert the Elasticsearch json output in a table?
body: <p>I'm using Head plugin for ELASTICSEARCH for running queries.
  I want to convert in a table the output of the query.</p>
  
  <p>The part that I need is just the "hits" object array
  where the columns are the fields that I have specified into the query:
  "http.date","src_shift","@timestamp","src_tz".</p>
  
  <p>is there any tool or plugin to do that? </p>
  
  <p>below a brief output of query:</p>
  
  <pre><code>"took": 2418,
  "timed_out": false,
  "_shards": {
      "total": 3503,
      "successful": 3503,
      "failed": 0
  },
  "hits": {
      "total": 2524,"max_score": 9.194927,"hits": [
          {
              "_index": "$002555","_type": "pcap","_id": "AVAJJphp2MeWtoWCbQYG","_score": 9.194927,"fields": {
                  "src_shift": [
                      1],"http.date": [
                      "Fri, 12 Jun 2015 22:40:54 GMT"],"@timestamp": [
                      1434147980397],"src_tz": [
                      "Europe/Warsaw"]}},{
              "_index": "$002555","_type": "pcap","_id": "AVAJJphp2MeWtoWCbQYH","_score": 9.194927,"fields": {
                  "src_shift": [
                      1],"http.date": [
                      "Fri, 12 Jun 2015 22:40:54 GMT"],"@timestamp": [
                      1434147980397],"src_tz": [
                      "Europe/Warsaw"]}},...
  </code></pre>