Optimizing Index Operations in Elasticsearch: Shrink & Rollover - Daily Elastic Byte S01E05
Вставка
- Опубліковано 6 вер 2024
- To ensure the smooth running of your Elasticsearch cluster, you need to be aware of how shards can be moved around the cluster according to their life cycle. Elasticsearch has some useful features like shrink and rollover operations for indices. In this session David Pilato, Principal Developer Advocate @ Elastic, will walk you through the various APIs and what to keep in mind. As he explores these rollover and shrink features, you'll learn how to manage and organize your indices effectively.
We will also talk about how to automate this in a future Elastic Daily Bytes session, so you don't have to worry about this.
🔗 Stay Connected:
- Elastic community events: community.elas...
- Slack workplace: ela.st/slack
- Have questions? Check out discuss.elasti...
#Elasticsearch #IndexManagement #Rollover #Alias #Elastic #elasticsearchtutorial
Thanks a lot for this video. That's exactly what I was looking for
Learn a lot from this video, thank you
Could you please share all the commands that you're running in this video
an we have a tag to the video Daily Elastic Byte or kibana bytes so that we can access it faster
Hi Nishith! All the Elastic Bytes are added to this playlist: ua-cam.com/play/PL_mJOmq4zsHZ7AX8jOa4NWibrulkzqw2S.html
POST /demo-rollover-write/_rollover
{
"conditions":{
"max_docs":10,
"max_age":"7d",
"max_size":"20gb"
}
} */regardless of your conditions, index rollover is not following max_docs:10. why? what if I want to match only (10 docs/7d/20GB ), not a single extra (doc/sec/byte)
I meant to say our condition should not exceeds ..It should follow it strictly (10/7d/20GB)