Splunk Search

DB Connect not resolving MySQL Table column names

sanujss
Explorer

I have connected to a MySQL Table which has 10 columns using DB Connect. It gets the data in search. But in the search, it doesn't show as columns in "Table" view.I can see all the fields as comma separated in Raw and List format. What to do for this ?

0 Karma
1 Solution

sanujss
Explorer

Finally got it fixed . I used Key Value as the source type than CSV. Now it is perfectly resolving the columns without any additional configuration changes 🙂

View solution in original post

0 Karma

sanujss
Explorer

Finally got it fixed . I used Key Value as the source type than CSV. Now it is perfectly resolving the columns without any additional configuration changes 🙂

0 Karma

sanujss
Explorer

Also, When I do DB Queries, it is properly showing as columns. But I don't want to run queries every time and it could affect the DB performance as it tries to run complex queries

0 Karma

sanujss
Explorer

It is showing data. But all the columns are clubbed together and showing in one column. If I load a CSV file, and view in table mode, it resolves the column names and shows like a neat table. But that is not happening when I connect the DB directly

0 Karma

araitz
Splunk Employee
Splunk Employee

I'm not sure I quite understand. Do you mean that when you look at the results in the search view "table" mode, nothing shows up? If so, can you try adding " | table *" to the end of your search?

0 Karma

treywebb
Explorer

Add the fields as selected fields and they should then show up in the table view.

0 Karma

sanujss
Explorer

the fields are not showing up for selection. that is the issue

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Updates (ESCU) - New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 3 releases of new content via the Enterprise ...

Thought Leaders are Validating Your Hard Work and Training Rigor

As a Splunk enthusiast and member of the Splunk Community, you are one of thousands who recognize the value of ...

.conf23 Registration is Now Open!

Time to toss the .conf-etti 🎉 —  .conf23 registration is open!   Join us in Las Vegas July 17-20 for ...