elasticsearch
Doooer
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
elasticsearch的http请求
const addData = { ‘from’ : 0, // 分页 ‘size’ : 10, ‘query’: { ‘bool’: { ‘must’: { ‘match’: { ‘key’: { //已知字段名 ‘query’ : keyword , ‘operator’: ‘or’, ‘minimum_should_match’: ‘75%’, //设置匹配度 } } ...原创 2019-10-30 13:47:03 · 723 阅读 · 0 评论 -
logstash配置 (分别输入kafka和数据库)
input{ kafka { bootstrap_servers => "****:9092" //kafaka启动端口 topics => ["test"] add_field => {"myid"=>"journal"} //添加字段 } jdbc { jdbc_connection_string => "jdbc:orac...原创 2019-10-30 09:16:31 · 975 阅读 · 0 评论
分享