i am trying to connect to splunk cloud paid version with java sdk.
I am giving
oginArgs.setUsername( "admin" );
loginArgs.setPassword( "changeme1" );
loginArgs.setHost( "cloudurl" );
loginArgs.setPort( 8089 );
but I am getting timeout exception can any one help
You need to open a support ticket to have Cloud Support enable API access to your instance.
For more information, see here: https://docs.splunk.com/Documentation/SplunkCloud/6.6.3/RESTTUT/RESTandCloud