Activity Feed
- Got Karma for Re: How do we connect to a splunk server sitting behind an elastic load balancer in aws ?. 06-05-2020 12:47 AM
- Posted Re: How do we connect to a splunk server sitting behind an elastic load balancer in aws ? on All Apps and Add-ons. 12-22-2014 10:17 PM
- Posted Re: How do we connect to a splunk server sitting behind an elastic load balancer in aws ? on All Apps and Add-ons. 12-22-2014 09:58 PM
- Posted Re: How do we connect to a splunk server sitting behind an elastic load balancer in aws ? on All Apps and Add-ons. 12-22-2014 09:56 PM
- Posted Re: How do we connect to a splunk server sitting behind an elastic load balancer in aws ? on All Apps and Add-ons. 12-22-2014 09:24 PM
- Posted How do we connect to a splunk server sitting behind an elastic load balancer in aws ? on All Apps and Add-ons. 12-22-2014 04:15 AM
- Tagged How do we connect to a splunk server sitting behind an elastic load balancer in aws ? on All Apps and Add-ons. 12-22-2014 04:15 AM
- Tagged How do we connect to a splunk server sitting behind an elastic load balancer in aws ? on All Apps and Add-ons. 12-22-2014 04:15 AM
- Tagged How do we connect to a splunk server sitting behind an elastic load balancer in aws ? on All Apps and Add-ons. 12-22-2014 04:15 AM
- Tagged How do we connect to a splunk server sitting behind an elastic load balancer in aws ? on All Apps and Add-ons. 12-22-2014 04:15 AM
- Tagged How do we connect to a splunk server sitting behind an elastic load balancer in aws ? on All Apps and Add-ons. 12-22-2014 04:15 AM
Topics I've Started
Subject | Karma | Author | Latest Post |
---|---|---|---|
0 |
12-22-2014
10:17 PM
1 Karma
Finally i found out a way to connect
Steps 1) Open ports 8089 from your organisation
2) Open ports 8089 at both elb and instance level
3) Configure splunk as allowRemoteLogin = always in server.conf
4) Add enableSplunkdSSL = false in server.conf
... View more
12-22-2014
09:58 PM
Also if i use loginArgs.setScheme("https")
i get this
Exception in thread "main" java.lang.RuntimeException: Received fatal alert: handshake_failure
at com.splunk.HttpService.send(HttpService.java:345)
at com.splunk.Service.send(Service.java:1268)
at com.splunk.HttpService.post(HttpService.java:243)
at com.splunk.Service.login(Service.java:1099)
at com.splunk.Service.login(Service.java:1079)
at splunk.SplunkMain.main(SplunkMain.java:47)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1091)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
at com.splunk.HttpService.send(HttpService.java:338)
... 5 more
... View more
12-22-2014
09:56 PM
Hi All
I had checked my open ports and it seemed that 8089 was not open
However i was running into other issues
for eg.
if i use loginArgs.setScheme( "http" ); for the same 8089 port i get the following
Exception in thread "main" java.lang.RuntimeException: Unexpected end of file from server
at com.splunk.HttpService.send(HttpService.java:365)
at com.splunk.Service.send(Service.java:1268)
at com.splunk.HttpService.post(HttpService.java:243)
at com.splunk.Service.login(Service.java:1099)
at com.splunk.Service.login(Service.java:1079)
at splunk.SplunkMain.main(SplunkMain.java:47)
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:772)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at com.splunk.HttpService.send(HttpService.java:362)
... View more
12-22-2014
09:24 PM
Hi Matthieu
I tried to do telnet through my machine
i got this
telnet: Unable to connect to remote host: Connection timed out
is there any specific configuration i need to do on aws side as i have a public ip and also i have a 8089 port forwarding.
... View more
12-22-2014
04:15 AM
Hi All
I am trying to connect to a local instance of Splunk using the following code in java splunk sdk
loginArgs.setUsername( "qa" );
loginArgs.setPassword( "myTest" );
loginArgs.setHost( "myhost" );
loginArgs.setPort( 8089 );
Service service = new Service( loginArgs );
service.login();
This works fine
But the moment i try to connect to an aws instance sitting behind an elb we get connection time outs
Any particular conf settings that we need to ensure ?
Any help is appreciated
... View more