diff --git a/lib/logstash/outputs/cassandra.rb b/lib/logstash/outputs/cassandra.rb index d5a7c24..f6b7f49 100644 --- a/lib/logstash/outputs/cassandra.rb +++ b/lib/logstash/outputs/cassandra.rb @@ -11,7 +11,7 @@ class LogStash::Outputs::Cassandra < LogStash::Outputs::Base config_name "cassandra" # Cassandra server hostname or IP-address - config :hosts, :validate => :string, :required => true + config :hosts, :validate => :array, :required => true # The keyspace to use config :keyspace, :validate => :string, :required => true