Developing for Splunk Enterprise

Accessing HEC with Java getting error Failed to connect to

New Member

Using Java Class HttpEventCollectorLoggingHandler, with properties file, implementing the HttpEventCollectorErrorHandler.

The Reply; Error Code and Error text from HttpEventCollectorErrorHandler is:

Reply: Failed to connect to
ErrorCode: -1
ErrorText: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 9 path $
Failed write of Log Event: Failed to connect to

Any assistance would be appreciated, Thanks Steve.

Labels (1)
Tags (1)
0 Karma