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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...