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
Champion

@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
Champion

@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
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...