How to remove old data without losing kibana dashboard?

Hi
my elasticsearch server have limit storage and i had to remove ot archive old data from it. I removed some old data in path var/data/elasticsearch/node0/ but after restart kibana i had losed all of my dashboards and visualizes. Is there any way to archive old data from elastic without lising kibana configurations?

Never, ever touch the files in your path.data directory. You should only delete data from Elasticsearch using the API. To delete indices, you can use the DELETE REST request:

DELETE /my_index

For managing multiple indices, there is the Elasticsearch Curator tool.

To delete data from within indices, look into the delete_by_query tool.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.