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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...