Kibana globaly change discover:sampleSize

Hello

I need to change globally one setting in Kibana "discover:sampleSize"
I don't want to give users access to advanced options for fear of damaging something

How can I do this?

Hi @elkuser1234,

Advanced Settings can be also configured via kibana.yml. Then in UI they would become disabled. Example:

# in kibana.yml
uiSettings.overrides.discover:sampleSize: 100

thanks for your help, this is what I was looking for