input {
redis {
host => "127.0.0.1"
port => 6379
type => "redis-input"
data_type => "list"
key => "key_count"
}
}
output {
# stdout {}
elasticsearch {
hosts => ["127.0.0.1:9201"]
index => "production-safe-catalina-%{+YYYY.MM.dd}"
ssl => false
ssl_certificate_verification => false
keystore => '/work/elasticsearch-2.3.5/config/node-0-keystore.jks'
keystore_password => 'changeit'
truststore => '/work/elasticsearch-2.3.5/config/truststore.jks'
truststore_password => 'changeit'
workers => 1
flush_size => 20000
idle_flush_time => 10
template_overwrite => true
user => 'admin' //必须要有这2个值
password => 'admin'
}
redis {
host => "127.0.0.1"
port => 6379
type => "redis-input"
data_type => "list"
key => "key_count"
}
}
output {
# stdout {}
elasticsearch {
hosts => ["127.0.0.1:9201"]
index => "production-safe-catalina-%{+YYYY.MM.dd}"
ssl => false
ssl_certificate_verification => false
keystore => '/work/elasticsearch-2.3.5/config/node-0-keystore.jks'
keystore_password => 'changeit'
truststore => '/work/elasticsearch-2.3.5/config/truststore.jks'
truststore_password => 'changeit'
workers => 1
flush_size => 20000
idle_flush_time => 10
template_overwrite => true
user => 'admin' //必须要有这2个值
password => 'admin'
}
}
必须要有user、password这2个值,否则提示
SSL peer shut down incorrectly