Setup & Integrations
Observability
Elasticsearch Cloud
the elasticsearch cloud integration can be configured via elastic's and resolve's uis create a service account token to access your elasticsearch environment a service account token is needed if you don’t already have a service account, please create one how to create a service account once you have a service account to use, you can create an api key with read only permissions option 1 create the api key via the ui \[recommended] in the elastic ui, open stack management > api keys click on create api key enter a name for your key, ex resolve api access in the control security privileges section, add this block for permissions permissions { "resolveai role" { "cluster" \[ "cluster\ monitor/main", "cluster\ monitor/stats", "cluster\ monitor/state" ], "indices" \[ { "names" \[" "], "privileges" \["read", "view index metadata", "monitor"] } ] } } option 2 create the api key via the rest api official documentation access and authentication run the following command please ensure that you replace the following properties elastic password this is the password of the elastic user elastic hostname this is the fqdn of the elastic endpoint curl k x put user \[elastic\ elastic password] \\ \ header "content type application/json" https //\[elastic hostname] 9200/ security/api key d '{"name" "resolve ai api access"} the response will include the encoded token please copy it response { "id" " ", "name" "resolve ai api access", "api key" " ", "encoded" "skpdbujavxxxxxxxxxxxx " // this is your token } note you must copy the encoded token you will not be able to retrieve it after creation store this token in a secure manner, and do not check into source code this token will be used in your resolve ai configuration configure the elasticsearch cloud integration in the ui login to https //app0 resolve ai/ go to the integrations page and and select “elasticsearch cloud” click on “add connection” add a name for the integration and fill in the configuration details the required field are url the endpoint to your elasticsearch instance (including the port number) token the api key that was generated in the previous step