Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ERROR][logstash.outputs.amazones] Failed to install template: [400] {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [string] declared on field [@version]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_default_]: No handler for type [string] declared on field [@version]","caused_by":{"type":"mapper_parsing_exception","reason":"No handler for type [string] declared on field [@version]"}},"status":400}
- input {
- jdbc {
- jdbc_connection_string => "jdbc:mysql://localhost:3306/testdb"
- # The user we wish to execute our statement as
- jdbc_user => "root"
- jdbc_password => "root"
- # The path to our downloaded jdbc driver
- jdbc_driver_library => "/mnt/c/Users/xxxxxxxx/mysql-connector-java-5.1.45/mysql-connector-java-5.1.45-bin.jar"
- jdbc_driver_class => "com.mysql.jdbc.Driver"
- # our query
- statement => "SELECT * FROM testtable"
- }
- }
- output {
- amazon_es {
- hosts => ["search-xxxxx.eu-west-3.es.amazonaws.com"]
- region => "eu-west-3"
- aws_access_key_id => 'xxxxxxxxxxxxxxxxxxxxxx'
- aws_secret_access_key => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
- index => "test-migrate"
- document_type => "data"
- }
- }
Add Comment
Please, Sign In to add comment