Getting Data In

Connect Splunk to SAP Hana Database

hv64
Explorer

Hi,

We want to connect Splunk to SAP Hana Database.

Have you some idea ?

Do we use ngdbc.jar and 
Put that driver in: $SPLUNK_HOME/etc/apps/splunk_app_db_connect/drivers

Regards.

Labels (1)
0 Karma
1 Solution

kiran_panchavat
SplunkTrust
SplunkTrust

@hv64 

Please review this older solution for reference

https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-connection-to-Hana/m-p/311647 

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!

View solution in original post

0 Karma

hv64
Explorer

hi @livehybrid ,

thks for reply.

I wil try this.

 

Regards

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @hv64 

Yes, you can connect Splunk to SAP HANA using Splunk DB Connect by placing the SAP HANA JDBC driver (ngdbc.jar) in $SPLUNK_HOME/etc/apps/splunk_app_db_connect/drivers.

  • Download the SAP HANA JDBC driver (ngdbc.jar) from SAP.
  • Copy ngdbc.jar to $SPLUNK_HOME/etc/apps/splunk_app_db_connect/drivers.
  • Restart Splunk
  • In Splunk DB Connect, create a new database connection: - I believe you need to select on of the "Generic JDBC"  database types from the list as HANA isnt specifically listed.
  • Edit the JDBC URL to:
    jdbc:sap://<host>:<port> -
  • Choose the ngdbc.jar as the driver.

Make sure the driver version matches your SAP HANA server version.

There are some other community posts that might also help, but be warned that some of these are 10 years old!

https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-connection-to-Hana/m-p/311647

https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-integrate-Splunk-with-SAP-HANA/m-p/15799...

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

 

Relevant documentation: - Splunk DB Connect: Install database drivers - Splunk DB Connect: Set up database connections

0 Karma

kiran_panchavat
SplunkTrust
SplunkTrust

@hv64 

Please review this older solution for reference

https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-connection-to-Hana/m-p/311647 

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...