跳到主要内容

ElasticSearch authentication

在 ElasticSearch 中
作者列表
已发布: 2023年12月7日|最后更新: 2023年12月7日

ElasticSearch AuthenticationCopy link to ElasticSearch Authentication to clipboard

Deskpro supports authentication for ElasticSearch using pre-configured credentials.

Note


To use ElasticSearch authentication you will need to have created user credentials already for the ElasticSearch service. For more infomation please read ElasticSearch's own documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/users-command.html

To use the created credentials you will need to update the ElasticSearch server URL with the username and password in the following format:

https://user:password@elasticsearch.url:9200/
copy

Web GUICopy link to Web GUI to clipboard

You can update the Deskpro instance within the OPC web GUI. Navigate to your instances ElasticSearch page and click 'Edit Parameters' on the Connection card.

image.png

Update the URL with the required credentials, then click 'Validate' to confirm the settings before clicking 'Save'

image.png

CLICopy link to CLI to clipboard

You can run the following command to set your instance to use an ElasticSearch server with a defined user and password

opc inst -i instance config set --es-host https://user:password@elasticsearch.url:9200/
copy
有帮助没有帮助
下一个页面Index reset
上一个页面External ElasticSearch server

请登录或注册以提交评论。