Getting Data In
Highlighted

How can I access the logs which are available in a MySQL database on a remote server?

New Member

How can I access the logs which are available in My SQL database in my remote server?

Hi i am having two servers i.e., Server1 and Server2.

In Server1, I have installed Splunk Light Linux version and In Server 2, I have installed universal forwarder Linux version.

Thing is I have to track the logs of server2 in server 1, that's why I have downloaded the universal forwarder in server2 to forward the logs to server1 instance.

Is there any way to access the logs of Server2 which is available in MySQL database from server1?

0 Karma
Highlighted

Re: How can I access the logs which are available in a MySQL database on a remote server?

Splunk Employee
Splunk Employee

sorry, i'm unclear on the issue.
Where is MySQL installed? on S1 or S2?
Do you need data that's inside MySQL (stored in tables, etc) or data that's on the filesystem?

0 Karma
Highlighted

Re: How can I access the logs which are available in a MySQL database on a remote server?

New Member

My SQL is installed in Server2. Logs are stored as a raw data in tables in My SQL database. I need to access those table from Server1

0 Karma
Highlighted

Re: How can I access the logs which are available in a MySQL database on a remote server?

Splunk Employee
Splunk Employee

it would seem that the uf on S2 needs to query MySQL via a scripted or modular input & then forward the data to SL on S1

0 Karma
Highlighted

Re: How can I access the logs which are available in a MySQL database on a remote server?

Splunk Employee
Splunk Employee

This is a simple configuration where a forwarder on S2 where the db resides queries the db via a scripted input & forwards the data to the indexer on S1

0 Karma