Use the index lifecycle management (ILM) feature in Elasticsearch to manage your Packetbeat their backing indices of your data streams as they age.