Other relevant Elasticsearch settings
editOther relevant Elasticsearch settings
editAutomatic index creation
editMarvel relies on Elasticsearch’s capability to automatically create new indices when indexing documents. Some people like to disable this feature to better protect against mistakes in production clusters. To do so but still allow the creation of Marvel indices you need to set the following:
action.auto_create_index: .marvel-*
More information is available here
CORS
editIf you are using Sense to access a remote cluster, you will need to make sure Cross-origin resource sharing (CORS) is enabled on the cluster. The relevant settings are:
Elasticsearch will allow CORS requests from any source, echoing the source in the Allow Origin header. Needed for basic authentication support. You may want tighten it to only allow the domain where Sense is hosted. |
|
Elasticsearch will respond with |
Please see the Elasticsearch documentation for more information.
enabling CORS may result in unwarrented access to your cluster. Consider these settings carefully.