# Removing elasticsearch logs

**URL:** <https://discuss.elastic.co/t/removing-elasticsearch-logs/16015>\
**Category:** Elasticsearch\
**Created:** [February 25, 2014, 5:26pm UTC](https://discuss.elastic.co/t/removing-elasticsearch-logs/16015 "2014-02-25T17:26:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![computer\_engineer](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@computer\_engineer](https://discuss.elastic.co/u/computer_engineer)\
**Post date:** [February 25, 2014, 5:26pm UTC](https://discuss.elastic.co/t/removing-elasticsearch-logs/16015/1 "2014-02-25T17:26:12Z")

</div>

I finally got the logstash - elasticsearch pipeline to work and able to  
send json packets to logstash and into elasticsearch viewable in kibana.  
What I am concerned about is the disk space that will be used for all these  
messages? Is there way to clear these up and where would I find it? Perhaps  
I could create a task to regularly clean the folder every 7 days.  
Appreciate responses.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/874f75a7-c138-407b-827a-5ed4efd42dc2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/874f75a7-c138-407b-827a-5ed4efd42dc2%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![computer\_engineer](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@computer\_engineer](https://discuss.elastic.co/u/computer_engineer)\
**Post date:** [February 25, 2014, 6:34pm UTC](https://discuss.elastic.co/t/removing-elasticsearch-logs/16015/2 "2014-02-25T18:34:47Z")

</div>

I found some suggestions on using plugin/head to view node status:  
localhost:9200/\_plugin/head/  
and right there I can see the cluster health:read (3,2)  
still not sure how to delete all old log messages

On Tuesday, February 25, 2014 12:26:12 PM UTC-5, computer engineer wrote:

> I finally got the logstash - elasticsearch pipeline to work and able to  
> send json packets to logstash and into elasticsearch viewable in kibana.  
> What I am concerned about is the disk space that will be used for all these  
> messages? Is there way to clear these up and where would I find it? Perhaps  
> I could create a task to regularly clean the folder every 7 days.  
> Appreciate responses.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f4b000ff-15e3-4c6c-bd61-b921e212982b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f4b000ff-15e3-4c6c-bd61-b921e212982b%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)\
**Post date:** [February 25, 2014, 8:47pm UTC](https://discuss.elastic.co/t/removing-elasticsearch-logs/16015/3 "2014-02-25T20:47:01Z")

</div>

There is currently discussion around this:

[https://github.com/elasticsearch/elasticsearch-marvel/issues/95](https://github.com/elasticsearch/elasticsearch-marvel/issues/95)

But in the meantime, try this to see if it helps:

> **[elastic/curator](https://github.com/elastic/curator)**
>
> curator - Curator: Tending your Elasticsearch indices

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d4e55016-a101-403f-b93d-74bd976eadc1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d4e55016-a101-403f-b93d-74bd976eadc1%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)\
**Post date:** [February 26, 2014, 1:10pm UTC](https://discuss.elastic.co/t/removing-elasticsearch-logs/16015/4 "2014-02-26T13:10:09Z")

</div>

There is currently discussion around this, but in the meantime, try this to  
see if it helps:

> **[elastic/curator](https://github.com/elastic/curator)**
>
> curator - Curator: Tending your Elasticsearch indices

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e43251cf-abc1-4dd3-8888-c798f34bdd5a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e43251cf-abc1-4dd3-8888-c798f34bdd5a%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![computer\_engineer](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@computer\_engineer](https://discuss.elastic.co/u/computer_engineer)\
**Post date:** [February 26, 2014, 5:10pm UTC](https://discuss.elastic.co/t/removing-elasticsearch-logs/16015/5 "2014-02-26T17:10:49Z")

</div>

thanks. Will look into that. Do you perhaps know where the directory is  
that stores all these messages or log files

On Wednesday, February 26, 2014 8:10:09 AM UTC-5, Binh Ly wrote:

> There is currently discussion around this, but in the meantime, try this  
> to see if it helps:
> 
> [GitHub - elastic/curator: Curator: Tending your Elasticsearch indices](https://github.com/elasticsearch/curator)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/184a675d-8280-46b0-81c4-88c96116b05a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/184a675d-8280-46b0-81c4-88c96116b05a%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 1:47am UTC](https://discuss.elastic.co/t/removing-elasticsearch-logs/16015/6 "2017-07-06T01:47:06Z")

</div>


