ElasticSearch


  • brief introduction
  • Table of contents
  • Latest documents
  • Collection Download

    Elastic接口调用样例

    https://www.elastic.co/guide/en/elasticsearch/reference/8.2/rest-apis.html

    zhangky - June 16, 2022, 7:15 p.m.


    创建用户

    shell curl -u 'elastic:password' -X POST "localhost:9200/_security/user/${username}?pretty" \ -H 'Content-Type: application/json' \ -d' { "password" : "${password}", "roles" : [ "superuser" ], ………

    zhangky - June 16, 2022, 7:14 p.m.


    elasticsearch-5.4.1集群部署

    elasticsearch-5.4.1集群部署 部署前准备 jdk1.8.0_121安装包:https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html elasticsearch5.4.1安装包:wget https://artifacts.elastic.co/downloads/elastic………

    zhangky - Jan. 10, 2022, 4:15 p.m.


    ElasticSearch安装

    ElasticSearch 说明 版本 7.11.2 已配置ISCSI存储 默认使用集群模式,为扩容准备 配置文档 https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html 环境信息 127.0.0.1 ISCSI 存储4T 挂载至 /data fstab需要加 _netdev 安装 `………

    zhangky - Jan. 4, 2022, 1:39 p.m.


    curator脚本

    curator脚本 使用方式 curator 脚本名 创建索引别名 因为filebeat直接传输到elasticsearch中的索引名默认为filebeat-xxx, 为了更好的区分业务所以需要为filebeat传输的索引设置默认别名 如何设置别名在elk安装文档中已经提过,详见[安装ELK] 那么为了查询已经传输过的filebeat的索引,就需要单独为索引创建别名 脚本内容如下………

    zhangky - Dec. 16, 2021, 10:46 a.m.



    zhangky , ouyangxf