Whats the best way to purge saved objects such as saved searches and visualizations that are not being used by a dashboard?
I have a bunch of beats dashboards and I am not currently utilizing all of them..
Whats the best way to purge saved objects such as saved searches and visualizations that are not being used by a dashboard?
I have a bunch of beats dashboards and I am not currently utilizing all of them..
@Matt_Vasquez there's no automated way or built-in way to do this.
if you feel adventurous, you could write a script that queries the objects in the internal .kibana
index.
http://localhost:9200/.kibana/_search
for all the ones where type: visualization
and type: dashboard
. Remove from that .kibana-index all the visualizations, that are not present in the panelJson
of the dashboard object.
YMMV
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.