# Index timestamps not working properly?

**URL:** <https://discuss.elastic.co/t/index-timestamps-not-working-properly/21188>\
**Category:** Elasticsearch\
**Created:** [December 10, 2014, 1:52pm UTC](https://discuss.elastic.co/t/index-timestamps-not-working-properly/21188 "2014-12-10T13:52:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grauen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grauen/32/88529_2.png) [@Grauen](https://discuss.elastic.co/u/Grauen)\
**Post date:** [December 10, 2014, 1:52pm UTC](https://discuss.elastic.co/t/index-timestamps-not-working-properly/21188/1 "2014-12-10T13:52:14Z")

</div>

want to close my indices by using curator  
[https://github.com/apache/curator](https://github.com/apache/curator). Curator allows you to delete or close  
indices by time, so if you say "close --older-than 30" it will close all  
indices older than 30 days. I use curator on 3 machines and it is working  
fine on 2 of them.

When I call curator on the 3rd machine, nothing will happen, _no indices  
will be deleted_ (the indices have been added to elasticsearch 90 days ago  
by using _logstash_. There is no exception, this is the output of curator:

2014-12-10 14:27:18,657 INFO Job starting...  
2014-12-10 14:27:18,663 INFO Closing indices...  
2014-12-10 14:27:18,670 INFO Closed specified indices.  
2014-12-10 14:27:18,670 INFO Done in 0:00:00.021329.

I know that this can be caused by using the wrong date-format for the  
indices timestamps or if the indices actually have no timestamps defined.  
But I actually don't know how to check for this mistake.

_How can I see if an index has a valid timestamp?_

Sincerly

Chris

--  
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/d2d49606-4a4c-4be7-8106-3d583bb8f78b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d2d49606-4a4c-4be7-8106-3d583bb8f78b%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:44am UTC](https://discuss.elastic.co/t/index-timestamps-not-working-properly/21188/2 "2017-07-06T00:44:28Z")

</div>


