# Accumulated daily

**URL:** <https://discuss.elastic.co/t/accumulated-daily/110780>\
**Category:** Elasticsearch\
**Created:** [December 8, 2017, 12:21am UTC](https://discuss.elastic.co/t/accumulated-daily/110780 "2017-12-08T00:21:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![negroan](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@negroan](https://discuss.elastic.co/u/negroan)\
**Post date:** [December 8, 2017, 12:21am UTC](https://discuss.elastic.co/t/accumulated-daily/110780/1 "2017-12-08T00:21:40Z")

</div>

Good evening I have an elastic installation, which receives information from logs of different systems, apache iis jbs etc. I find myself in the situation that in my company they want to obtain annual reports on daily hits.  
The query that I want to ask you is if you know how to keep a daily accumulated index in another index.  
Is the need understood? Thank you so much. regards

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [December 8, 2017, 1:11am UTC](https://discuss.elastic.co/t/accumulated-daily/110780/2 "2017-12-08T01:11:06Z")

</div>

> [@](#):
>
> daily accumulated index

Do you mean an index which contains a list of created indices?

---

<div class="post-metadata">

**Author:** ![negroan](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@negroan](https://discuss.elastic.co/u/negroan)\
**Post date:** [December 8, 2017, 1:42am UTC](https://discuss.elastic.co/t/accumulated-daily/110780/3 "2017-12-08T01:42:02Z")

</div>

No. I give you an example. a day of logs in an index is a lot of information to save for a year, I do not have that disk capacity. What I think is that there is really daily information that when I get an annual report does not interest me. therefore my idea is to make an aggregate of information, sum and save it in a new index.

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [December 8, 2017, 1:48am UTC](https://discuss.elastic.co/t/accumulated-daily/110780/4 "2017-12-08T01:48:17Z")

</div>

You can look up [percolator query](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/query-dsl-percolate-query.html) to see if that satisfies your needs.

Otherwise you can write a bunch of scripts which continuously poll the data as it gets indexed, and then applies whatever transformation needs to be applied in order to generate report worthy data and indexes it separately!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 5, 2018, 1:48am UTC](https://discuss.elastic.co/t/accumulated-daily/110780/5 "2018-01-05T01:48:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
