I am trying to automate the configuration changes for ReadonlyREST.
Manually editing the ReadonlyREST configuration in the Kibana App (/app/readonlyrest_kbn) works, but I would like for this to be done by an automation solution.
Every time a new index is created for a project, the ReadonlyREST configuration needs to be adjusted by adding a section for it such as:
- name: “Accountants indices”
kibana_hide_apps: [“readonlyrest_kbn”, “timelion”, “ml”, “infra:home”, “apm”, “uptime”, “siem”, “monitoring”, “kibana:management”]
How can I supply the ReadonlyREST configuration and Save it via the API so that this can be performed automatically ?
An alternative to this would be to generate the readonlyrest.yml, copy it to each elasticsearch node in the cluster and restart elasticsearch on each node.
My company is a ReadonlyREST Enterprise Subscriber.
- Elasticsearch/Kibana version: 7.8.1
- ReadonlyREST versions: