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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...