Support Questions

Find answers, ask questions, and share your expertise

Space issue on Ambari infra solr instance

avatar
Contributor

Ambari infra solr is used for ranger audits for indexing in my project cluster . currently we are facing disk issue on ambari infra sever. Client requested to remove the audits older than two months to make free space on on server. Any body knows how to remove the audits data index on ambari infra solr instance server.

1 REPLY 1

avatar
Rising Star

Follow this article

https://community.hortonworks.com/articles/88259/set-time-to-live-ttl-on-solr-records.html

to set the values for the fields _ttl_ and _expire_at_ fields in the solrconfig.xml and related files and upload them to zookeeper and restart ambari-infra-solr services. That will help reducing the disk space usage according to the value of TTL setting.