title: Elasticsearch: how to get store.size and pri.store.size per day size in url query between date range
body: <p>I am new in elastic search so, please help me to find out the per day index store size based on date range. Currently, i have index records and total store size of the index.</p>
  
  <p>Url: <a href="http://localhost:9200/_cat/indices?v&amp;index=" rel="nofollow noreferrer">http://localhost:9200/_cat/indices?v&amp;index=</a><strong>index_name</strong></p>
  
  <p><strong>health    index    docs.count   store.size    pri.store.size</strong></p>
  
  <p>green    elastic_1      2345        1gb          500mb</p>
  
  <p>green    elastic_2      1234        15gb         7.8gb</p>
  
  <p>green    elastic_3      1222        7gb          3.7gb</p>
  
  <p>Url: <strong><a href="http://localhost:9200/_cat/indices?bytes=b&amp;v&amp;index=index_name&amp;h=store.size&amp;format=json" rel="nofollow noreferrer">http://localhost:9200/_cat/indices?bytes=b&amp;v&amp;index=index_name&amp;h=store.size&amp;format=json</a></strong></p>
  
  <p>Output: [{"store.size":"122"},{"store.size":"222"},{"store.size":"333"}]</p>
  
  <p>how to get per day index log message size both(<strong>store.size</strong> and <strong>pri.store.size</strong>) based on start_date(12:00AM) to end_date(11:59PM)?</p>