Getting Data In

Can we use DB connect to send Azure Database Logs to Splunk?

umesh
Path Finder

Hi Team,

 

I wanted to check my SQL database server is hosted on azure. Is there a way to onboard logs to splunk.

Can we use DB connect app for Servers hosted on azure. Will it work.

 

Please let me know if there is any other alternative solution for this .

Tags (3)
0 Karma
1 Solution

VatsalJagani
SplunkTrust
SplunkTrust

@umesh - Adding to @gcusello 's 1st point on the collect via DB Connect, you have two options:

  • Install Splunk HF and DB Connect App locally on Azure VM
    • You don't have to expose the database outside of Azure
    • You will have the overhead of Splunk locally on Azure VM
    • Enable Splunk to Splunk SSL connectivity on data port (generally 9997) to ensure security
  • Install Splunk HF on a separate machine on-prem or Azure and install DB Connect App there
    • You have to expose the database port for external connection
    • You don't have to install anything on the database server
    • Enable DB Connect to database connection only on SSL to ensure security

 

Both have tradeoffs, and can be used based on your environment's requirement.

 

I hope this helps!!!

View solution in original post

umesh
Path Finder

@gcusello  can you please help on the above requirement

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @umesh ,

you have two solutions:

  • use DB-Connect App to run SQL queries,
  • schedule a store procedure that saves results in a file and use a Universal Forwarder to read these files and send them to Splunk.

Ciao.

Giuseppe

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@umesh - Adding to @gcusello 's 1st point on the collect via DB Connect, you have two options:

  • Install Splunk HF and DB Connect App locally on Azure VM
    • You don't have to expose the database outside of Azure
    • You will have the overhead of Splunk locally on Azure VM
    • Enable Splunk to Splunk SSL connectivity on data port (generally 9997) to ensure security
  • Install Splunk HF on a separate machine on-prem or Azure and install DB Connect App there
    • You have to expose the database port for external connection
    • You don't have to install anything on the database server
    • Enable DB Connect to database connection only on SSL to ensure security

 

Both have tradeoffs, and can be used based on your environment's requirement.

 

I hope this helps!!!

Get Updates on the Splunk Community!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...