I have some data in MySQL , and I have DB Content in Splunk.
Now I want import MySQL data into Splunk assets , but I just find how import data from csv files .
I knew this documentation : Collect and extract asset and identity data in Splunk Enterprise Security - Splunk Documentation , but I don't know how "Use Splunk DB Connect" for import data .
And , this page is null (v7.0.1) : Define identity formats - Splunk Documentation
PS: Sorry for my bad English.
@KleeJean - I don't know if there is any better way to do this, but here is what will work for sure.
| dbxquery query="<write-your-query-here>" connection="<dbx-connection>"
| outputlookup my_sql_data.csv
I hope this helps!!!
Splunk DB Connect is an app that can read data from a SQL database. Download it from splunkbase and install it on a search head or heavy forwarder. Documentation for DB Connect is at https://docs.splunk.com/Documentation/DBX