Getting Data In

Where to install the DBX db driver

eholz1
Contributor

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

eholz1
Contributor

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

eholz1
Contributor

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

koshyk
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

eholz1
Contributor

Your replies did help, thanks!

eholz1
Contributor

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

0 Karma

koshyk
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

koshyk
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.

Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...