It's not documented in the Ref Guide, but you can set this system property to 
fix it:

SOLR_OPTS="-Dsolr.redaction.system.pattern=(.*password.*|.*your-own-regex.*)"

Then the property will show as --REDACTED— in the UI.

Note that the property still will leak through /solr/admin/metrics and you need 
to add the same exclusion in solr.xml, see 
https://lucene.apache.org/solr/guide/7_5/metrics-reporting.html#the-metrics-hiddensysprops-element
 

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 7. nov. 2018 kl. 20:51 skrev Naveen M <navav1...@gmail.com>:
> 
> Hi,
> 
> Is there a way to disable jvm properties from the solr UI.
> 
> It has some information which we don’t want to expose. Any pointers would
> be helpful.
> 
> 
> Thanks

Reply via email to