Getting Data In

Where to install the DBX db driver

Path Finder

Hello Again,

I have splunk enterprise running on a W2K8 R2 x64, and a MySQL database running
on a linux server. I would like to use DBX to run a query from Splunk on the windows machine,
and query the MySQL db.

There seems to be no driver for the db on the windows side, but there is a driver for Linux.
Should not the db driver go on the splunk server? or should I install the driver on the linux machine.

Thanks,
eholz1

0 Karma
1 Solution

Path Finder

Hello koshyk et al,

I am not quite sure I understand. Our forwarder is a linux machine using the Universal Forwarder. This box forwards
data to the Windows-hosted splunk server via tcp. The windows splunk server has the DBX installed.
If I install the driver on the forwarder (which is an *.rpm file) is the db connection then made from the forwarder to the database in question using the driver installed on the forwarder?

Thanks again for the clarification,

eholz1

View solution in original post

0 Karma

Path Finder

Hello koshyk,
Thanks for the input. I guess I was not clear, I do have the DBX component installed on my Windows based Splunk Enterprise server.
I am trying to get the DBX component to get data from the remote MySQL database.

Thanks Again,
eholz1

0 Karma

Super Champion

hi, yes. You just need to play around with the inputs/connections/identities to get the information.
Please upvote/accept if you think any of my replies helped.

0 Karma

Path Finder

Your replies did help, thanks!

Path Finder

Hello koshyk et al,

I am not quite sure I understand. Our forwarder is a linux machine using the Universal Forwarder. This box forwards
data to the Windows-hosted splunk server via tcp. The windows splunk server has the DBX installed.
If I install the driver on the forwarder (which is an *.rpm file) is the db connection then made from the forwarder to the database in question using the driver installed on the forwarder?

Thanks again for the clarification,

eholz1

View solution in original post

0 Karma

Super Champion

Universal Forwarder (UF) CANNOT have DBconnect installed. You need full Splunk Enterprise software for DBconnect and hence better to have a HF with java installed.

So two options in front of you are
1. Ensure your connectivity from your Windows-hosted splunk setup and install DBconnect within it. collect within a Search Head and send data to indexers.
2. Install Splunk Enterprise your Linux machine and make it a heavy forwarder and send it to Indexers.

0 Karma

Super Champion

The concept is
1. DBConnect to be installed in Splunk Heavy Forwarder (HF) (or a standalone Splunk system or in rare instances Splunk SHC)
2. Install DBconnect drivers in the same Splunk instance in this case Splunk HF
3. It should have connectivity to your client (ie. MySQL db in linux).

Hence the driver should be in Windows machine in your case as Splunk HF is a windows machine.