I am trying to connect Hunk with mongoDB to visualize mongoDB data in Hunk.
I have installed Hunk 6.2.1 and also installed Hunk_App_for_MongoDB_101 on top of that.
I have set the Virtual Index to connect to the mongoDB instance running on the remote server.
The error displayed in search log is :
ERROR ScriptRunner - Couldn't start child process. script="/usr/java/jdk1.7.0_55-cloudera -Xmx512m -classpath /opt/hunk/bin/jars/SplunkMR-s6.0-h1.0.jar:/opt/hunk/etc/apps/MongoDBApp/bin/hunk_mongodb_app.jar:/opt/hunk/etc/apps/MongoDBApp/bin/lib/* com.splunk.erp.mongodb.MongoDBERP"
Virtual index(index.conf) snapshot is as follows :
[provider:local-mongodb]
vix.mongodb.host = 10.47.33.35:27017
vix.output.buckets.max.network.bandwidth = 0
vix.mongodb.auth.mechanism = CR
vix.mongodb.auth.password = test1
vix.mongodb.auth.username = test
vix.hadoop.security.authorization = 0
vix.command = /usr/java/jdk1.6.0_31
[mongodb_vix]
vix.input.1.path = /root/Downloads/
vix.mongodb.collection = local
vix.mongodb.db = startup_logs\
I am not sure what value we need to specify for "HDFS path(vix.input.1.path)"..Why is it asking "HDFS path" while creating virtual index for connecting mongoDB?
Also let me know if it is necessary to provide Java Home path (vix.command ), if yes, then if we need to provide java home path of the server where Hunk is running or the Java home path of the server where mongoDB instance is running. Kindly suggest.
If anyone has come across this kind of issue, kindly suggest how to debug it.
... View more