ELASTICSEARCH 八月 26, 2023

Elasticsearch Authentication of [kibana_system] was terminated by realm [reserved] 报错解决

文章字数 477 阅读约需 1 mins.

问题原因是 kibana_system 的用户名密码不正确

修改密码方式

进入 elasticsearch docker 容器内部, 执行

curl -X POST --cacert config/...
查看全文

大数据篇 七月 21, 2022

EFK(Elasticsearch8 + FileBeat + Kibana) 日志分析平台搭建

文章字数 7.4k 阅读约需 7 mins.

记录下 EFK(Elasticsearch8 + FileBeat + Kibana) 日志分析平台搭建
并加以用户名密码保护

先启动一个 ES 节点,进入节点后使用下面的命令生成证书

    if [ x${ELASTIC_PASSWORD} == x ]; then
          echo "Set the ELASTIC_PASSWORD environment variable in the .env file";
          exit 1;
        elif [ x${KIBANA_PASSWORD} =...
查看全文

ELASTICSEARCH 三月 12, 2021

Elasticsearch maximum shards open 的问题

文章字数 473 阅读约需 1 mins.

https://www.elastic.co/guide/en/elasticsearch/reference/7.10/modules-cluster.html

修改 yml 文件:

cluster.max_shards_per_node 的配置

或者

PUT _cluster/settings

    {
      "transient": {
        "cluster.max_shards_per_node": 5000
      }
    }
查看全文

SPRINGBOOT篇 四月 29, 2020

重剑无锋,大巧不工 SpringBoot --- 使用 rest-high-level-client 连接 Elasticsearch

文章字数 8.5k 阅读约需 8 mins.

版本环境

  1. Elasticsearch 6.4.3
  2. SpringBoot 2.1.2.RELEASE

引入依赖

    compile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-high-level-client', version: '6.4.3'

配置

其实引入这依赖后, spring-boot-autoconfigure-2.1.2.RELEASE.jar 这个依赖你会为...

查看全文

大数据篇 十二月 23, 2019

Elasticsearch Nested 类型动态数据的组合查询

文章字数 3.7k 阅读约需 3 mins.

背景

Nested 类型的数据不多说了,
先看 mapping:

    "metaArray": {
        "type": "nested",
        "properties": {
          "key": {
            "type": "text",
            "analyzer": "ik_max_word",
            "fields": {
              "...
查看全文
加载更多
0%