Splunk Dev

Is there documentation on how to connect to Splunk Cloud using the Splunk Java SDK?

victorregpalajr
New Member

I'm trying to design a solution which involves Splunk on-prem, Splunk cloud, and Java. But in my research, I am unable to find documentation that tells me that the Splunk JDK is can be used for Splunk cloud. I've seen answers in the forum that indicate that this is possible by having Splunk Cloud open the management port. It would be great if someone could direct me to some documentation. Thanks!

0 Karma
1 Solution

esix_splunk
Splunk Employee
Splunk Employee

You can use the same method to connect to Splunk Cloud as you would with an on premises version. You just need to use the global dns name for your stack. And depending on whether you're using a self serviced stack, or fully managed stack, you need to open a support ticket and have them open the management port for external connectivity. ( If your stack is a https://prd*.cloud.splunk.com stack, you need to open a support ticket. )

View solution in original post

esix_splunk
Splunk Employee
Splunk Employee

You can use the same method to connect to Splunk Cloud as you would with an on premises version. You just need to use the global dns name for your stack. And depending on whether you're using a self serviced stack, or fully managed stack, you need to open a support ticket and have them open the management port for external connectivity. ( If your stack is a https://prd*.cloud.splunk.com stack, you need to open a support ticket. )

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...