# Curator

**URL:** <https://discuss.elastic.co/t/curator/21296>\
**Category:** Elasticsearch\
**Created:** [December 17, 2014, 1:12pm UTC](https://discuss.elastic.co/t/curator/21296 "2014-12-17T13:12:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cheten\_Dev](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@Cheten\_Dev](https://discuss.elastic.co/u/Cheten_Dev)\
**Post date:** [December 17, 2014, 1:12pm UTC](https://discuss.elastic.co/t/curator/21296/1 "2014-12-17T13:12:53Z")

</div>

Hi,

after executing the command curator delete --older-than 3 i got the following response

2014-12-17 18:39:02,088 INFO Job starting...  
2014-12-17 18:39:02,104 INFO Deleting indices...  
2014-12-17 18:39:02,104 INFO Speficied indices deleted.  
2014-12-17 18:39:02,104 INFO Done in 0:00:00.047000.

but nothing happened to indices . I am getting the following response for the indices query

green open .marvel-2014.12.16 1 1 42513 0 112.4mb 56.2mb  
green open .marvel-2014.12.09 1 1 84937 0 222.2mb 111.1mb  
green open .marvel-2014.12.17 1 1 28939 0 76.7mb 38.2mb  
green open .marvel-kibana 1 1 2 0 44.1kb 22kb  
green open .marvel-2014.12.14 1 1 125557 0 289mb 144.5mb  
green open .marvel-2014.12.11 1 1 101401 0 244.3mb 122.1mb  
green open .marvel-2014.12.12 1 1 109457 0 255.2mb 127.6mb  
green open .marvel-2014.12.10 1 1 93207 0 232.5mb 116.2mb  
green open .marvel-2014.12.15 1 1 133493 0 309.2mb 154.6mb  
green open livelisting 5 1 26456 0 72.6mb 36.3mb  
green open .marvel-2014.12.13 1 1 117511 0 275mb 137.5mb

I am missing something here?

Thanks

--  
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/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [December 17, 2014, 1:49pm UTC](https://discuss.elastic.co/t/curator/21296/2 "2014-12-17T13:49:46Z")

</div>

Try it with the -n and -D flags and see if that provides more info.

On 17 December 2014 at 14:12, Chetan Dev [cheten.dev@carwale.com](mailto:cheten.dev@carwale.com) wrote:

> Hi,
> 
> after executing the command curator delete --older-than 3 i got the following response
> 
> 2014-12-17 18:39:02,088 INFO Job starting...  
> 2014-12-17 18:39:02,104 INFO Deleting indices...  
> 2014-12-17 18:39:02,104 INFO Speficied indices deleted.  
> 2014-12-17 18:39:02,104 INFO Done in 0:00:00.047000.
> 
> but nothing happened to indices . I am getting the following response for the indices query
> 
> green open .marvel-2014.12.16 1 1 42513 0 112.4mb 56.2mb  
> green open .marvel-2014.12.09 1 1 84937 0 222.2mb 111.1mb  
> green open .marvel-2014.12.17 1 1 28939 0 76.7mb 38.2mb  
> green open .marvel-kibana 1 1 2 0 44.1kb 22kb  
> green open .marvel-2014.12.14 1 1 125557 0 289mb 144.5mb  
> green open .marvel-2014.12.11 1 1 101401 0 244.3mb 122.1mb  
> green open .marvel-2014.12.12 1 1 109457 0 255.2mb 127.6mb  
> green open .marvel-2014.12.10 1 1 93207 0 232.5mb 116.2mb  
> green open .marvel-2014.12.15 1 1 133493 0 309.2mb 154.6mb  
> green open livelisting 5 1 26456 0 72.6mb 36.3mb  
> green open .marvel-2014.12.13 1 1 117511 0 275mb 137.5mb
> 
> I am missing something here?
> 
> Thanks
> 
> --  
> 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/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEYi1X\_v\_mGAbSouJ38\_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_v_mGAbSouJ38_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 17, 2014, 2:06pm UTC](https://discuss.elastic.co/t/curator/21296/3 "2014-12-17T14:06:22Z")

</div>

You need to change prefix.

--host localhost --port 9200 -t (or --timeout) 30 -T (or --time-unit) days -p (or --prefix) logstash-

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 17 déc. 2014 à 14:49, Mark Walkom [markwalkom@gmail.com](mailto:markwalkom@gmail.com) a écrit :
> 
> Try it with the -n and -D flags and see if that provides more info.
> 
> > On 17 December 2014 at 14:12, Chetan Dev [cheten.dev@carwale.com](mailto:cheten.dev@carwale.com) wrote:  
> > Hi,
> > 
> > after executing the command curator delete --older-than 3 i got the following response
> > 
> > 2014-12-17 18:39:02,088 INFO Job starting...  
> > 2014-12-17 18:39:02,104 INFO Deleting indices...  
> > 2014-12-17 18:39:02,104 INFO Speficied indices deleted.  
> > 2014-12-17 18:39:02,104 INFO Done in 0:00:00.047000.
> > 
> > but nothing happened to indices . I am getting the following response for the indices query
> > 
> > green open .marvel-2014.12.16 1 1 42513 0 112.4mb 56.2mb  
> > green open .marvel-2014.12.09 1 1 84937 0 222.2mb 111.1mb  
> > green open .marvel-2014.12.17 1 1 28939 0 76.7mb 38.2mb  
> > green open .marvel-kibana 1 1 2 0 44.1kb 22kb  
> > green open .marvel-2014.12.14 1 1 125557 0 289mb 144.5mb  
> > green open .marvel-2014.12.11 1 1 101401 0 244.3mb 122.1mb  
> > green open .marvel-2014.12.12 1 1 109457 0 255.2mb 127.6mb  
> > green open .marvel-2014.12.10 1 1 93207 0 232.5mb 116.2mb  
> > green open .marvel-2014.12.15 1 1 133493 0 309.2mb 154.6mb  
> > green open livelisting 5 1 26456 0 72.6mb 36.3mb  
> > green open .marvel-2014.12.13 1 1 117511 0 275mb 137.5mb
> > 
> > I am missing something here?
> > 
> > ## Thanks
> > 
> > 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/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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/CAEYi1X\_v\_mGAbSouJ38\_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_v_mGAbSouJ38_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/6607CB35-6B78-4FAE-BB4E-E3BB05D69847%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/6607CB35-6B78-4FAE-BB4E-E3BB05D69847%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [December 17, 2014, 9:23pm UTC](https://discuss.elastic.co/t/curator/21296/4 "2014-12-17T21:23:58Z")

</div>

I'm presuming you're trying to prune marvel indices. Your command-line  
would look similar to:

curator delete --older-than 3 --prefix .marvel-

Do not forget the trailing hyphen on that prefix. The prefix is supposed  
to be everything preceding the time/datestamp on the index name, and the  
suffix everything after it.

--Aaron

On Wednesday, December 17, 2014 7:07:02 AM UTC-7, David Pilato wrote:

> You need to change prefix.
> 
> --host localhost  
> --port 9200  
> -t (or --timeout) 30  
> -T (or --time-unit) days  
> -p (or --prefix) logstash-
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 déc. 2014 à 14:49, Mark Walkom \<[markw...@gmail.com](mailto:markw...@gmail.com) \<javascript:\>\> a  
> écrit :
> 
> Try it with the -n and -D flags and see if that provides more info.
> 
> On 17 December 2014 at 14:12, Chetan Dev \<[chete...@carwale.com](mailto:chete...@carwale.com)  
> \<javascript:\>\> wrote:
> 
> > Hi,
> > 
> > after executing the command curator delete --older-than 3 i got the following response
> > 
> > 2014-12-17 18:39:02,088 INFO Job starting...  
> > 2014-12-17 18:39:02,104 INFO Deleting indices...  
> > 2014-12-17 18:39:02,104 INFO Speficied indices deleted.  
> > 2014-12-17 18:39:02,104 INFO Done in 0:00:00.047000.
> > 
> > but nothing happened to indices . I am getting the following response for the indices query
> > 
> > green open .marvel-2014.12.16 1 1 42513 0 112.4mb 56.2mb  
> > green open .marvel-2014.12.09 1 1 84937 0 222.2mb 111.1mb  
> > green open .marvel-2014.12.17 1 1 28939 0 76.7mb 38.2mb  
> > green open .marvel-kibana 1 1 2 0 44.1kb 22kb  
> > green open .marvel-2014.12.14 1 1 125557 0 289mb 144.5mb  
> > green open .marvel-2014.12.11 1 1 101401 0 244.3mb 122.1mb  
> > green open .marvel-2014.12.12 1 1 109457 0 255.2mb 127.6mb  
> > green open .marvel-2014.12.10 1 1 93207 0 232.5mb 116.2mb  
> > green open .marvel-2014.12.15 1 1 133493 0 309.2mb 154.6mb  
> > green open livelisting 5 1 26456 0 72.6mb 36.3mb  
> > green open .marvel-2014.12.13 1 1 117511 0 275mb 137.5mb
> > 
> > I am missing something here?
> > 
> > Thanks
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X\_v\_mGAbSouJ38\_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_v_mGAbSouJ38_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X\_v\_mGAbSouJ38\_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_v_mGAbSouJ38_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/dbb5c8bc-e08a-435a-add9-bc54b874c030%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/dbb5c8bc-e08a-435a-add9-bc54b874c030%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Cheten\_Dev](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@Cheten\_Dev](https://discuss.elastic.co/u/Cheten_Dev)\
**Post date:** [December 18, 2014, 6:03am UTC](https://discuss.elastic.co/t/curator/21296/5 "2014-12-18T06:03:59Z")

</div>

Thanks that worked 🙂

On Thursday, December 18, 2014 2:53:58 AM UTC+5:30, Aaron Mildenstein wrote:

> I'm presuming you're trying to prune marvel indices. Your command-line  
> would look similar to:
> 
> curator delete --older-than 3 --prefix .marvel-
> 
> Do not forget the trailing hyphen on that prefix. The prefix is supposed  
> to be everything preceding the time/datestamp on the index name, and the  
> suffix everything after it.
> 
> --Aaron
> 
> On Wednesday, December 17, 2014 7:07:02 AM UTC-7, David Pilato wrote:
> 
> > You need to change prefix.
> > 
> > --host localhost  
> > --port 9200  
> > -t (or --timeout) 30  
> > -T (or --time-unit) days  
> > -p (or --prefix) logstash-
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 17 déc. 2014 à 14:49, Mark Walkom [markw...@gmail.com](mailto:markw...@gmail.com) a écrit :
> > 
> > Try it with the -n and -D flags and see if that provides more info.
> > 
> > On 17 December 2014 at 14:12, Chetan Dev [chete...@carwale.com](mailto:chete...@carwale.com) wrote:
> > 
> > > Hi,
> > > 
> > > after executing the command curator delete --older-than 3 i got the following response
> > > 
> > > 2014-12-17 18:39:02,088 INFO Job starting...  
> > > 2014-12-17 18:39:02,104 INFO Deleting indices...  
> > > 2014-12-17 18:39:02,104 INFO Speficied indices deleted.  
> > > 2014-12-17 18:39:02,104 INFO Done in 0:00:00.047000.
> > > 
> > > but nothing happened to indices . I am getting the following response for the indices query
> > > 
> > > green open .marvel-2014.12.16 1 1 42513 0 112.4mb 56.2mb  
> > > green open .marvel-2014.12.09 1 1 84937 0 222.2mb 111.1mb  
> > > green open .marvel-2014.12.17 1 1 28939 0 76.7mb 38.2mb  
> > > green open .marvel-kibana 1 1 2 0 44.1kb 22kb  
> > > green open .marvel-2014.12.14 1 1 125557 0 289mb 144.5mb  
> > > green open .marvel-2014.12.11 1 1 101401 0 244.3mb 122.1mb  
> > > green open .marvel-2014.12.12 1 1 109457 0 255.2mb 127.6mb  
> > > green open .marvel-2014.12.10 1 1 93207 0 232.5mb 116.2mb  
> > > green open .marvel-2014.12.15 1 1 133493 0 309.2mb 154.6mb  
> > > green open livelisting 5 1 26456 0 72.6mb 36.3mb  
> > > green open .marvel-2014.12.13 1 1 117511 0 275mb 137.5mb
> > > 
> > > I am missing something here?
> > > 
> > > Thanks
> > > 
> > > --  
> > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e391b649-1230-4d0d-8514-57fdbc3f0995%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X\_v\_mGAbSouJ38\_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_v_mGAbSouJ38_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X\_v\_mGAbSouJ38\_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_v_mGAbSouJ38_waX3pdhw0qJhJhOhyc4LsruNRPMb%2Bg%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/398fce1e-2581-421f-aadc-187d238f56eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/398fce1e-2581-421f-aadc-187d238f56eb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:43am UTC](https://discuss.elastic.co/t/curator/21296/6 "2017-07-06T00:43:00Z")

</div>


