All of a sudden my Splunk DB Connect 2 is not working.
Error : RPC Service Down.
Recycled Splunk service, but no luck.
Jre installation path : /opt/splunk/java8/jre1.8.0_60/
I don't see any errors in jbridge.log.
Below is the error from dbx2.log:
[CRITICAL] [ws.py] [DBInput Service] [Errno -2] Name or service not known
Kindly help me out on this issue. What do I need to look at to get this fixed?
Thanks for you help!
I had a very similar problem which turned out to be something incorrect in my path specification for Java. and though I forgot what the path had been (something VERY much like the correct path below, but not identical), but changing that path to fixed the issue.
In your case try this path :
see this link it can help you:
My java location is /opt/splunk/java8/jre1.8.060/, do you want me to move java to "/opt/jre1.8.040/bin/java" and configure it again??
Current configuration is working from so many days, all of a sudden we are seeing this issue.
Jvm options : -Xmx2048m -XX:+UseConcMarkSweepGC
Here are the steps of an example of a connection to a MySQL database using windows Operating System Splunk CONNECTION TO DATABASE IF ANY CASE: MYSQL 1. creation of the database 2. installation of a local server or server xampp or WampServer 3. import your database to the local server 4. Install in the SplunkDbConnect Splunk application and configure start a) specify the path of jdk or jre in your machine by default was: C: \ Program Files \ Java \ jdk1.6.0 or C: \ Program Files \ Java \ jre1.6.0 b) Download and install mysql-connector-java-5.1.32-gpl c) go to the installation folder C: \ Program Files \ MySQL \ MySQL Connector J d) copy to this directory in the mysql-connector-java-5.1.32-bin.jar paste and go to C: \ Program Files \ Splunk \ etc \ apps \ dbx \ bin \ lib e) then restart Splunk 5. After connection in splunk, you execute the implementation SplunkDbConnect 6. Then you click Database connections in Splunk Manager and click New then sue inform apparaisssent boxes. 7. Name = name of the Data Base that you need and that will be recorded in splunk. Type = DataBase MySql Host = localhost UserName = Root DataBase = Name Creates base. If applicable DataBaseTest. Then you click Fetch database names to see the catalog Databases and select the one you want 8. Finally, you click on Save.