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.
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.