# Purge the data, but keep the trend graph data

**URL:** <https://discuss.elastic.co/t/purge-the-data-but-keep-the-trend-graph-data/96127>\
**Category:** Elasticsearch\
**Created:** [August 7, 2017, 2:46pm UTC](https://discuss.elastic.co/t/purge-the-data-but-keep-the-trend-graph-data/96127 "2017-08-07T14:46:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nijov](https://avatars.discourse-cdn.com/v4/letter/n/2acd7d/32.png) [@nijov](https://discuss.elastic.co/u/nijov)\
**Post date:** [August 7, 2017, 2:46pm UTC](https://discuss.elastic.co/t/purge-the-data-but-keep-the-trend-graph-data/96127/1 "2017-08-07T14:46:11Z")

</div>

We are pushing multi app log data into elastic for problem analysis. But we don't need to keep the logs in elastic after some days, so we purge them frequently. But we noticed we have some interest to keep the trend graph for longer than the log file data. Currently we use Kibana to produce the charts.

Anyone has done this in any form? Appreciate any idea how to persist the trend graph data without keeping the large log data in elastic cluster.

---

<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:** [September 4, 2017, 2:46pm UTC](https://discuss.elastic.co/t/purge-the-data-but-keep-the-trend-graph-data/96127/2 "2017-09-04T14:46:13Z")

</div>

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