Monitoring Splunk

Splunk SDK via proxy

MaheshPalemkota
New Member

Hello..
We have trouble connecting to Splunk using splunk sdk for java. Our network should go through proxy. and it is giving me below error

Caused by: java.lang.NoSuchMethodError: com.splunk.SSLSecurityProtocol.(Ljava/lang/String;ILcom/splunk/SSLSecurityProtocol;)V
at com.splunk.SSLSecurityProtocol$2.(SSLSecurityProtocol.java:7)
at com.splunk.SSLSecurityProtocol.(SSLSecurityProtocol.java:7)
at com.t.pmr.di.rest.config.SplunkRestConfiguration.splunkServerConnecter(SplunkRestConfiguration.java:21)
at com.t.pmr.di.rest.config.SplunkRestConfiguration$$EnhancerBySpringCGLIB$$609fdf55.CGLIB$splunkServerConnecter$0()
at com.t.pmr.di.rest.config.SplunkRestConfiguration$$EnhancerBySpringCGLIB$$609fdf55$$FastClassBySpringCGLIB$$eb15fde.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:361)
at com.t.pmr.di.rest.config.SplunkRestConfiguration$$EnhancerBySpringCGLIB$$609fdf55.splunkServerConnecter()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Tags (1)
0 Karma

dkeck
Influencer

Hi,

did you see this post? I think they are close to your problem.

https://answers.splunk.com/answers/67327/splunk-java-sdk-connection-to-splunk-failed.html

0 Karma

dkeck
Influencer

Did this do anything for you :)?

if it helped please accept the question 🙂

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

New This Month - Observability Updates Give Extended Visibility and Improve User ...

This month is a collection of special news! From Magic Quadrant updates to AppDynamics integrations to ...

Intro to Splunk Synthetic Monitoring

In our last post, we mentioned that the 3 key pieces of observability – metrics, logs, and traces – provide ...