Splunk Dev

how to connect python script to Apache Derby Database???

ryuch2002
Explorer

splunk 6.2.0 / OS : window7-64bit

I am trying to connect to "Apache Derby Database" from python script.

The python script deployed in universal forwarder.

i installed python2.7 in universal forwarder.

i can't find ODBC-Driver.

Q1.where to download ODBC-Driver???

Q2.How to install ODBC-Driver at window(Unix,Linux)??

Q3.I'd like to get connected to the sample code(python to Derby Database).

Tags (3)
0 Karma

thomrs
Communicator

A universal forwarder may not be the way to go, a heavy forwarder has python included.

http://docs.splunk.com/Splexicon:Heavyforwarder

You may have better luck switching your approach, I've never had luck getting python and derby to talk. Always ended up using jython or java.

http://www.jython.org/

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...