How to remove old data without losing kibana dashboard?


(elham) #1

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?


(Aaron Mildenstein) #2

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.


(system) #3

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