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!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...