Security

Splunk dbconnect v2 not working

ViniciusANT
Explorer

I just intalled splunkdb connect v2 and also java jdk 8 in my pc, but when I start the splunkdb connect v2 app, its just gives me a blank page.

Is there anything I'm missing ?

04-08-2015 12:06:15.325 -0300 ERROR AdminManagerExternal - Unexpected error "" from python handler: "'utf8' codec can't decode byte 0xe3 in position 27: invalid continuation byte". See splunkd.log for more details.
04-08-2015 12:06:15.325 -0300 ERROR AdminManagerExternal - Stack trace from python handler:\nTraceback (most recent call last):\n File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\admin.py", line 71, in init\n print hand.toXml(info)\n File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\admin.py", line 496, in toXml\n confInfo.toXml(info)\n File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\admin.py", line 312, in toXml\n v.toXml(tmpNode) # calls ArgsList.toXml().\n File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\admin.py", line 245, in toXml\n ArgsList.toXml(self, dataNode)\n File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\admin.py", line 162, in toXml\n item.text = unicode(v)\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 27: invalid continuation byte\n

Tags (1)

aladda_splunk
Splunk Employee
Splunk Employee

Also check this answers post out - https://answers.splunk.com/answers/303931/db-connect-2-socket-error.html. Port 9998 already being bound is another reason the app results in blank page. You can fix that by modifying/adding to the rpcstart://default stanza in inputs.conf...something along these lines

[rpcstart://default]
javahome = /opt/splunk/jdk1.8.0_45/jre
port = 9085

adauria_splunk
Splunk Employee
Splunk Employee

Are you a Splunk Admin? If not, are you a DB Connect Admin or User? I've seen a similar issue with the old version where you permissions caused similar behavior.

-Andrew

0 Karma
Get Updates on the Splunk Community!

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened Audit Trail v2 wasn’t written in isolation—it was shaped by your voices. In ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...