你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
novia - 1&0
赞同来自: zhujw 、laoyang360
output{ elasticsearch{ hosts => "xxx.xxx.xxx.xxx:9200" flush_size => 100 index => "xxx_log_%{+yyyy.MM.dd}" document_id => "%{uuid}" manage_template => true template_overwrite => true template_name => "xx-log" template => "/etc/xxx/template/xx_template.json" } stdout{ codec => rubydebug } }
netkiller
赞同来自: zhujw 、王社英
input { jdbc { jdbc_driver_library => "/usr/share/java/mysql-connector-java.jar" jdbc_driver_class => "com.mysql.jdbc.Driver" jdbc_connection_string => "jdbc:mysql://netkiller:3306/cms" jdbc_user => "cms" jdbc_password => "" schedule => "* * * * *" statement => "select * from article" } } output { elasticsearch { hosts => "netkiller:9200" index => "information" document_type => "article" document_id => "%{id}" } }
laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net
赞同来自:
要回复问题请先登录或注册
3 个回复
novia - 1&0
赞同来自: zhujw 、laoyang360
netkiller
赞同来自: zhujw 、王社英
参考这个:https://www.netkiller.cn/datab ... dp125
laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net
赞同来自: