你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
rockybean - Elastic Certified Engineer, ElasticStack Fans,公众号:ElasticTalk
赞同来自:
wg2120309 - ITNAN
要回复问题请先登录或注册
ITNAN
3 个回复
rockybean - Elastic Certified Engineer, ElasticStack Fans,公众号:ElasticTalk
赞同来自:
wg2120309 - ITNAN
赞同来自:
input{ kafka{
client_id => "p1"
bootstrap_servers => "127.0.0.1:9290" #我随便写了一个
group_id => "p1"
security_protocol => "SASL_PLAINTEXT"
sasl_mechanism => PLAIN
codec => "json"
jaas_path => "/usr/share/logstash/jaas.conf"
topics => ["p1"]
}
}
output{
elasticsearch{
hosts => ["127.0.0.1:9202"]
user => ""
password => ""
action => "index"
index => "p-%{+YYYY.MM}"
codec => "json"
}
}
rockybean - Elastic Certified Engineer, ElasticStack Fans,公众号:ElasticTalk
赞同来自:
https://www.elastic.co/guide/e ... .html