All Apps and Add-ons

SPLUNK DB connect to database where table name is variable

Amirahussein
Path Finder

Dear SPLUNK users,

i have a question regarding SPLUNK DB Connect, as i want to access database (MySQL) where the table name is varied daily according to the timestamp.

So there a way to access these table through SPLUNK DB connect?

please advise

0 Karma

Azeemering
Builder

Did you try something like SELECT [table1].[column], [table1].[another-column], [table2].[column] FROM [table1], [table2]; in the input editor?
I’m having a bit of a hard time understanding what you mean with ‘variable table name based in timestamp’?

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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