ELK ELK是Elasticsearch、Logstash、Kibana三大开源框架首字母大写简称。市面上也被成为Elastic Stack。 Elasticsearch是一个基于Lucene、分布式、通过Restful方式进行交互的近实时搜索平台框架。像类似百度、谷歌这种大数据全文搜索引擎的场景 ...
分类:
其他好文 时间:
2020-06-09 16:51:12
阅读次数:
54
spring: application: name: sysgateway cloud: gateway: globalcors: cors-configurations: '[/**]': # 匹配所有请求 allowedOrigins: "*" #跨域处理 允许所有的域 allowedMetho ...
分类:
编程语言 时间:
2020-06-09 15:00:11
阅读次数:
453
一.概念 概念:自动或手动为index中的_doc建立的一种数据结构和相关配置,简称为mapping映射。 动态映射:dynamic mapping,自动为我们建立index,以及对应的mapping,mapping中包含了每个field对应的数据类型,以及如何分词等设置。 我们当然也可以手动在创建 ...
分类:
移动开发 时间:
2020-06-09 14:54:55
阅读次数:
81
一、 堆(heap)和栈(stack) 栈(stack)会自动分配内存空间,会自动释放。堆(heap)动态分配的内存,大小不定也不会自动释放。 二、 基本类型和引用类型 基本类型:简单的数据段,存放在栈内存中,占据固定大小的空间。 引用类型:指那些可能由多个值构成的对象,保存在堆内存中,包含引用类型 ...
分类:
Web程序 时间:
2020-06-09 11:21:06
阅读次数:
100
一.pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan ...
分类:
编程语言 时间:
2020-06-08 20:50:00
阅读次数:
68
基于ELK Nginx日志分析 - 云+社区 - 腾讯云 https://cloud.tencent.com/developer/article/1586589 ELK收集监控nginx请求日志_sdmei-CSDN博客_es采集nginx日志 https://blog.csdn.net/sdmei ...
分类:
其他好文 时间:
2020-06-08 13:08:36
阅读次数:
60
Given two sequences pushed and popped with distinct values, return true if and only if this could have been the result of a sequence of push and pop o ...
分类:
其他好文 时间:
2020-06-08 00:29:09
阅读次数:
53
一.入门 1.检查集群健康状态API GET /_cat/health?v 健康状态说明: green:每个索引的primary shard和replica shard都是active状态的 yellow:每个索引的primary shard都是active状态的,但是部分replica shard ...
分类:
其他好文 时间:
2020-06-07 21:49:42
阅读次数:
85
With Sheets("Report").ChartObjects.Add(...) .Chart.Axes(xlCategory).MinimumScale = RoundTo50(Sheets(sheetName).Range("M4")) .Chart.Axes(xlCategory).Ma ...
分类:
编程语言 时间:
2020-06-07 21:45:16
阅读次数:
115
Headers <algorithm> <vector> <array> <list> <stack> <queue> <set> <map> <unordered_set> <unordered_map> <string> <iterator> <utility> <tuple> <numeric ...
分类:
编程语言 时间:
2020-06-07 21:34:14
阅读次数:
88