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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...