0

I am using ElasticSearch with mainly default configuration and noticed recently that my old indices are eating too much space. I believe they are being created automatically because of default configuration since I have not done any such configuration. Please help me with:

  • how many old indices I should generally keep?
  • does my today's search use index created yesterday?
  • can i live with just one index copy and reuse the same every time?
  • what purpose old indices serve?

Since ES is running on a Production server, I simply cannot delete old indices hence need expert advice. Thanks.

AAgg
  • 494
  • 1
  • 3
  • 19
  • Curious why you're building new indices all the time? The more common case is to just have one index in the same way you'd have one database in a SQL db. Then update/delete/create data there as needed – Doug T. Oct 04 '15 at 11:51
  • I am also wondering since I haven't configured anything to do that. I believe I can delete old indices after seeing your comment. – AAgg Oct 04 '15 at 15:24
  • What do you get when running `curl -XGET localhost:9200/_template`? – Val Oct 05 '15 at 03:48

1 Answers1

1

It's up to you to decide number of indices. I suggest you should go through the document first. It should answer all your questions in great details :) Retire your data

Amit Sharma
  • 281
  • 5
  • 8