Splunk Search

When SQL set data is sent to Splunk via sql scripts, do you use sql syntax or do you utilize Splunk query linguistics?

reneedeleon
Engager

This is just a question for my learning.  When SQL set data is sent to Splunk via sql scripts, do you use sql syntax or do you utilize Splunk query linguistics? and can you format your rows and columns in the same manner? I'm crowd sourcing to better build my report. 

Labels (1)
0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @reneedeleon .. You can use the DBConnect app to ingest data from a SQL to Splunk.. it will use a SQL to select the data as per your requirements.. and then once data got ingested to Splunk, you can use the Splunk SPL for report creation.. Please check the documentation:

https://docs.splunk.com/Documentation/DBX/3.9.0/DeployDBX/HowSplunkDBConnectworks

 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !

reneedeleon
Engager

Awesome @inventsekar I will give this a try. I was definitely concerned as I have only dealt with data in Splunk as it is ingested in a CEF format. Utilizing SQL scripts for data ingestion is a new format for me. Thank you.

0 Karma
Get Updates on the Splunk Community!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...