input {
kafka {
bootstrap_servers => "localhost:9092"
topics => ["goods_mylog"]
}
}
output {
stdout { codec => rubydebug }
elasticsearch {
hosts => ["localhost:9200","localhost:9201"]
index => "goods_mylog"
}
}
input {
kafka {
bootstrap_servers => "localhost:9092"
topics => ["goods_mylog"]
}
}
output {
stdout { codec => rubydebug }
elasticsearch {
hosts => ["localhost:9200","localhost:9201"]
index => "goods_mylog"
}
}
條款24 ----》條款24:若所有參數皆需類型轉換,請爲此採用non-member函數 **
12315 https://www.12315.cn/cuser/ 互聯網信息服務投訴平臺 https://ts.isc.org.cn/#/login