TypechoJoeTheme

院长技术

统计
登录
用户名
密码
/
注册
用户名
邮箱
搜索到 13 篇与 ElasticSearch 的结果
2021-02-03

Elasticsearch之删除索引

Elasticsearch之删除索引
1、 #删除指定索引curl -XDELETE -u elastic:changeme http://localhost:9200/acc-apply-2018.08.09 {"acknowledged":true}2、#删除多个指定索引,中间用逗号隔开curl -XDELETE -u elastic:changeme http://localhost:9200/acc-apply-2018.08.09,acc-apply-2018.08.103、#模糊匹配删除curl -XDELETE -u elastic:changeme http://localhost:9200/acc-apply-* {"acknowledged":true}4、#使用通配符,删除所有的索引curl -XDELETE http://localhost:9200/_all 或 curl -XDELETE http://localhost:9200/* _all ,* 通配所有的索引 通常不建议使用通配符,误删了后果就很严重了,所有的index都被删除...
admin
2021-02-03

DevOps,E [FL] K,ElasticSearch

21 阅读
0 评论
2021年02月03日
21 阅读
0 评论
2021-02-02

Helm部署Filebeat + ELK

Helm部署Filebeat + ELK
系统架构图:1) 多个Filebeat在各个Node进行日志采集,然后上传至Logstash 2) 多个Logstash节点并行(负载均衡,不作为集群),对日志记录进行过滤处理,然后上传至Elasticsearch集群 3) 多个Elasticsearch构成集群服务,提供日志的索引和存储能力 4) Kibana负责对Elasticsearch中的日志数据进行检索、分析一、Elasticsearch部署官方chart地址:https://github.com/elastic/helm-charts/tree/master/elasticsearch创建logs命名空间kubectl create ns logs添加elastic helm charts 仓库helm repo add elastic https://helm.elastic.co安装helm install -name elasticsearch elastic/elasticsearch --namespace logs参数说明image: "docker.elastic.co/elasticsear...
2021年02月02日
40 阅读
0 评论
2020-08-19

CentOS7安装elk,并监控Nginx的access.log日志

CentOS7安装elk,并监控Nginx的access.log日志
我写的这篇文档的时候,是临时安装的最新版本:7.8.1kibana和es和被监控的nginx是三台机器安装Elasticsearch安装阿里源:wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo && yum makecache安装epel源:yum -y install epel-release && yum clean all && yum makecache安装常用软件:yum install lrzsz screen -y关闭防火墙:systemctl stop firewalld && systemctl disable firewalld关闭selinux:sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config && /usr/sbin/setenforce 0安装elasticsearch...
admin
2020-08-19

DevOps,Kibana,E [FL] K,ElasticSearch

34 阅读
0 评论
2020年08月19日
34 阅读
0 评论
2020-08-18

重启 es 异常 ERROR: [5] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]

重启 es 异常 ERROR: [5] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
报错如下:ERROR: [5] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535] [2]: max number of threads [1024] for user [es] is too low, increase to at least [4096] [3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] [4]: failed to install; check the logs and fix your configuration or disable system call filters at your own risk [5]: the default discovery settings are unsuitable for pr...
admin
2020-08-18

DevOps,ElasticSearch

18 阅读
0 评论
2020年08月18日
18 阅读
0 评论
2020-08-18

重启es 异常 ERROR: [2] bootstrap checks failed [1]: system call filters failed to install;

重启es 异常 ERROR: [2] bootstrap checks failed [1]: system call filters failed to install;
重启es 异常 ERROR: [2] bootstrap checks failed [1]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk [2]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured在 elasticsearch.yml中添加配置项:bootstrap.system_call_filter为false:bootstrap.memory_lock: falsebootstrap.system_call_filter: false
admin
2020-08-18

DevOps,ElasticSearch

17 阅读
0 评论
2020年08月18日
17 阅读
0 评论
IP信息

人生倒计时

今日已经过去小时
这周已经过去
本月已经过去
今年已经过去个月

今日天气

百度实时热点

  • 获取失败!