摘要:
input { stdin{ } elasticsearch { hosts => ["http://127.0.0.1:9200"] user => "admin" index => "user_info" password => "admin" docinfo => true } } filte 阅读全文
摘要:
windows下使用filezilla上传文件权限问题(open for write: permission denied) 解决方式: 使用以下命令给我们需要放入的目标文件权限: sudo chmod 777 /home sudo chmod 777 /opt/ 阅读全文
摘要:
配置文件中添加配置 output { if [type]=="student" { elasticsearch { hosts => "10.130.225.49:9200" user => elastic password => elastic # index名 index => "monitor 阅读全文
摘要:
### Cause: java.sql.SQLException: Error writing file '/tmp/MY9ZJS2s' (Errcode: 28 - No space left on device) ; uncategorized SQLException for SQL []; 阅读全文
摘要:
//节点统计值 API 可通过如下命令获取: GET /_nodes/stats | //分片状态查看 GET /_cat/shards?v //查看索引占用情况GET _cat/segments?v&h=index,segment,size 阅读全文
摘要:
JwtToken JWT token的格式:header.payload.signature 1、header的格式(算法、token的类型): {"alg": "HS512","typ": "JWT"} 2、payload的格式(用户名、创建时间、生成时间): {"sub":"wu","creat 阅读全文
摘要:
org.springframework.data.mongodb.UncategorizedMongoDbException: Query failed with error code 17144 and error message 'Executor error: Overflow sort st 阅读全文
摘要:
elasticsearch 7.6.2使用x-pack添加登录认证 第一步:切换到elasticsearch的bin目录下,使用下列命令生成证书./elasticsearch-certutil cert -out config/elastic-certificates.p12 -pass "" 第二 阅读全文
摘要:
public void ESClientInit() { public static RestHighLevelClient client = null; //不需要用户名和密码的认证 //client = new RestHighLevelClient(RestClient.builder(new 阅读全文
摘要:
public Result<List<Code>> getCodes(@RequestParam(required = false) String name, @RequestHeader(required = false) HttpHeaders headers) { Query query = 阅读全文