Logstash error for cassandra database


#1


i am trying to get my cassandra data into the logstash, this is the logstash log file that I am getting after trying to execute logstash.

my simple-out.conf file is as follows
# cassandra jdbc connection string to our database, thinhsboard
jdbc_connection_string => "jdbc:cassandra://localhost:9042/thingsboard"
# The user we wish to execute our statement as
jdbc_user => "cassandra"
jdbc_password => "cassandra"
# The path to our downloaded jdbc driver
jdbc_driver_library => "/home/ubuntu_admin/cassandra-jdbc-1.2.5.jar"
# The name of the driver class for Cassandra
jdbc_driver_class => "org.apache.cassandra.cql.jdbc.CassandraDriver"
# our query
statement => "SELECT * from ts_kv_cf"
clean_run => true
jdbc_paging_enabled => "true"
jdbc_page_size => "50000"
}
}
output {
elasticsearch {
hosts => [ "localhost:9200" ]
index => "logs"
document_type => "data"
}

i have created index_pattern as logs in kibana. Please let me know if the document_type can be any name or it is something specific, here in the conf file i have given it as data.
please help to resolve this issue