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
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
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
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.
Your replies did help, thanks!
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
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.
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.