技术课题 Docker/Kubernetes Spring Boot / Spring Cloud Zookeeper Elasticsearch / Lucene /Solr Logstash Kibana Redis MongoDB Spark Storm / JStorm Dubbo/Thri ...
分类:
其他好文 时间:
2016-06-20 10:06:25
阅读次数:
219
参考本人监控篇:PythonMonitorElasticsearch
分类:
编程语言 时间:
2016-06-19 18:41:40
阅读次数:
156
ElasticSearch个基于Lucene的搜索服务器;可以使用多节点的备份;集群设置;(类似是个数据库型、有索引有什么的)、(luceneapache基金的全文检索引擎的架构)1、ElasticSearch安装使用;软件架构安装时第一步;检测JDK环境在8版以上;如果已经有了可以安装卸载掉yumremovejdk如..
分类:
其他好文 时间:
2016-06-18 01:35:13
阅读次数:
398
#mysql_slow.confinput{file{type=>"mysql-slow"path=>"/var/log/mysql_slow_log.log"}}filter{if[type]=="mysql-slow"{#grep{#ignore‘#Time:‘asweusetheSETtimestamptogetthetime.grepisactually#onthedeprecationcyclesoneedtofigureoutanalternativetothis#match=>..
分类:
数据库 时间:
2016-06-16 13:29:21
阅读次数:
356
logstash配置文件#nginx_log.confinput{file{type=>"nginx_log"path=>"/opt/nginx/logs/access.log"}}filter{if[type]=="nginx_log"{grok{match=>{"message"=>"%{NGINXACCESS}"}}if([message]=~"^*launcher*|^*favicon*"){drop{}}geoip{source=>"remote_addr"ta..
分类:
其他好文 时间:
2016-06-16 13:28:06
阅读次数:
443
修改环境配置文件#/etc/bashrc添加以下内容:HISTFILE=‘/var/log/history_command.log‘if[!-f$HISTFILE];thentouch$HISTFILEchmod666$HISTFILEfiexportHISTTIMEFORMAT="%F%T,$HOSTNAME,$(who-uami2>/dev/null|\awk‘{print$NF}‘|sed-e‘s/[()]//g‘),$(whoami|awk‘{print$1}‘),$..
分类:
系统相关 时间:
2016-06-16 13:28:05
阅读次数:
420
一、UpdatingDocumentsThisexampleshowshowtoupdateourpreviousdocument(IDof1)bychangingthenamefieldto"JaneDoe":curl-XPOST‘192.168.56.101:9200/customer/external/1/_update?pretty‘-d‘{"doc":{"name":"JaneDoe"}}‘Thisexampleshowshowtoupdateourpreviousdocument(IDof1)..
分类:
其他好文 时间:
2016-06-16 11:50:06
阅读次数:
198
ELK实际图例详细内容见:https://www.chinasa.net/archives/297.html
分类:
其他好文 时间:
2016-06-16 11:46:03
阅读次数:
120
一、ClusterHealth可以通过CURL命令发送REST命令,查询集群的健康状态:curl‘192.168.56.101:9200/_cat/health?v‘参数说明192.168.56.101是主机的IP地址,9200是监听的端口号,Elasticsearch默认监听的端口号就是9200得到相应的结果,详细相信请查看附件(cluster健康检查)可..
分类:
其他好文 时间:
2016-06-14 19:53:50
阅读次数:
370
1、JDK安装对于Elasticsearch来说,至少需要JDK1.7上的版本,但我们建议使用OracleJDKversion1.8.0_73,JDK的安装这里不再细讲,安装完成之后检查一下JDK的版本java-version
echo$JAVA_HOME2、下载最新的Elasticsearch版本curl-L-Ohttps://download.elastic.co/elasticsearch/r..
分类:
其他好文 时间:
2016-06-14 12:12:25
阅读次数:
142