Getting Data In

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

Monica7
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

jterry
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

Monica7
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

jterry
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

jterry
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
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...