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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...