Open Jrizzi1 opened 9 years ago
What information is needed? I am afraid I do not understand what is missing.
which script do i modify? whats my elasticsearch cluster address, is that for instance my localhost address? what do i run the script command in? what is a "lib directory on the classpath"?
understand I am coing at this as having only experience with your river plugin pre 1.5, and I am sorry I am lost but it is a little more confusing than _river setup
Did you unpack the JDBC importer? Then you see bin and lib directory. You need to modify the importer script in the bin directory to set the correct path where you unpacked the JDBC importer to. Ask your Elasticsearch administrator for the address to connect with a TransportClient, if you can not find it. You run the JDBC importer script in a shell like bash, like Elasticsearch script itself. It is very similar.
I'm with you Jrizzi1 on this one! I downloaded elasticsearch-jdbc-1.7.2.1, but I still don't know what this famous "importer script is"? Is it log4j2.xml?
@Jrizzi1 After unpacking the zip file, do the following:
"type" : "jdbc",
"jdbc" : {
"driver":"com.microsoft.sqlserver.jdbc.SQLServerDriver",
"url" : "jdbc:sqlserver://xx;databaseName=yy",
"user" : "",
"password" : "",
"sql" : ""
"index":"elasticsearch index where you want to push data",
"type":"",
"elasticsearch" : {
"cluster" : "ES cluster name",
"host" : "ES host name",
"port" : 9300
},
"max_bulk_actions" : 20000,
"max_concurrent_bulk_requests" : 10,
"index_settings" : {
"index" : {
"number_of_shards" : 1,
"number_of_replica" : 0
}
}
}
}
' | java \
-cp "${lib}/*" \
-Dlog4j.configurationFile=${bin}/log4j2.xml \
org.xbib.tools.Runner \
org.xbib.tools.JDBCImporter
I am trying to determine the last two steps of the new installation guide
I currently am running ES 1.3.2, and previously I put the river SQL in _meta using the sense/marvel plugin. I know the river is deprecated from 1.5 moving forward, at the same time I am at a loss as to how to execute the final two steps
Any extra information is greatly appreciated