parent
0ce113f4c6
commit
17cf9ea8dc
@ -1,15 +1,16 @@
|
||||
|
||||
@baseUrl = https://127.0.0.1:9200
|
||||
@accounts = elastic:es-461400
|
||||
### 请求ES首页
|
||||
GET https://127.0.0.1:9200?pretty
|
||||
GET {{baseUrl}}?pretty
|
||||
Content-Type: application/json
|
||||
Authorization: Basic elastic:es-461400
|
||||
Authorization: Basic {{accounts}}
|
||||
|
||||
### 请求ES节点信息
|
||||
GET https://127.0.0.1:9200/_cat/nodes?v
|
||||
GET {{baseUrl}}/_cat/nodes?v
|
||||
Content-Type: application/json
|
||||
Authorization: Basic elastic:es-461400
|
||||
Authorization: Basic {{accounts}}
|
||||
|
||||
### ES健康信息
|
||||
GET https://127.0.0.1:9200/_cat/health?v
|
||||
GET {{baseUrl}}/_cat/health?v
|
||||
Content-Type: application/json
|
||||
Authorization: Basic elastic:es-461400
|
||||
Authorization: Basic {{accounts}}
|
||||
|
@ -1,37 +0,0 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"attachments": {},
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"使用 RestSharp 通过 ES WebApi 接口管理 ES\n",
|
||||
"======================================="
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": ".NET (C#)",
|
||||
"language": "C#",
|
||||
"name": ".net-csharp"
|
||||
},
|
||||
"language_info": {
|
||||
"name": "polyglot-notebook"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"polyglot_notebook": {
|
||||
"kernelInfo": {
|
||||
"defaultKernelName": "csharp",
|
||||
"items": [
|
||||
{
|
||||
"aliases": [],
|
||||
"name": "csharp"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
@ -1 +1,12 @@
|
||||
global using Xunit;
|
||||
global using Xunit.Abstractions;
|
||||
|
||||
global using Elastic;
|
||||
|
||||
global using Elastic.Clients;
|
||||
global using Elastic.Clients.Elasticsearch;
|
||||
|
||||
global using Elastic.Transport;
|
||||
global using Elastic.Transport.Diagnostics;
|
||||
global using Elastic.Transport.Extensions;
|
||||
global using Elastic.Transport.Products;
|
||||
|
@ -1,5 +0,0 @@
|
||||
### 请求ES集群服务 WebApi
|
||||
### 首页
|
||||
GET https://127.0.0.1:9201/
|
||||
|
||||
###
|
Loading…
Reference in New Issue