# Save discover search results, view deleted documents

**URL:** <https://discuss.elastic.co/t/save-discover-search-results-view-deleted-documents/284973>\
**Category:** Elasticsearch\
**Created:** [September 23, 2021, 8:41am UTC](https://discuss.elastic.co/t/save-discover-search-results-view-deleted-documents/284973 "2021-09-23T08:41:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tadija](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tadija/32/94785_2.png) [@Tadija](https://discuss.elastic.co/u/Tadija)\
**Post date:** [September 23, 2021, 8:41am UTC](https://discuss.elastic.co/t/save-discover-search-results-view-deleted-documents/284973/1 "2021-09-23T08:41:56Z")

</div>

We have setup ILM for our test environments so logs are deleted after 2 days.

Our QA workflow includes testing stuff on test branches and creating tickets for issues they encounter. They sometime put a link to Kibana where issue details can be seen in logs, helps with debugging. If a developer opens those logs after 4 days (so ILM deleted those logs already) is there a way to still see those logs?

So, if ILM deletes the logs after 2 days, is there a way to save some logs to last longer? Like saving discover search results? Do we need to take screenshots or export those logs?

Having ILM policy longer than 2 days seems inefficient since 95% of logs will never be used and like 1 % will be used even after 30 days.

Thanks,  
Tadija

---

<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:** [October 21, 2021, 8:42am UTC](https://discuss.elastic.co/t/save-discover-search-results-view-deleted-documents/284973/2 "2021-10-21T08:42:22Z")

</div>

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