# Collecting logs - 75 days

**URL:** https://discuss.elastic.co/t/collecting-logs-75-days/182582
**Category:** Elasticsearch
**Created:** [May 24, 2019, 8:01am UTC](https://discuss.elastic.co/t/collecting-logs-75-days/182582 "2019-05-24T08:01:50Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![zen.xen](https://avatars.discourse-cdn.com/v4/letter/z/e495f1/32.png) [@zen.xen](https://discuss.elastic.co/u/zen.xen)
#### Post date: [May 24, 2019, 8:01am UTC](https://discuss.elastic.co/t/collecting-logs-75-days/182582/1 "2019-05-24T08:01:50Z")

</div>

Hello,  
I have installed Windows ELK-6.4.0-0. It works almost fine but I can collect logs (..\elasticsearch\data\nodes\0\indices) only for 75 days, I would like to collect logs for 180 days, what and where should I change to extend collecting logs from 75 to 180 days?  
After 75 days I can't connect to web site to see logs, when I delete some oldest logs everything works normally

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 24, 2019, 7:19pm UTC](https://discuss.elastic.co/t/collecting-logs-75-days/182582/2 "2019-05-24T19:19:22Z")

</div>

Elasticsearch doesn't have any retention limits, it will just keep storing data.

> [@zen.xen](#):
>
> After 75 days I can't connect to web site to see logs, when I delete some oldest logs everything works normally

Enable and use Monitoring to see what is happening. It sounds like your cluster is overloaded, so you need to find out why.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [May 24, 2019, 8:16pm UTC](https://discuss.elastic.co/t/collecting-logs-75-days/182582/3 "2019-05-24T20:16:54Z")

</div>

Have a look at this [blog post](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster) and this [webinar](https://www.elastic.co/webinars/optimizing-storage-efficiency-in-elasticsearch).

---

<div class="post-metadata">

### Author: ![zen.xen](https://avatars.discourse-cdn.com/v4/letter/z/e495f1/32.png) [@zen.xen](https://discuss.elastic.co/u/zen.xen)
#### Post date: [May 29, 2019, 4:59pm UTC](https://discuss.elastic.co/t/collecting-logs-75-days/182582/4 "2019-05-29T16:59:11Z")

</div>

Hello,  
I will be more precise, I have installed -oss version of ELK and there is not xpack which contain monitoring feature. So, how can I monitor ELK itself? Is there a tool which could I use to see what is going on with ELK, why it collects logs for 75 days?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 30, 2019, 12:53am UTC](https://discuss.elastic.co/t/collecting-logs-75-days/182582/5 "2019-05-30T00:53:17Z")

</div>

Our recommendation would be to use Monitoring in X-Pack, it's free after all.

Otherwise you may need to use something external. I think there are a few tools like the head plugin that might offer some insight/

---

<div class="post-metadata">

### Author: ![zen.xen](https://avatars.discourse-cdn.com/v4/letter/z/e495f1/32.png) [@zen.xen](https://discuss.elastic.co/u/zen.xen)
#### Post date: [May 30, 2019, 7:38am UTC](https://discuss.elastic.co/t/collecting-logs-75-days/182582/6 "2019-05-30T07:38:53Z")

</div>

I thought that X-Pack is only built-in in normal version of ELK not -oss, so I will try to install in my version and watch what is going on with my ELK.  
I have checked and the last version [X-Pack](https://www.elastic.co/downloads/x-pack) is 6.2.4, can I use it with my version of ELK 6.4?

---

<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: [June 27, 2019, 7:38am UTC](https://discuss.elastic.co/t/collecting-logs-75-days/182582/7 "2019-06-27T07:38:57Z")

</div>

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