调试 elastic

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-07-23 16:50:08 +08:00
parent f689185e64
commit 9635354efe

View File

@ -27,20 +27,26 @@ Kibana 适用于所有类型的数据。您的数据可以是结构化或非结
## 安装说明
> 登录账户信息,请从 `Elasticsearch` 日志中获取账户信息
> 首次安装 日志中获得初始化界面的地址,访问该地址进行初始化配置。
>
> 注册令牌,请从 `Elasticsearch` 日志中获取注册令牌信息
> http://127.0.0.1:5601/?code=xxxxxx
### 注册令牌
可通过以下方式获取注册令牌:
`ElasticSearch` 容器中执行以下命令:
```sh
cd /usr/share/elasticsearch/bin
./elasticsearch-create-enrollment-token -s kibana
# 或
/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana
```
### 登录账户
> 默认账户: `elastic`
>
> 首次登录地址,请查看日志获取登录地址信息
>
> http://127.0.0.1:5601?code=xxxxxx
### 登录方式
+ `用户名 + 密码`
通过 `elastic``kibana_system` 用户 + `密码` 登录
+ `Elasticsearch 服务 账户令牌`
通过 `Elasticsearch` 服务账户令牌登录,需要在 `Elasticsearch` 服务中获取
> 密码: 自行查看 ElasticSearch 参数配置