1类型确定机制mappingsnumeric_detectiondynamic:是否支持动态添加字段2动态模板(dynamic_templates:基于字段)希望根据不同情形,如JSON格式中的字段名称和字段类型,来确定不同类型。3索引模板(indextemplate)
分类:
其他好文 时间:
2016-03-28 07:10:47
阅读次数:
208
1.Haproxy配置日志规则在/etc/haproxy/haproxy.conf的frontend下增加optionhttplog
optionlogasap
logLogServerIPlocal5
capturerequestheaderHostlen40
capturerequestheaderX-Forwarded-Forlen50
#capturerequestheaderAccept-Languagelen50
capturerequestheaderRefererlen..
分类:
其他好文 时间:
2016-03-26 20:32:39
阅读次数:
234
logstash+elastic+kibana日志管理工具介绍及安装一、 Logstash 安装1.1 前置条件,安装了官方java 7或更新版本
查看[ldx@1511-min ~]$ java -version
openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit S...
分类:
其他好文 时间:
2016-03-26 07:55:03
阅读次数:
222
内容 安装 RVM 安装 Ruby 和 Gems 安装 Rails 安装 jls-grok Ruby grok 解析 调试 grok 注意:不要用 root 执行以下操作。 用 logstash 收集 IIS、tomcat日志,或是其他,不找个调试 grok 的工具,每次重新加载文件,然后还得把 s...
分类:
其他好文 时间:
2016-03-23 13:16:05
阅读次数:
383
最近简单了解了关于ELK的知识: ELK 由ElasticSearch 、 Logstash 和 Kiabana 三个开源工具组成 官方网站:https://www.elastic.co/products | Elasticsearch 是个开源分布式搜索引擎,它的特点有:分布式,零配置,自动发现,
分类:
其他好文 时间:
2016-03-22 06:20:54
阅读次数:
203
一、检查环境#logstash的运行需要java支持
[root@elk-search1~]#java-version
javaversion"1.8.0_45"
Java(TM)SERuntimeEnvironment(build1.8.0_45-b14)
JavaHotSpot(TM)64-BitServerVM(build25.45-b02,mixedmode)二、安装包直接解压就能运行[root@elk-search1~]#tarxflogstash..
分类:
其他好文 时间:
2016-03-21 16:45:31
阅读次数:
171
query 和 filter 的区别请看: http://www.cnblogs.com/ghj1976/p/5292740.html Filter DSL term 过滤 term主要用于精确匹配哪些值,比如数字,日期,布尔值或 not_analyzed 的字符串(未经分析的文本数据类型): { ...
分类:
其他好文 时间:
2016-03-18 19:47:16
阅读次数:
258
运行环境如下Centos6.4elasticsearch1.7.2jdk-7u67-linux-x64.rpm一、检查当前操作系统的版本[root@es~]#hostname//查看当前的主机名称
es
[root@es~]#uname-m//查看系统是多少位
x86_64
[root@es~]#uname-r//查看内核版本
2.6.32-358.el6.x86_64
[root@es~]#cat/etc/redhat-re..
分类:
其他好文 时间:
2016-03-17 19:59:54
阅读次数:
419
#####################ElasticsearchConfigurationExample######################Thisfilecontainsanoverviewofvariousconfigurationsettings,#targetedatoperationsstaff.Applicationdevelopersshould#consulttheguideat<http://elasticsearch.org/guide>.##Theinstalla..
分类:
其他好文 时间:
2016-03-17 19:55:26
阅读次数:
1160
一、环境系统CentOS6.4x64最小化安装elk-search1192.168.3.71elk-search2192.168.3.72二、安装jdk[root@elk-search1~]#ll|greptar.gz
-rw-r--r--1rootroot28478292Mar1715:36elasticsearch-1.7.2.tar.gz
-rw-r--r--1rootroot173271626Mar1715:39jdk-8u45-linux-x64.tar.gz
-rw-..
分类:
其他好文 时间:
2016-03-17 19:51:06
阅读次数:
390