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!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...